Re: [Bug #11276] build error: CONFIG_OPTIMIZE_INLINING=y causes gcc 4.2 to do stupid things

From: Bjorn Helgaas
Date: Wed Sep 17 2008 - 10:27:42 EST


On Friday 12 September 2008 03:19:17 pm Rafael J. Wysocki wrote:
> On Friday, 12 of September 2008, Randy Dunlap wrote:
> > Rafael J. Wysocki wrote:
> > > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11276
> > > Subject : build error: CONFIG_OPTIMIZE_INLINING=y causes gcc 4.2 to do stupid things
> > > Submitter : Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> > > Date : 2008-08-06 17:18 (38 days old)
> > > References : http://marc.info/?l=linux-kernel&m=121804329014332&w=4
> > > http://lkml.org/lkml/2008/7/22/353
> > > Handled-By : Bjorn Helgaas <bjorn.helgaas@xxxxxx>
> > > Patch : http://lkml.org/lkml/2008/7/22/364

Thanks for pointing out the fix that should have been obvious,
Dave. That's a much better solution than sprinkling #ifdef
CONFIG_PNP through drivers.

Rafael, in case you missed the checkin, it's commit
ef3d7714f6b75b51825ad0384b5ce48358427e50

Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/