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]

Re: crashing cc1 - merry christmas :)


On Fri, Dec 21, 2001 at 10:16:44PM +0100, Cedric Roux wrote:
> I was experimenting with data structures for my little
> ctl formulas parser (yes, I know, everyone uses some lex/yacc
> facility, but well, you know...)

Actually, the C++ parser in g++ is being replaced by a non-yacc parser,
so... :-)


> Of course the program has no meaning at all, but gcc should
> not give a segmentation fault. It should say "syntax error"
> or something similar.

Absolutely correct.


> Sorry, I have not much time to investigate the source code, so I let
> you do (if there is still a problem in your current release).

You need to send us the source code before we can investigate anything.
The instructions at

    http://gcc.gnu.org/bugs.html

will explain how.


Thanks.

Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams


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