This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/29808] [4.2 Regression] Error: suffix or operands invalid for `mov' when optimization is enabled
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Nov 2006 17:15:47 -0000
- Subject: [Bug inline-asm/29808] [4.2 Regression] Error: suffix or operands invalid for `mov' when optimization is enabled
- References: <bug-29808-5606@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-11-12 17:15 -------
(In reply to comment #3)
> If the code is invalid, the fact that it compiles with -O0 is probably a bug...
No it is not really a bug that it compiles at -O0 either becuase "g" means
"r"+"i" so the register allocator in the -O0 case is selecting "r" while in the
optimize case is selecting "i".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29808