public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/53443] New: Bad Macro Definition SUBSUBTARGET_OVERRIDE_OPTIONS in vxworks.h
@ 2012-05-22 0:38 rbmj at verizon dot net
2012-06-01 16:59 ` [Bug target/53443] " rbmj at verizon dot net
0 siblings, 1 reply; 2+ messages in thread
From: rbmj at verizon dot net @ 2012-05-22 0:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53443
Bug #: 53443
Summary: Bad Macro Definition SUBSUBTARGET_OVERRIDE_OPTIONS in
vxworks.h
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: rbmj@verizon.net
Created attachment 27467
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27467
Proposed Fix (against trunk)
I put the bug down as 4.8, but it's off of the latest trunk (cloned from the
git mirror) - I'm not sure what version that is.
The issue presents itself when compiling with a vxworks target.
SUBSUBTARGET_OVERRIDE_OPTIONS in gcc/config/rs6000/vxworks.h was using the do {
/*...*/ } while (0) idiom as a macro, but did not have the opening do {, thus
the block was ended and the compiler barfed.
A patch is attached that fixes the issue. I just used git format-patch - if
the format is wrong I can use diff.
Also, please tell me if I should email gcc-patches.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-01 16:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-22 0:38 [Bug target/53443] New: Bad Macro Definition SUBSUBTARGET_OVERRIDE_OPTIONS in vxworks.h rbmj at verizon dot net
2012-06-01 16:59 ` [Bug target/53443] " rbmj at verizon dot net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).