public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/51511] New: [4.6/4.7 regression] gcc.dg/pr45819.c fails on arm-linux-gnueabi due to PR50078+PR51466 fix
@ 2011-12-12  8:37 mikpe at it dot uu.se
  2011-12-12  9:15 ` [Bug testsuite/51511] " jakub at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: mikpe at it dot uu.se @ 2011-12-12  8:37 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51511
           Summary: [4.6/4.7 regression] gcc.dg/pr45819.c fails on
                    arm-linux-gnueabi due to PR50078+PR51466 fix
    Classification: Unclassified
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mikpe@it.uu.se


The PR50078+PR51466 fix, r182157 on 4.6 branch, caused a test suite regression
on arm-linux-gnueabi:

+FAIL: gcc.dg/pr45819.c (test for excess errors)

because the compiler now emits the following warning:

pr45819.c: In function 'ehci_hub_control':
pr45819.c:16:10: warning: mis-aligned access used for structure member
[-fstrict-volatile-bitfields]
pr45819.c:16:10: note: when a volatile object spans multiple type-sized
locations, the compiler must choose between using a single mis-aligned access
to preserve the volatility, or using multiple aligned accesses to avoid runtime
faults; this code may fail at runtime if the hardware does not allow this
access

I believe the warning is correct, so perhaps the warning should just be
suppressed
in pr45819.c with -w.  gcc-4.7-20111210 has the same issue.


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

* [Bug testsuite/51511] [4.6/4.7 regression] gcc.dg/pr45819.c fails on arm-linux-gnueabi due to PR50078+PR51466 fix
  2011-12-12  8:37 [Bug regression/51511] New: [4.6/4.7 regression] gcc.dg/pr45819.c fails on arm-linux-gnueabi due to PR50078+PR51466 fix mikpe at it dot uu.se
@ 2011-12-12  9:15 ` jakub at gcc dot gnu.org
  2011-12-12  9:22 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-12-12  9:15 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011-12-12
                 CC|                            |jakub at gcc dot gnu.org
          Component|regression                  |testsuite
         AssignedTo|unassigned at gcc dot       |jakub at gcc dot gnu.org
                   |gnu.org                     |
   Target Milestone|---                         |4.6.3
     Ever Confirmed|0                           |1


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

* [Bug testsuite/51511] [4.6/4.7 regression] gcc.dg/pr45819.c fails on arm-linux-gnueabi due to PR50078+PR51466 fix
  2011-12-12  8:37 [Bug regression/51511] New: [4.6/4.7 regression] gcc.dg/pr45819.c fails on arm-linux-gnueabi due to PR50078+PR51466 fix mikpe at it dot uu.se
  2011-12-12  9:15 ` [Bug testsuite/51511] " jakub at gcc dot gnu.org
@ 2011-12-12  9:22 ` jakub at gcc dot gnu.org
  2011-12-12 17:06 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-12-12  9:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-12 09:13:58 UTC ---
Created attachment 26052
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26052
gcc47-pr51511.patch

Yeah, I agree.


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

* [Bug testsuite/51511] [4.6/4.7 regression] gcc.dg/pr45819.c fails on arm-linux-gnueabi due to PR50078+PR51466 fix
  2011-12-12  8:37 [Bug regression/51511] New: [4.6/4.7 regression] gcc.dg/pr45819.c fails on arm-linux-gnueabi due to PR50078+PR51466 fix mikpe at it dot uu.se
  2011-12-12  9:15 ` [Bug testsuite/51511] " jakub at gcc dot gnu.org
  2011-12-12  9:22 ` jakub at gcc dot gnu.org
@ 2011-12-12 17:06 ` jakub at gcc dot gnu.org
  2011-12-12 19:45 ` jakub at gcc dot gnu.org
  2011-12-12 19:52 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-12-12 17:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-12 16:48:56 UTC ---
Author: jakub
Date: Mon Dec 12 16:48:46 2011
New Revision: 182247

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182247
Log:
    PR testsuite/51511
    * gcc.dg/pr45819.c: Add -w to dg-options.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/pr45819.c


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

* [Bug testsuite/51511] [4.6/4.7 regression] gcc.dg/pr45819.c fails on arm-linux-gnueabi due to PR50078+PR51466 fix
  2011-12-12  8:37 [Bug regression/51511] New: [4.6/4.7 regression] gcc.dg/pr45819.c fails on arm-linux-gnueabi due to PR50078+PR51466 fix mikpe at it dot uu.se
                   ` (2 preceding siblings ...)
  2011-12-12 17:06 ` jakub at gcc dot gnu.org
@ 2011-12-12 19:45 ` jakub at gcc dot gnu.org
  2011-12-12 19:52 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-12-12 19:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-12 19:44:25 UTC ---
Author: jakub
Date: Mon Dec 12 19:44:22 2011
New Revision: 182261

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182261
Log:
    PR testsuite/51511
    * gcc.dg/pr45819.c: Add -w to dg-options.

Modified:
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/pr45819.c


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

* [Bug testsuite/51511] [4.6/4.7 regression] gcc.dg/pr45819.c fails on arm-linux-gnueabi due to PR50078+PR51466 fix
  2011-12-12  8:37 [Bug regression/51511] New: [4.6/4.7 regression] gcc.dg/pr45819.c fails on arm-linux-gnueabi due to PR50078+PR51466 fix mikpe at it dot uu.se
                   ` (3 preceding siblings ...)
  2011-12-12 19:45 ` jakub at gcc dot gnu.org
@ 2011-12-12 19:52 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-12-12 19:52 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-12 19:45:36 UTC ---
Fixed.


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

end of thread, other threads:[~2011-12-12 19:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-12  8:37 [Bug regression/51511] New: [4.6/4.7 regression] gcc.dg/pr45819.c fails on arm-linux-gnueabi due to PR50078+PR51466 fix mikpe at it dot uu.se
2011-12-12  9:15 ` [Bug testsuite/51511] " jakub at gcc dot gnu.org
2011-12-12  9:22 ` jakub at gcc dot gnu.org
2011-12-12 17:06 ` jakub at gcc dot gnu.org
2011-12-12 19:45 ` jakub at gcc dot gnu.org
2011-12-12 19:52 ` jakub 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).