[Bug bootstrap/64213] gimple-match.c:1523:6: error: ‘GIMPLE’ was not declared in this scope
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 8 13:30:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64213
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2014-12-08
Ever confirmed|0 |1
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Hmm, it definitely works on x86_64-linux. It is supposed to work via doing
cpp_define (r, gimple ? "GIMPLE=1": "GENERIC=1");
cpp_define (r, gimple ? "GENERIC=0": "GIMPLE=0");
in genmatch.c which should cause 'GIMPLE' to lex as '1'. And indeed on
x86_64-linux I see in gimple-match.c:
/* #line 610 "/space/rguenther/src/svn/trunk/gcc/match.pd" */
if ((1 && useless_type_conversion_p (type, TREE_TYPE (captures[0]))) || (0 &&
type == TREE_TYPE (captures[0])))
which means libcpp is miscompiled...? I notice that stage1 seems to work
for you?
More information about the Gcc-bugs
mailing list