This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/13195] New: [3.3.2 IA32] -frename-registers generates a code which occurs segmentation fault.
- From: "suguru at sak dot iis dot u-tokyo dot ac dot jp" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Nov 2003 02:38:37 -0000
- Subject: [Bug c/13195] New: [3.3.2 IA32] -frename-registers generates a code which occurs segmentation fault.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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