[Bug target/108493] Interaction with builtin_defines (on PowerPC) and -traditional-cpp

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 23 12:14:56 GMT 2023


Iain Sandoe <iains at gcc dot gnu.org> changed:

           What    |Removed                     |Added
     Ever confirmed|0                           |1
             Target|                            |powerpc-darwin,
                   |                            |powerpc64-linux-gnu
          Component|modula2                     |target
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2023-01-23
           Assignee|gaius at gcc dot gnu.org           |unassigned at gcc dot gnu.org
            Summary|Interaction with implicit   |Interaction with
                   |includes and                |builtin_defines (on
                   |-traditional-cpp            |PowerPC) and
                   |                            |-traditional-cpp

--- Comment #2 from Iain Sandoe <iains at gcc dot gnu.org> ---
this repeats on linux-gnu.

There are the following defines in gcc/config/rs6000/rs6000-c.cc (conditional
on !iso) :
  builtin_define ("vector=vector");
  builtin_define ("pixel=pixel");
  builtin_define ("bool=bool");
  builtin_define ("_Bool=_Bool");

they've been there since 2008 .. so I guess no-one cares ( until the modula-2
case triggers it ).

More information about the Gcc-bugs mailing list