This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27768] [4.1/4.2 regression] wrong-code with vectors
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 May 2006 11:13:01 -0000
- Subject: [Bug c++/27768] [4.1/4.2 regression] wrong-code with vectors
- References: <bug-27768-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from reichelt at gcc dot gnu dot org 2006-05-31 11:13 -------
The modified testcase from comment #8 should return 0,
but returns 255 (a.k.a -1) when compiled with -O2.
The bad news is that this also affects the 4.1 branch (4.1.0 and later).
The failure on the 4.1 branch is not reproducible with -m32
whereas mainline also crashes with -m32.
The testcase from comment #5 also crashes with 4.1.0 (without -m32),
but not with 4.1.1.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.2 regression] wrong-code |[4.1/4.2 regression] wrong-
|with vectors |code with vectors
Target Milestone|4.2.0 |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27768