This is the mail archive of the gcc@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]

Re: cc1 of nonexistent file still segfaults


Daniel Berlin wrote:

Daniel-Berlins-Computer:~/gcc/build/gcc dberlin$ ./cc1 -O1 nonexistent.c
cc1: nonexistent.c: No such file or directory
cc1: internal compiler error: Bus error

I'm vacationing at my parents, so it's awkeard to develop a fix. It look like we should either test no_backend more toplev.c or make sure to set errorcount when we fail to open the file. -- --Per Bothner per@bothner.com http://per.bothner.com/


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