c++/5664: Internal error #378 compiling (incorrect) dhrystone program
rodrigc@gcc.gnu.org
rodrigc@gcc.gnu.org
Sun Feb 17 18:28:00 GMT 2002
Synopsis: Internal error #378 compiling (incorrect) dhrystone program
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Feb 17 18:11:49 2002
State-Changed-Why:
The version of Red Hat gcc 2.96 that you are using
is known to have many bugs. Look at http://bugzilla.redhat.com/bugzilla
and obtain the necessary updates from Red Hat.
The FSF version of gcc, version 3.0.3, does not
crash. Instead the following errors occur:
In file included from d.cc:463:
dhry.h:385: conflicting types for `Ident_1'
d.cc:386: previous declaration as `Enumeration Ident_1'
dhry.h:385: conflicting types for `Ident_2'
d.cc:386: previous declaration as `Enumeration Ident_2'
dhry.h:385: conflicting types for `Ident_3'
d.cc:386: previous declaration as `Enumeration Ident_3'
dhry.h:385: conflicting types for `Ident_4'
d.cc:386: previous declaration as `Enumeration Ident_4'
dhry.h:385: conflicting types for `Ident_5'
d.cc:386: previous declaration as `Enumeration Ident_5'
dhry.h:386: conflicting types for `typedef enum Enumeration Enumeration'
d.cc:387: previous declaration as `typedef enum Enumeration Enumeration'
dhry.h:409: redefinition of `struct record'
d.cc:410: previous definition of `struct record'
dhry.h:439: new declaration `Enumeration Func_1(char, char)'
d.cc:440: ambiguates old declaration `Enumeration Func_1(char, char)'
d.cc:442:15: warning: expected to return to line number 464
d.cc:239:15: warning: expected to return to line number 465
d.cc:363:15: warning: expected to return to line number 499
In file included from d.cc:847:
dhry.h:385: redefinition of `Ident_1'
dhry.h:385: `Ident_1' previously defined here
dhry.h:385: redefinition of `Ident_2'
dhry.h:385: `Ident_2' previously defined here
dhry.h:385: redefinition of `Ident_3'
dhry.h:385: `Ident_3' previously defined here
dhry.h:385: redefinition of `Ident_4'
dhry.h:385: `Ident_4' previously defined here
dhry.h:385: redefinition of `Ident_5'
dhry.h:385: `Ident_5' previously defined here
dhry.h:386: conflicting types for `typedef enum Enumeration Enumeration'
dhry.h:386: previous declaration as `typedef enum Enumeration Enumeration'
dhry.h:409: redefinition of `struct record'
dhry.h:409: previous definition of `struct record'
dhry.h:439: new declaration `Enumeration Func_1(char, char)'
dhry.h:439: ambiguates old declaration `Enumeration Func_1(char, char)'
d.cc:442:15: warning: expected to return to line number 848n'
dhry.h:386: previous declaration as `typedef enum Enumeration Enumeration'
dhry.h:409: redefinition of `struct record'
dhry.h:409: previous definition of `struct record'
dhry.h:439: new declaration `Enumeration Func_1(char, char)'
dhry.h:439: ambiguates old declaration `Enumeration Func_1(char, char)'
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5664
More information about the Gcc-bugs
mailing list