This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Rs6000 infrastructure cleanup (switches), revised patch #2c
- From: Gunther Nikl <gnikl at users dot sourceforge dot net>
- To: Michael Meissner <meissner at linux dot vnet dot ibm dot com>
- Cc: David Edelsohn <dje dot gcc at gmail dot com>, bergner at vnet dot ibm dot com, segher at kernel dot crashing dot org, iain at codesourcery dot com, andreast-list at fgznet dot ch, gcc-patches at gcc dot gnu dot org
- Date: Sat, 06 Oct 2012 22:08:02 +0200
- Subject: Re: [PATCH] Rs6000 infrastructure cleanup (switches), revised patch #2c
- References: <20120912224303.GA19348@ibm-tiger.the-meissners.org> <20120917195131.GA22648@ibm-tiger.the-meissners.org> <CAGWvnykaJM0LFiwVJRcoay4uVJtrFR-V8G=_aK6=4VQygmAx0w@mail.gmail.com> <20120920195755.GA18581@ibm-tiger.the-meissners.org> <20120927224228.GA24889@ibm-tiger.the-meissners.org> <20120928181106.GA28376@ibm-tiger.the-meissners.org> <506AA225.6020409@users.sourceforge.net> <20121002161149.GA11209@ibm-tiger.the-meissners.org> <506DBA5D.7070300@users.sourceforge.net> <20121005181724.GA29369@ibm-tiger.the-meissners.org>
Michael Meissner wrote:
> On Thu, Oct 04, 2012 at 06:33:33PM +0200, Gunther Nikl wrote:
>> Michael Meissner schrieb:
>>> On Tue, Oct 02, 2012 at 10:13:25AM +0200, Gunther Nikl wrote:
>>>> Michael Meissner wrote:
>>>>> Segher Boessenkool asked me on IRC to break out the fix in the last change.
>>>>> This patch is just the change to set the default options if the user did not
>>>>> use -mcpu=<xxx> and the compiler was not configured with --with-cpu=<xxx>.
>>>>> Here are the patches.
>>>> Which GCC releases are affected by this bug?
>>> All of them.
>> So this bug is as old as the rs6000 port has PowerPC support? Then GCC
>> 2.95 is also affected?
I took a closer look. AFAICT, the above mentioned bug is a result of
the rewritten option parsing for GCC 4.6. And that was what I wanted
to know. Since this is a regression, should this be fixed in 4.6/4.7?
> Well as I said, it is pretty latent, and most people never have noticed it.
> It really depends on what the options are whether you run into the problem.
Yes, I understood that but this did not address my question.
Regards,
Gunther