--- Comment #4 from schwab at suse dot de 2008-08-04 07:44 ---
*** This bug has been marked as a duplicate of 23242 ***
--
schwab at suse dot de changed:
What|Removed |Added
--- Comment #5 from ubizjak at gmail dot com 2008-08-04 07:52 ---
In fact, it is not the duplicate of 23242. 23242 suggests Q constraint to
access high part of 16bit regs (i.e. ah, dh ...), but here we should use q
constraint instead of r to access lower 8bit part of the register. On
--- Comment #6 from schwab at suse dot de 2008-08-04 08:28 ---
Both Q and q are correct when trying to use the low part of a register.
Only if the asm insn is using the high part you must use Q. It is the
modifier (%b or %h) that chooses between low and high part.
--
--- Comment #1 from gcc at karrels dot org 2008-08-04 01:35 ---
Created an attachment (id=16007)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16007action=view)
preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37018
--- Comment #2 from gcc at karrels dot org 2008-08-04 01:37 ---
Created an attachment (id=16008)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16008action=view)
Output from gcc -v -save-temps -O -c foo.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37018
--- Comment #3 from gcc at karrels dot org 2008-08-04 01:39 ---
(In reply to comment #0)
Bug only occurs with optimization turned on.
--
gcc at karrels dot org changed:
What|Removed |Added