http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59920
Bug ID: 59920 Summary: [4.9 Regression] build doesn't terminate (at least after an hour) Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Created attachment 31933 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31933&action=edit preprocessed source seen with trunk 20140122, -O0 and -O2, works with the 4.8 branch. needs a second to build with 4.8, buildd timeout after an hour. $ gcc-4.8 -g -O2 -c parser.c parser.c: In function 'VLparse': parser.c:14129:9: warning: passing argument 1 of 'VLerror' discards 'const' qualifier from pointer target type [enabled by default] yyerror (yymsgp); ^ In file included from ./parser.y:42:0: parser_misc.h:54:13: note: expected 'char *' but argument is of type 'const char *' extern void VLerror( char* msg ); ^ $ gcc -g -O0 -c parser.c parser.c: In function 'VLparse': parser.c:14129:9: warning: passing argument 1 of 'VLerror' discards 'const' qualifier from pointer target type [enabled by default] yyerror (yymsgp); ^ In file included from ./parser.y:42:0: parser_misc.h:54:13: note: expected 'char *' but argument is of type 'const char *' extern void VLerror( char* msg ); ^ [hangs]