https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084

--- Comment #56 from John Paul Adrian Glaubitz <glaubitz at physik dot 
fu-berlin.de> ---
Another issue:

In file included from ../.././gcc/config/powerpcspe/powerpcspe.h:1865:0,
                 from ./tm.h:25,
                 from ../.././gcc/genopinit.c:24:
../.././gcc/config/powerpcspe/powerpcspe-builtin.def:212:14: error: expected
‘}’ before ‘(’ token
 BU_P7_MISC_2 (DIVWE,  "divwe", CONST, dive_si)
              ^
../.././gcc/config/powerpcspe/powerpcspe-builtin.def:212:20: error: expected
‘)’ before ‘,’ token
 BU_P7_MISC_2 (DIVWE,  "divwe", CONST, dive_si)
                    ^
../.././gcc/config/powerpcspe/powerpcspe-builtin.def:212:23: error: expected
unqualified-id before string constant
 BU_P7_MISC_2 (DIVWE,  "divwe", CONST, dive_si)
                       ^~~~~~~
In file included from ./tm.h:25:0,
                 from ../.././gcc/genopinit.c:24:
../.././gcc/config/powerpcspe/powerpcspe.h:1868:1: error: expected declaration
before ‘}’ token
 };
 ^
In file included from ../.././gcc/config/powerpcspe/powerpcspe.h:1865:0,
                 from ./tm.h:25,
                 from ../.././gcc/genattrtab.c:108:
../.././gcc/config/powerpcspe/powerpcspe-builtin.def:212:14: error: expected
‘}’ before ‘(’ token
 BU_P7_MISC_2 (DIVWE,  "divwe", CONST, dive_si)
              ^
../.././gcc/config/powerpcspe/powerpcspe-builtin.def:212:20: error: expected
‘)’ before ‘,’ token
 BU_P7_MISC_2 (DIVWE,  "divwe", CONST, dive_si)
                    ^
../.././gcc/config/powerpcspe/powerpcspe-builtin.def:212:23: error: expected
unqualified-id before string constant
 BU_P7_MISC_2 (DIVWE,  "divwe", CONST, dive_si)
                       ^~~~~~~
In file included from ./tm.h:25:0,
                 from ../.././gcc/genattrtab.c:108:
../.././gcc/config/powerpcspe/powerpcspe.h:1868:1: error: expected declaration
before ‘}’ token
 };
 ^

Here I haven't figured out yet where the syntax error is. Either in
gcc/config/powerpcspe/powerpcspe.h or
gcc/config/powerpcspe/powerpcspe-builtin.def.

What I noticed that gcc/config/powerpcspe/powerpcspe-builtin.def has some stray
control sequences "^L" around line 212. Removing them did not change anything
though.

Reply via email to