All of lore.kernel.org
 help / color / mirror / Atom feed
* Nested func attr and gcc < 4.5
@ 2011-11-25 12:59 Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 0 replies; only message in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2011-11-25 12:59 UTC (permalink / raw)
  To: The development of GRUB 2

Hello, all. It seems that NESTED_FUNC_ATTR strikes again. This time 
since most of our devs use  gcc >= 4.5 (I use 4.6) where the compiler 
bug is fixe, it's a bigger problem than before. So I propose the 
following: If gcc has this bug, compile with mregparms=1 and show a 
message recommendation to upgrade. Since we may be unable to execute 
target programs, we have to rely on version check but it shouldn't cause 
much trouble. This way we continue to support gcc < 4.5 without 
sacrificing reliability and finally get rid of the need of 
NESTED_FUNC_ATTR. The only downside is increased binary size with gcc < 4.5.

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-25 12:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-25 12:59 Nested func attr and gcc < 4.5 Vladimir 'φ-coder/phcoder' Serbinenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.