[Bug tree-optimization/24851] New: [4.1 Regression] f2c miscompilation
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Nov 14 15:26:00 GMT 2005
We miscompile yyparse of f2c to just
yyparse ()
{
...
<bb 0>:
save1 = yylval;
save2 = yyval;
save3 = yynerrs;
save4 = yyerrflag;
yynerrs = 0;
yyerrflag = 0;
yyerror (&"yacc stack overflow"[0]);
ret:;
yylval = save1;
yyval = save2;
yynerrs = save3;
yyerrflag = save4;
return 1;
}
which makes f2c pretty useless. This happens at -O1.
--
Summary: [4.1 Regression] f2c miscompilation
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: critical
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rguenth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24851
More information about the Gcc-bugs
mailing list