[Bug c/13195] New: [3.3.2 IA32] -frename-registers generates a code which occurs segmentation fault.
suguru at sak dot iis dot u-tokyo dot ac dot jp
gcc-bugzilla@gcc.gnu.org
Wed Nov 26 02:38:00 GMT 2003
Compile php-4.3.4 with -frename-registers and -O, sapi/cli/php occurs
segmentation fault.
-- gcc --
% gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/specs
Configured with: ./configure --enable-languages=c,c++
Thread model: posix
gcc version 3.3.2
-- process --
1. Build and install apache httpd-2.0.48
apache-httpd-2.0.48% ./configure && make && make install
2. Build php-4.3.4 with -frename-registers and -O[12] or -O3
php-4.3.4% CFLAGS='-O1 -frename-registers' export CFLAGS
php-4.3.4% ./configure --with-apxs2=/usr/local/apache2/apxs && make
3. Execute
php-4.3.4% sapi/cli/php
segmentation fault
--
Summary: [3.3.2 IA32] -frename-registers generates a code which
occurs segmentation fault.
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: suguru at sak dot iis dot u-tokyo dot ac dot jp
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13195
More information about the Gcc-bugs
mailing list