This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/38387] psim miscompiled [regression]
- From: "joel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Dec 2008 20:11:36 -0000
- Subject: [Bug c/38387] psim miscompiled [regression]
- References: <bug-38387-296@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from joel at gcc dot gnu dot org 2008-12-09 20:11 -------
I wondered if I had a mistake in my testing since some of the later results
didn't make sense as I thought about them. I am pretty convinced now this
is NOT a strict aliasing problem in psim.
Broken when configuring GDB with:
(CFLAGS="-Wstrict-aliasing=2 -O2 -Wno-error -fno-strict-aliasing"
~/old/test-gcc/gdb-6.8/configure --disable-werror --target=powerpc-rtems4.10
--enable-sim --enable-sim-hardware --enable-timebase --enable-sim-trace
--prefix=/n/12/joel/test-gcc/install/
$ gcc --version
gcc (GCC) 4.4.0 20081205 (experimental) [trunk revision 142492]
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38387