This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/64213] gimple-match.c:1523:6: error: âGIMPLEâ was not declared in this scope


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]