This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: other/3782: -fstats produces a segmentation fault
- From: Sylvain Pion <Sylvain dot Pion at sophia dot inria dot fr>
- To: ehrhardt at mathematik dot uni-ulm dot de, Sylvain dot Pion at sophia dot inria dot fr, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
- Date: Tue, 10 Dec 2002 12:16:31 +0100
- Subject: Re: other/3782: -fstats produces a segmentation fault
- References: <20021209192025.13667.qmail@sources.redhat.com>
On Mon, Dec 09, 2002 at 07:20:25PM -0000, ehrhardt@mathematik.uni-ulm.de wrote:
> I can't reproduce this with recent gcc on a similar machine.
> Does this still happen with your setup?
Yes it does. With current mainline, I get :
spion@mpino1212:~/GCC$ ./Linux/bin/gcc -v
Reading specs from ./Linux/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Configured with: ../gcc/configure --prefix=/home/spion/GCC/Linux
--enable-languages=c++ --with-as=/home/spion/BINUTILS/Linux-2.13/bin/as
--with-ld=/home/spion/BINUTILS/Linux-2.13/bin/ld
Thread model: posix
gcc version 3.3 20021210 (experimental)
spion@mpino1212:~/GCC$ ./Linux/bin/gcc -fstats -c foo.c
cc1: warning: "-fstats" is valid for C++ but not for C/ObjC
spion@mpino1212:~/GCC$ ./Linux/bin/g++ -fstats -c foo.C
<internal>:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
--
Sylvain