------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-18 14:06 ------- Confirmed, the regression showed up on 2004-09-23 (between 01:40:01 and 16:10:02 EST/EDT). Since this effects only the C++ front-end, the patch which looks the most likely is: 2004-09-23 Zack Weinberg <[EMAIL PROTECTED]>
* decl.c (grokfndecl): If ::main is found not to return int, correct it after issuing a diagnostic. (grokdeclarator): If the incoming type was error_mark_node, do not complain about declaring something with no type. (start_function): Change check for ::main not returning int to an assertion, as grokfndecl now catches this when the user did it. * init.c (perform_member_init, sort_mem_initializers) (emit_mem_initializers): Make most diagnostics be issued on the line of current_function_decl, not whatever the current input line is. ..... -- What |Removed |Added ---------------------------------------------------------------------------- CC| |zack at gcc dot gnu dot org Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |wrong-code Known to fail| |4.0.0 Known to work| |3.4.0 Last reconfirmed|0000-00-00 00:00:00 |2004-10-18 14:06:18 date| | Summary|Wrong precedence between |[4.0 Regression] Wrong |equality (==, !=) and < |precedence between equality |operators |(==, !=) and < operators Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18047