This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/27287] [4.1/4.2 Regression] returning constant double
- From: "guenter at roeck-us dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Aug 2006 15:16:02 -0000
- Subject: [Bug target/27287] [4.1/4.2 Regression] returning constant double
- References: <bug-27287-11164@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #27 from guenter at roeck-us dot net 2006-08-30 15:16 -------
Created an attachment (id=12154)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12154&action=view)
possible patch
This might be a possible patch. It reverts to the original insn declaration,
except for replacing the original "register_operand" with "input_operand".
Generated code is less than optimal for the m->r case, but at least it
appears to be correct.
I tested this patch with the test cases provided. Also compiled a complete
linux environment including perl which seems to work fine.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27287