This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: cc1 of nonexistent file still segfaults
- From: Per Bothner <per at bothner dot com>
- To: Daniel Berlin <dberlin at dberlin dot org>
- Cc: gcc mailing list <gcc at gcc dot gnu dot org>
- Date: Fri, 02 Apr 2004 01:46:38 -0800
- Subject: Re: cc1 of nonexistent file still segfaults
- References: <94206658-836E-11D8-8BF3-000A95DA505C@dberlin.org>
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/