This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/50801] macro location tracking patch set breaks bootstrap
- From: "pthaugen at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Oct 2011 21:35:30 +0000
- Subject: [Bug bootstrap/50801] macro location tracking patch set breaks bootstrap
- Auto-submitted: auto-generated
- References: <bug-50801-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50801
Pat Haugen <pthaugen at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pthaugen at gcc dot gnu.org
--- Comment #2 from Pat Haugen <pthaugen at gcc dot gnu.org> 2011-10-19 21:35:30 UTC ---
I hit the same thing for powerpc in cpu2000 benchmark 177.mesa when compiled
with -mcpu=power7. Following is reduced testcase.
run/00000001> cat junk.c
static void flat_color_z_triangle()
{
#define SETUP_CODE int pixel = 2;
int ltor;
#ifdef SETUP_CODE
SETUP_CODE
#endif
ltor = 1;
}
run/00000001> /home/pthaugen/install/gcc/trunk/bin/gcc -c -m64 -mcpu=power7
junk.c
junk.c: In function 'flat_color_z_triangle':
junk.c:11:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'ltor'
The proposed patch fixes the problem.