public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/21864] New: ICE on invalid command line
@ 2005-06-01 17:50 cheinan at atg dot com
2005-06-01 19:00 ` [Bug c++/21864] " bangerth at dealii dot org
0 siblings, 1 reply; 2+ messages in thread
From: cheinan at atg dot com @ 2005-06-01 17:50 UTC (permalink / raw)
To: gcc-bugs
Having a directory name, a -c and -o on the command line causes an ICE and a seg
fault. The actual code does not seem to matter. Reproduction instructions and
actual output follow:
cheinan/test> cat null.cpp
int main()
{
return 0;
}
cheinan/test> g++ /home/cheinan/test -c null.cpp -o MakeMeICE.o
g++: /home/cheinan/test: linker input file unused because linking not done
cc1plus: /home/cheinan/test: 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.
cheinan/test> gcc -v
Reading specs from /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/specs
Configured with: ../gcc-3.4.3/configure --prefix=/usr/local
--enable-threads=posix --enable-languages=c,c++ --disable-nls
--enable-__cxa_atexit --enable-shared --program-suffix=3.4.3
Thread model: posix
gcc version 3.4.3
cheinan/test>
Workaround: Fix make file so invalid compiler command lines are not produced.
--
Summary: ICE on invalid command line
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cheinan at atg dot com
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=21864
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/21864] ICE on invalid command line
2005-06-01 17:50 [Bug c++/21864] New: ICE on invalid command line cheinan at atg dot com
@ 2005-06-01 19:00 ` bangerth at dealii dot org
0 siblings, 0 replies; 2+ messages in thread
From: bangerth at dealii dot org @ 2005-06-01 19:00 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2005-06-01 19:00 -------
This is a dup of PR 15259, which is already fixed in 4.0.
*** This bug has been marked as a duplicate of 15259 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21864
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-06-01 19:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-01 17:50 [Bug c++/21864] New: ICE on invalid command line cheinan at atg dot com
2005-06-01 19:00 ` [Bug c++/21864] " bangerth at dealii dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).