This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/21424] Infinite memory allocation when -O3 is used
- From: "vvv dot ivanov at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2005 18:15:32 -0000
- Subject: [Bug rtl-optimization/21424] Infinite memory allocation when -O3 is used
- References: <20050506180613.21424.vvv.ivanov@gmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From vvv dot ivanov at gmail dot com 2005-05-06 18:15 -------
The bug is reproduced with the latest csl-arm-branch too (2005-05-06). But
instead of infinite memory allocations, it crashes with segmentation fault:
[test@test tmp]$
/fsf/inst/arm-csl-arm-20050506-2.3.2/arm-unknown-linux-gnu/gcc-csl-arm-20050506-glibc-2.3.2/bin/arm-unknown-linux-gnu-gcc
-c -O3 test.c
test.c: In function `f':
test.c:14: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
Send email to arm-gnu@codesourcery.com for instructions.
gcc info:Reading specs from
/fsf/inst/arm-csl-arm-20050506-2.3.2/arm-unknown-linux-gnu/gcc-csl-arm-20050506-glibc-2.3.2/lib/gcc/arm-unknown-linux-gnu/3.4.3/specs
Configured with:
/work/distr/fsf/crosstool-0.31/build/arm-unknown-linux-gnu/gcc-csl-arm-20050506-glibc-2.3.2/gcc-csl-arm-20050506/configure
--target=arm-unknown-linux-gnu --host=i686-host_pc-linux-gnu
--prefix=/fsf/inst/arm-csl-arm-20050506-2.3.2/arm-unknown-linux-gnu/gcc-csl-arm-20050506-glibc-2.3.2
--with-local-prefix=/fsf/inst/arm-csl-arm-20050506-2.3.2/arm-unknown-linux-gnu/gcc-csl-arm-20050506-glibc-2.3.2/arm-unknown-linux-gnu
--disable-multilib --with-newlib --without-headers --disable-nls
--enable-threads=no --enable-symvers=gnu --enable-__cxa_atexit
--enable-languages=c --disable-shared
Thread model: single
gcc version 3.4.3 (release) (CodeSourcery ARM Q3cvs 2004)
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mmitchel at gcc dot gnu dot
| |org
Summary|Infinite memory allocation |Infinite memory allocation
|when -O3 is used |when -O3 is used
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21424