This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/64213] gimple-match.c:1523:6: error: âGIMPLEâ was not declared in this scope
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 08 Dec 2014 13:30:42 +0000
- Subject: [Bug bootstrap/64213] gimple-match.c:1523:6: error: âGIMPLEâ was not declared in this scope
- Auto-submitted: auto-generated
- References: <bug-64213-4 at http dot gcc dot gnu dot org/bugzilla/>
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?