This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/21518] [4.0/4.1 Regression] unable to find a register with -fPIC and -O2 and non inlining static function



------- Comment #11 from mmitchel at gcc dot gnu dot org  2005-10-31 03:35 -------
It sounds like we should (a) forbid __attribute__((regparm(3)) with -fPIC, and
(b) not automatically generate that value, as per the patch in Comment #9.  It
doesn't seem useful to have an option that we think is too dangerous to use.

I'm going to leave this as P2, because, if that's correct, this seems
relatively easy to fix, and it would avoid one class of user confusion.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21518


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]