------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-29
21:58 -------
(In reply to comment #3)
> I can't build the Objective Caml compiler with this gcc error :/
If we change the asm to like so:
asm(""
: "+r" (a), "+r" (b), "+m" (blen), "+m" (out), "=&r" (tmp)
: "m" (d)
: "eax", "edx");
We don't get an error.
Also using -fomit-frame-pointer works around the problem by adding another free
register.
What is most likely happening is we are not selecting the secondary constraint.
Oh, reload sucks.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|rtl-optimization |middle-end
Ever Confirmed| |1
Keywords| |rejects-valid
Last reconfirmed|0000-00-00 00:00:00 |2005-04-29 21:58:36
date| |
Summary|can't find a register in |[4.0/4.1 Regression] can't
|class 'GENERAL_REGS' while |find a register in class
|reloading 'asm' |'GENERAL_REGS' while
| |reloading 'asm'
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21291