|
From: | Bruce Dubbs |
Subject: | Re: GCC 4.5 |
Date: | Thu, 20 May 2010 10:53:37 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080722 SeaMonkey/1.1.11 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |