http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50092
Bug #: 50092 Summary: internal compiler error: in elimination_costs_in_insn, at reload1.c:3633 Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: mario.trang...@intel.com Created attachment 25018 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25018 preprocessed source Description of problem: Error declaring a big vector by value of datatype complex long double and long double. I'm using the library complex.h If I do the same with malloc there's no problem with memory allocation. Version-Release number of selected component (if applicable): Using built-in specs. COLLECT_GCC=gcc-4.6.1 COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.6.1/work/gcc-4.6.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.6.1/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.6.1 p1.0, pie-0.4.5' Thread model: posix gcc version 4.6.1 (Gentoo 4.6.1 p1.0, pie-0.4.5) How reproducible: Steps to Reproduce: 1. Compile the source file with gcc-4.6.1 -Wall test.c -o test Actual results: test.c: In function 'main': test.c:21:1: internal compiler error: in elimination_costs_in_insn, at reload1.c:3633 Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.gentoo.org/> for instructions. Expected results: With malloc: Valor: 0.671913 Valor: 0.580317 Valor: 0.235468 Valor: 0.285724 Valor: 0.198874 Valor: 0.445921 Valor: 0.102851 Valor: 0.881226 Valor: 0.080384 Valor: 0.988736 La posicion 5 tiene el valor: 3.115597e-01 With gcc4.1: Segmentation Fault (Logically this result is espected) Additional info: I'm running a Gentoo: Linux version 2.6.39-gentoo-r3 (root@gentoo) (gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5) ) #4 SMP Tue Jul 19 01:03:04 Local time zone must be set--see zic I became a similar error reported to redhat with gcc 4.4 Bug 730382