[Bug target/53378] gcc/regs.h hides system header regs.h on vxWorks

2012-10-29 Thread rbmj at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53378 rbmj at verizon dot net changed: What|Removed |Added Status|NEW |RESOLVED Resolu

[Bug target/53378] gcc/regs.h hides system header regs.h on vxWorks

2012-06-25 Thread rbmj at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53378 --- Comment #10 from rbmj at verizon dot net 2012-06-25 18:25:11 UTC --- This issue is resolved in this (approved, not committed) patch series here: http://gcc.gnu.org/ml/gcc-patches/2012-06/msg00382.html, specifically http://gcc.gnu.org/ml/gcc-pat

[Bug target/53378] gcc/regs.h hides system header regs.h on vxWorks

2012-05-23 Thread rbmj at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53378 --- Comment #9 from rbmj at verizon dot net 2012-05-23 19:29:23 UTC --- Created attachment 27482 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27482 Errors introduced by gcc/regs.h The problem is that gcc/regs.h introduces its own errors. I

[Bug target/53378] gcc/regs.h hides system header regs.h on vxWorks

2012-05-23 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53378 --- Comment #8 from Eric Botcazou 2012-05-23 18:51:55 UTC --- > Isn't that the same trick? It's just that taskLib.h is not in GCC sources so > I > can't just put the change in. The trick should be in libgcc/config/vxlib.c of course...

[Bug target/53378] gcc/regs.h hides system header regs.h on vxWorks

2012-05-23 Thread rbmj at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53378 --- Comment #7 from rbmj at verizon dot net 2012-05-23 17:57:53 UTC --- > > Could this be fixed by a fixincludes stub somewhat like the following? > > I don't understand why you cannot use a similar trick as > ada/sigtramp-ppcvxw.c. Isn't that t

[Bug target/53378] gcc/regs.h hides system header regs.h on vxWorks

2012-05-23 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53378 --- Comment #6 from Eric Botcazou 2012-05-23 17:50:44 UTC --- > Could this be fixed by a fixincludes stub somewhat like the following? I don't understand why you cannot use a similar trick as ada/sigtramp-ppcvxw.c.

[Bug target/53378] gcc/regs.h hides system header regs.h on vxWorks

2012-05-23 Thread rbmj at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53378 --- Comment #5 from rbmj at verizon dot net 2012-05-23 17:27:09 UTC --- Could this be fixed by a fixincludes stub somewhat like the following? /* * Work around same-named gcc header regs.h in taskLib.h on VxWorks */ fix = { hackname= vx

[Bug target/53378] gcc/regs.h hides system header regs.h on vxWorks

2012-05-18 Thread rbmj at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53378 --- Comment #4 from rbmj at verizon dot net 2012-05-18 12:16:29 UTC --- The issue is that this is affecting a system header (ioLib.h) which is included from other, standard header files.

[Bug target/53378] gcc/regs.h hides system header regs.h on vxWorks

2012-05-18 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53378 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/53378] gcc/regs.h hides system header regs.h on vxWorks

2012-05-16 Thread rbmj at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53378 --- Comment #2 from rbmj at verizon dot net 2012-05-16 16:33:36 UTC --- No it is not. regs.h is a system header on VxWorks. I can see a big: /* regs.h - CPU registers */ /* Copyright 1984-2003 Wind River Systems, Inc. */ At the top of /usr/pow

[Bug target/53378] gcc/regs.h hides system header regs.h on vxWorks

2012-05-16 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53378 --- Comment #1 from Andrew Pinski 2012-05-16 16:22:33 UTC --- This is another one of these target headers including GCC headers which should not be done.