dead code in treelang/parse.y
Rafael Ávila de Espíndola
rafael.espindola@gmail.com
Sun Sep 11 21:50:00 GMT 2005
Looking at the treelang/parse.y I have found the following (lines 202-208)
if (STORAGE_CLASS (prod) == EXTERNAL_REFERENCE_STORAGE)
{
error("%HExternal reference variable %q.*s has an initial value.",
&tok->tp.tok.location, tok->tp.tok.length, tok->tp.tok.chars);
YYERROR;
VAR_INIT (prod) = NULL;
}
The line
VAR_INIT (prod) = NULLs
is dead since YYERROR is defined as "goto yyerrorlab"
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20050911/79c128dd/attachment.sig>
More information about the Gcc
mailing list