public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/67959] New: "width of 'code' exceeds its type" error in ssa-thread-13
@ 2015-10-14  2:52 thopre01 at gcc dot gnu.org
  2015-10-14 16:38 ` [Bug testsuite/67959] " law at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: thopre01 at gcc dot gnu.org @ 2015-10-14  2:52 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug testsuite/67959] "width of 'code' exceeds its type" error in ssa-thread-13
  2015-10-14  2:52 [Bug testsuite/67959] New: "width of 'code' exceeds its type" error in ssa-thread-13 thopre01 at gcc dot gnu.org
@ 2015-10-14 16:38 ` law at redhat dot com
  2015-10-14 17:04 ` law at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: law at redhat dot com @ 2015-10-14 16:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jeffrey A. Law <law at redhat dot com> ---
Thomas, in the future it'd be helpful to indicate an actual target
configuration for those not as intimately familiar with the ARM targets :-)

I went through 3 before I stumbled on on that would show this failure.

I'll be checking in a fix momentarily.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug testsuite/67959] "width of 'code' exceeds its type" error in ssa-thread-13
  2015-10-14  2:52 [Bug testsuite/67959] New: "width of 'code' exceeds its type" error in ssa-thread-13 thopre01 at gcc dot gnu.org
  2015-10-14 16:38 ` [Bug testsuite/67959] " law at redhat dot com
@ 2015-10-14 17:04 ` law at gcc dot gnu.org
  2015-10-14 17:08 ` law at redhat dot com
  2015-10-15  7:51 ` clyon at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: law at gcc dot gnu.org @ 2015-10-14 17:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Wed Oct 14 17:04:04 2015
New Revision: 228819

URL: https://gcc.gnu.org/viewcvs?rev=228819&root=gcc&view=rev
Log:
[PATCH] [PR testsuite/67959]Minor cleanup for ssa-thread-13.c

        PR testsuite/67959
        * gcc.dg/tree-ssa/ssa-thread-13.c: Avoid bitfield assumptions.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-13.c


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug testsuite/67959] "width of 'code' exceeds its type" error in ssa-thread-13
  2015-10-14  2:52 [Bug testsuite/67959] New: "width of 'code' exceeds its type" error in ssa-thread-13 thopre01 at gcc dot gnu.org
  2015-10-14 16:38 ` [Bug testsuite/67959] " law at redhat dot com
  2015-10-14 17:04 ` law at gcc dot gnu.org
@ 2015-10-14 17:08 ` law at redhat dot com
  2015-10-15  7:51 ` clyon at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: law at redhat dot com @ 2015-10-14 17:08 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Jeffrey A. Law <law at redhat dot com> ---
Should be fixed on trunk now.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug testsuite/67959] "width of 'code' exceeds its type" error in ssa-thread-13
  2015-10-14  2:52 [Bug testsuite/67959] New: "width of 'code' exceeds its type" error in ssa-thread-13 thopre01 at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2015-10-14 17:08 ` law at redhat dot com
@ 2015-10-15  7:51 ` clyon at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: clyon at gcc dot gnu.org @ 2015-10-15  7:51 UTC (permalink / raw)
  To: gcc-bugs

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

Christophe Lyon <clyon at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clyon at gcc dot gnu.org

--- Comment #4 from Christophe Lyon <clyon at gcc dot gnu.org> ---
I confirm the test now passes on arm-non-eabi targets.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-15  7:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-14  2:52 [Bug testsuite/67959] New: "width of 'code' exceeds its type" error in ssa-thread-13 thopre01 at gcc dot gnu.org
2015-10-14 16:38 ` [Bug testsuite/67959] " law at redhat dot com
2015-10-14 17:04 ` law at gcc dot gnu.org
2015-10-14 17:08 ` law at redhat dot com
2015-10-15  7:51 ` clyon at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).