public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/43476] New: -ffixed-xxx etc processed too early
@ 2010-03-22 11:42 rearnsha at gcc dot gnu dot org
2010-03-22 12:22 ` [Bug middle-end/43476] " joseph at codesourcery dot com
0 siblings, 1 reply; 2+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2010-03-22 11:42 UTC (permalink / raw)
To: gcc-bugs
-ffixed-xxx -fcall-used-xxx and -fcall-saved-xxx are processed before
init_regs() is called, and that function calls CONDITIONAL_REGISTER_USAGE. If
that macro changes the registers available (for example, to generate an ABI
variant), then it cannot tell whether or not a register's usage model has been
changed on the command-line.
This manifests itself, for example, on ARM when -mfpu=vfpv3 -mfloat-abi=hard
-fcall-used-s16 -fcall-used-s17 does change the callee-saved register set.
Not sure if this is a regression over older compilers.
--
Summary: -ffixed-xxx etc processed too early
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rearnsha at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43476
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug middle-end/43476] -ffixed-xxx etc processed too early
2010-03-22 11:42 [Bug middle-end/43476] New: -ffixed-xxx etc processed too early rearnsha at gcc dot gnu dot org
@ 2010-03-22 12:22 ` joseph at codesourcery dot com
0 siblings, 0 replies; 2+ messages in thread
From: joseph at codesourcery dot com @ 2010-03-22 12:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from joseph at codesourcery dot com 2010-03-22 12:22 -------
Subject: Re: New: -ffixed-xxx etc processed too early
This has been around for years; when testing my iWMMXt unwind patch
<http://gcc.gnu.org/ml/gcc-patches/2007-01/msg00049.html> I found it
wasn't possible to test the handling of unwind info for call-clobbered
registers using these options because of this bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43476
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-22 12:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-22 11:42 [Bug middle-end/43476] New: -ffixed-xxx etc processed too early rearnsha at gcc dot gnu dot org
2010-03-22 12:22 ` [Bug middle-end/43476] " joseph at codesourcery dot com
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 read-only IMAP folder(s) and NNTP newsgroup(s).