This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c/8083: GCC 3.2 Optimization bug
- From: bkorb at pacbell dot net
- To: gcc-gnats at gcc dot gnu dot org
- Date: Sat, 28 Sep 2002 15:00:32 -0700
- Subject: c/8083: GCC 3.2 Optimization bug
- Reply-to: bkorb at gnu dot org
>Number: 8083
>Category: c
>Synopsis: GCC 3.2 Optimization bug
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Sat Sep 28 14:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Bruce Korb
>Release: 3.2 2002-07-26 (prerelease)
>Organization:
GNU
>Environment:
System: Linux bach 2.4.18-4GB #1 Wed Mar 27 13:57:05 UTC 2002 i686 unknown
Architecture: i686
Stock SuSE 8.0 + cvs gcc-3_1-branch, configured as below.
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../configure --enable-language=c --prefix=/home/gcc
>Description:
When compiled with -O2, autogen produces invalid results.
When compiled without a -O, the results are correct.
Therefore, the program behavior is different. I do not believe
I am using improperly aliased pointers.
>How-To-Repeat:
Download autogen-5.4.3, fix some #define redefinition issues that were not
bugs before gcc3.x and do a "make distcheck". (CVS version has this fixed.)
I will add to this as I narrow the issue.
>Fix:
None known, other than eliminating optimization.
>Release-Note:
>Audit-Trail:
>Unformatted: