This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][RFC] -EB / -EL don't properly affect gcc predefined symbols


From: Andrew Pinski <pinskia@gmail.com>
> On Thu, 2006-10-12 at 17:06 +0900, Hiroki Kaminaga wrote:
> > Hi,
> > 
> > Regarding the PR:
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29413
> > 
> > Is below patch adequate to fix the problem?
> > Works fine with me, but haven't done any regression test.
> 
> As I mentioned in the bug report, the problem is that CC1_SPEC
> is the wrong one.
> 
> Adding EB/EL to CPP_SPEC will only fix the C/C++/Objective-C front-ends
> and no others.
> 
> The attached patch is the more correct way to solve this.

Your patch would cause `-profile' option not to set `-p' to cc1. Is this OK?


Best Regards,

(Hiroki Kaminaga)
t
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]