http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50022

           Summary: [4.7 regression] "incorrect condition in IT block"
                    when building mozilla code base for ARM
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: mh+...@glandium.org


Taking the attached preprocessed file, the following fails with latest gcc
snapshot (4.7-20110806):
$ g++ -std=gnu++0x -o test.o -c nsCookieService.i -mthumb -O3 -march=armv7-a
-mfloat-abi=softfp
/tmp/ccxA5O8X.s: Assembler messages:
/tmp/ccxA5O8X.s:2694: Error: incorrect condition in IT block -- `ldrdlt
r2,[r3]'
/tmp/ccxA5O8X.s:2695: Error: thumb conditional instruction should be in IT
block -- `smullge r2,r3,r3,r2'

The error is slightly different when adding -fomit-frame-pointer:
/tmp/ccSzGgKB.s: Assembler messages:
/tmp/ccSzGgKB.s:2702: Error: thumb conditional instruction should be in IT
block -- `ldrdlt r2,[r3]'

Reply via email to