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: tree-ssa-cvs corrupt


On Sat, 04 Jan 2003, Zack Weinberg wrote:

> Phil Edwards <phil@jaj.com> writes:
> 
> > Might I suggest a self-documenting way of causing an immediate syntax error?
> >
> >     CRASH NOW, there are memeory problems blah blah blah
> >     /* This testcase exposed two branch shortening bugs on powerpc.  */
> 
> A distant voice on the wind whispers "#error ..."
> 
The wind replies "we still try to compile the file anyway ..."

I remember trying #error before.  It's odd, because the very
first thing we do in optimize_function_tree() is

  /* Don't bother doing anything if the program has errors.  */
  if (errorcount || sorrycount)
    return;


Is there any other error flag we could check?


Thanks.  Diego.


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