From: Andrew Pinski <[EMAIL PROTECTED]> > 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 --