grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Nested func attr and gcc < 4.5
Date: Fri, 25 Nov 2011 13:59:19 +0100	[thread overview]
Message-ID: <4ECF9127.1040800@gmail.com> (raw)

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



                 reply	other threads:[~2011-11-25 12:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ECF9127.1040800@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).