optimization/7253: Internal compiler error with -O2, ok with -O1

Jerome Zago jerome.zago@insalien.org
Sun Jul 14 23:23:00 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I can reproduce it as well. Tell me if you need more information.

$ g++ -v -save-temps -O2 -c test.ii 
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: /usr/src/gcc-3.1/configure --host=i686-pc-linux-gnu 
- --prefix=/u
sr --enable-threads=posix --enable-languages=c,c++,ada,f77,java,objc
Thread model: posix
gcc version 3.1
 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/cc1plus -fpreprocessed test.ii -quiet 
- -d
umpbase test.ii -O2 -version -o test.s
GNU CPP version 3.1 (cpplib) (i386 Linux/ELF)
GNU C++ version 3.1 (i686-pc-linux-gnu)
        compiled by GNU C version 3.1.
poisson_randomdev.h: In member function `virtual double 
   PoissonRandomDev::operator()()':
poisson_randomdev.h:14: Internal compiler error in subst_stack_regs_pat, at 
   reg-stack.c:1441
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

$ g++ -v -save-temps -O1 -c test.ii 
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: /usr/src/gcc-3.1/configure --host=i686-pc-linux-gnu 
- --prefix=/usr --enable-threads=posix 
- --enable-languages=c,c++,ada,f77,java,objc
Thread model: posix
gcc version 3.1
 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/cc1plus -fpreprocessed test.ii -quiet 
- -dumpbase test.ii -O1 -version -o test.s
GNU CPP version 3.1 (cpplib) (i386 Linux/ELF)
GNU C++ version 3.1 (i686-pc-linux-gnu)
        compiled by GNU C version 3.1.
 as -V -Qy -o test.o test.s
GNU assembler version 2.12.1 (i686-pc-linux-gnu) using BFD version 2.12.1

- -- 
PGP Public Key: http://slashdot.org/~Jerome Zago/pubkey/
Fingerprint: 8741 62F1 586D D440 C5CA  D1CA CBE5 669A 7EA5 D9F9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9MfL5y+Vmmn6l2fkRAoTKAKCfLZMCgKujDXh4aZPLjW3h65pcZwCgy2YH
qC1+X9LdquI/gpeHQR+oOoo=
=orO9
-----END PGP SIGNATURE-----



More information about the Gcc-bugs mailing list