From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 5717 invoked from network); 19 Jun 1998 06:23:27 -0000 Received: from sd.znet.com (207.167.64.5) by mail2.redhat.com with SMTP; 19 Jun 1998 06:23:27 -0000 Received: from relhayek.znet.com (sdts1-31.znet.net [207.167.64.31]) by sd.znet.com (8.9.0/8.9.0/jjb-sd) with ESMTP id XAA15268 for ; Thu, 18 Jun 1998 23:23:12 -0700 (PDT) Message-Id: <199806190623.XAA15268@sd.znet.com> From: "relhayek" To: Subject: Segmentation faults when using -O3 optimization with egcs? Date: Thu, 18 Jun 1998 23:26:31 -0700 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1155 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I downloaded and installed the latest egcs compiler from redhat ftp site, but I am getting segmentation faults when using optimization. I tested the same code without optimization and it works fine; only when I use -Ox that the compiled program fails when running? Am I missing something? The code uses bitvectors from STL library but I doubt that is the problem! Any ideas/suggestions? Thanks