All of lore.kernel.org
 help / color / mirror / Atom feed
* GCC 4.5
@ 2010-05-20 13:08 Vladimir 'φ-coder/phcoder' Serbinenko
  2010-05-20 15:53 ` Bruce Dubbs
  0 siblings, 1 reply; 2+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-05-20 13:08 UTC (permalink / raw)
  To: The development of GRUB 2

[-- Attachment #1: Type: text/plain, Size: 542 bytes --]

Hello, all. I've noticed that GCC 4.5 is released and is available in
debian. With this version -mregparam=3 bug is fixed. So I intend to
remove all NESTED_FUNC_ATTR and use -mregparm=3 only on gcc >=4.5 and
-mregparam=1 otherwise. This has the disadvatantage of increasing binary
size with pre-4.5 gcc but it also greatly reduces the bug surface and so
will eventually result in better quality. Any oppositions?
I do not intend to require gcc 4.5, only highly recommend it.

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



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 293 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GCC 4.5
  2010-05-20 13:08 GCC 4.5 Vladimir 'φ-coder/phcoder' Serbinenko
@ 2010-05-20 15:53 ` Bruce Dubbs
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Dubbs @ 2010-05-20 15:53 UTC (permalink / raw)
  To: The development of GNU GRUB

Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> Hello, all. I've noticed that GCC 4.5 is released and is available in
> debian. With this version -mregparam=3 bug is fixed. So I intend to
> remove all NESTED_FUNC_ATTR and use -mregparm=3 only on gcc >=4.5 and
> -mregparam=1 otherwise. This has the disadvatantage of increasing binary
> size with pre-4.5 gcc but it also greatly reduces the bug surface and so
> will eventually result in better quality. Any oppositions?
> I do not intend to require gcc 4.5, only highly recommend it.

There have been reports of problems with -Os in gcc-4.5.0.  In one case, 
the linux kernel is not functional. Specifically the file 
arch/x86/kernel/tsc.c causes a kernel panic.

I advise caution in this area.

   -- Bruce


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-20 15:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-20 13:08 GCC 4.5 Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-20 15:53 ` Bruce Dubbs

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.