https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122997

            Bug ID: 122997
           Summary: 'cc' asm() modifier not yielding proper results in
                    certain cases
           Product: gcc
           Version: 15.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jbeulich at suse dot com
  Target Milestone: ---

As a follow-on to 122980 I'd like to point out that while %cc<N> indeed helps
with several of the issues reported there,

        asm volatile(".quad %cc0" :: "i" (0x87654321U));

still doesn't work right - a negative number is emitted at least for 64-bit
targets with 32-bit unsigned int.

Reply via email to