This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/20364] New: Segfault with -Xpreprocessor argument


Segmentation Fault while trying to compile a file with the -Xpreprocessor argument :

If the file specified after -Xpreprocessor , does not exist, then gcc crash.

How to reproduce the bug :

$ gcc filename.c -Xpreprocessor file_which_does_not_exist

--filename.c must exist.

Here is what it gives :

$ gcc fpexe.c -Xpreprocessor a
cc1: ss : No such file or directory
cc1: erreur interne du compilateur: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: Segfault with -Xpreprocessor argument
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: neothglf dot neothglf at laposte dot net
                CC: gcc-bugs at gcc dot gnu dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]