public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/12663] New: cc1 crashes when no source file given
@ 2003-10-17 18:52 segher at kernel dot crashing dot org
  2003-10-17 18:55 ` [Bug c/12663] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: segher at kernel dot crashing dot org @ 2003-10-17 18:52 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12663

           Summary: cc1 crashes when no source file given
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: segher at kernel dot crashing dot org
                CC: gcc-bugs at gcc dot gnu dot org,segher at kernel dot
                    crashing dot org
 GCC build triplet: i686-unknown-linux-gnu
  GCC host triplet: i686-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu

$ ./cc1
cc1: internal compiler error: Segmentation fault
...


It crashes in the following code in toplev.c:

1406    void
1407    output_file_directive (FILE *asm_file, const char *input_name)
1408    {
1409      int len = strlen (input_name);

(input_name == 0.  Whoops).


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c/12663] cc1 crashes when no source file given
  2003-10-17 18:52 [Bug c/12663] New: cc1 crashes when no source file given segher at kernel dot crashing dot org
@ 2003-10-17 18:55 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-17 18:55 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12663


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-17 18:55 -------
This is a dup of bug 11581 which was originally for gnat1 but every frontend has this problem.

*** This bug has been marked as a duplicate of 11581 ***


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-17 18:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-17 18:52 [Bug c/12663] New: cc1 crashes when no source file given segher at kernel dot crashing dot org
2003-10-17 18:55 ` [Bug c/12663] " pinskia at gcc dot gnu 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).