c++/9706: Internal error: segmentation fault

Gabriel Huecas Fernandez-Toribio gabriel@dit.upm.es
Mon Feb 17 15:01:00 GMT 2003



It is not a bug, indeed. The code is not C++,
but I expected a "syntax error" or "semantic error",
but not a "internal error: segmentation fault".

The compiler should not crash, in my opinion.

Well, g++ asked to submit a report and I did.

gabriel

On 16 Feb 2003 lerdsuwa@gcc.gnu.org wrote:

> Synopsis: Internal error: segmentation fault
> 
> State-Changed-From-To: analyzed->closed
> State-Changed-By: lerdsuwa
> State-Changed-When: Sun Feb 16 18:04:26 2003
> State-Changed-Why:
>     Not a bug according to 3.3.7 p2.  The declaration 'int XXX;' hides 'class XXX'.  The class 'XXX' can be accessed using elaborated type specifier.
> 
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9706
> 

-- 
_________________________________________________________________
Gabriel Huecas                              <ghuecas@dit.upm.es>
Associate Professor                  tel: +34 91 549 57 00 x. 375
DIT (Dpto. Ing. Sistemas Telemáticos)     +34 91 549 57 62 x. 375
E.T.S.I. Telecomunicación            fax: +34 91 336 73 33 
Universidad Politécnica de Madrid
Ciudad Universitaria s/n
E-28040 Madrid, Spain
"A good plan today is better than a perfect plan tomorrow"
_________________________________________________________________
CHANGED: phone extension, Jan 3, 2003.



More information about the Gcc-bugs mailing list