This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to prevent runaway error messages with -pipe.
- To: nickc at cygnus dot co dot uk
- Subject: Re: Patch to prevent runaway error messages with -pipe.
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 08 Sep 1999 02:26:36 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <199909071722.SAA21312@pathia.cygnus.co.uk>you write:
> Hi Guys,
>
> What do you think of the following patch ? It forces cpp to fail if
> it detects too much recusion when its output is connected to a pipe.
> Without this patch the following source code:
>
> #include "this_file.c"
> int main (void) { return 0; }
>
> will produce a humoungous amount of error messages when compiled
> with:
Why not make this always a fatal error?
It's kind of silly to have pipe and normal compiles behave differently.
jeff