[Bug c++/15259] segv
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Wed May 12 07:28:00 GMT 2004
------- Additional Comments From bangerth at dealii dot org 2004-05-11 14:48 -------
OK, I can finally reproduce this:
g/x> rm x.cc
g/x> touch x.cc
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ /usr/include -o x.o -c x.cc
c++: /usr/include: linker input file unused because linking not done
cc1plus: /usr/include: No such file or directory
cc1plus: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
The trick is to ask the compiler to both compile /usr/include (a directory)
and x.cc (a file), and at the same time to give an output file via -o.
However, this is already fixed on mainline:
g/x> rm x.cc
g/x> touch x.cc
g/x> /home/bangerth/bin/gcc-3.5-pre/bin/c++ /usr/include -o x.o -c x.cc
c++: /usr/include: linker input file unused because linking not done
Strictly speaking, this bug is a regression in 3.4 against 3.3.4, which
doesn't ICE on this input. However, given the bogosity of the input
and that it is already fixed on mainline, I predict that nobody will feel
a real great urge to fix it on 3.4.x as well, so I'll just close the PR.
Thanks anyway!
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15259
More information about the Gcc-bugs
mailing list