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

            Bug ID: 67959
           Summary: "width of 'code' exceeds its type" error in
                    ssa-thread-13
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: thopre01 at gcc dot gnu.org
                CC: law at redhat dot com
  Target Milestone: ---

By declaring the field "code" in struct rtx_def

ssa-thread-13 assumes that enum rtx_code is 16-bit or more in size when
declaring the field "code" in struct rtx_def. This can only be assumed if
passing -fno-short-enums when compiling since targets are free to default to
short enum (ARM does for AAPCS based API, see arm_default_short_enums in
config/arm/arm.c).

Because of that the test is currently failing on ARM.

Reply via email to