http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48912

--- Comment #2 from sscrisk at gmail dot com 2011-05-06 10:58:39 UTC ---
(In reply to comment #1)

Thanks to replies.

> As a matter of fact, with the released 4.6.0 I'm getting an ICE, not a silent
> miscompilation for the second snippet. In mainline and in the 4_6-branch it's
> already correctly rejected with something like:

I use released 4.6.0.
Add a infomation. My emvironment is as follows:

$ g++4.6 -v
Built by Equation Solution <http://www.Equation.com>.
Using built-in specs.
COLLECT_GCC=C:\cygwin\home\RiSK\gcc4.6\bin\g++.exe
COLLECT_LTO_WRAPPER=c:/cygwin/home/risk/gcc4.6/bin/../libexec/gcc/i686-pc-mingw32/4.6.0/lto-wrapper.exe
Target: i686-pc-mingw32
Configured with: ../gcc-4.6.0-mingw/configure --host=i686-pc-mingw32
--build=x86_64-unknown-linux-gnu --target=i686-p
c-mingw32
--prefix=/home/gfortran/gcc-home/binary/mingw32/native/x86_32/gcc/4.6.0
--with-gcc --with-gnu-as --with-gnu
-ld --with-host-libstdcxx='-lstdc++ -lsupc++ -lm'
--with-ppl=/home/gfortran/gcc-home/binary/mingw32/native/x86_32/ppl
 --with-cloog=/home/gfortran/gcc-home/binary/mingw32/native/x86_32/cloog
--with-gmp=/home/gfortran/gcc-home/binary/mi
ngw32/native/x86_32/gmp
--with-mpfr=/home/gfortran/gcc-home/binary/mingw32/native/x86_32/mpfr
--with-mpc=/home/gfortr
an/gcc-home/binary/mingw32/native/x86_32/mpc
--with-sysroot=/home/gfortran/gcc-home/binary/mingw32/cross/x86_32/gcc/4
.6.0 --disable-shared --disable-nls --disable-tls --disable-win32-registry
--enable-languages=c,c++,fortran --enable-
libgomp --enable-threads=win32 --enable-lto --enable-static
--enable-shared=lto-plugin --enable-plugins --enable-ld=y
es --enable-cloog-backend=ppl
Thread model: win32
gcc version 4.6.0 (GCC)

Thank you!

Reply via email to