public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/11592] New: "make check-gcc" fails on gcc.dg/duff-2.c with "warning: unreachable code at beginning of switch statement"
@ 2003-07-19 18:32 dank at kegel dot com
  2003-07-19 22:26 ` [Bug optimization/11592] gcc.dg/duff-2.c fails " pinskia at physics dot uc dot edu
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dank at kegel dot com @ 2003-07-19 18:32 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: "make check-gcc" fails on gcc.dg/duff-2.c with "warning:
                    unreachable code at beginning of switch statement"
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dank at kegel dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu,sh4-unknown-linux-gnu

I'm building and testing cross-compilers using http://kegel.com/crosstool

Both gcc-3.3 and gcc-ss-3_3-20030714's 'make check-gcc' produce
the following error:

FAIL: gcc.dg/duff-2.c (test for excess errors)
Excess errors:
/crosstool-0.13/build/powerpc-750-linux-gnu/gcc-3.3-glibc-2.2.5/gcc-3.3/gcc/testsuite/gcc.dg/duff-2.c:28:
warning: unreachable code at beginning of switch statement

This looks like PR 5230 but on a different platform.
I haven't tested an x86 compiler.
It also looks similar to PR 11370.


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

* [Bug optimization/11592] gcc.dg/duff-2.c fails with "warning: unreachable code at beginning of switch statement"
  2003-07-19 18:32 [Bug optimization/11592] New: "make check-gcc" fails on gcc.dg/duff-2.c with "warning: unreachable code at beginning of switch statement" dank at kegel dot com
@ 2003-07-19 22:26 ` pinskia at physics dot uc dot edu
  2003-07-19 22:29 ` [Bug optimization/11592] [3.3 Regression] " pinskia at physics dot uc dot edu
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-19 22:26 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|powerpc-unknown-linux-      |powerpc-*-linux-gnu,sh4*-
                   |gnu,sh4-unknown-linux-gnu   |linux-gnu
            Summary|"make check-gcc" fails on   |gcc.dg/duff-2.c fails with
                   |gcc.dg/duff-2.c with        |"warning: unreachable code
                   |"warning: unreachable code  |at beginning of switch
                   |at beginning of switch      |statement"
                   |statement"                  |


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

* [Bug optimization/11592] [3.3 Regression] gcc.dg/duff-2.c fails with "warning: unreachable code at beginning of switch statement"
  2003-07-19 18:32 [Bug optimization/11592] New: "make check-gcc" fails on gcc.dg/duff-2.c with "warning: unreachable code at beginning of switch statement" dank at kegel dot com
  2003-07-19 22:26 ` [Bug optimization/11592] gcc.dg/duff-2.c fails " pinskia at physics dot uc dot edu
@ 2003-07-19 22:29 ` pinskia at physics dot uc dot edu
  2003-09-17 22:24 ` pinskia at gcc dot gnu dot org
  2003-09-17 22:28 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-19 22:29 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-19 22:29:13
               date|                            |
            Summary|gcc.dg/duff-2.c fails with  |[3.3 Regression]
                   |"warning: unreachable code  |gcc.dg/duff-2.c fails with
                   |at beginning of switch      |"warning: unreachable code
                   |statement"                  |at beginning of switch
                   |                            |statement"
   Target Milestone|3.4                         |3.3.2


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-19 22:29 -------
I can confirm this in 3.3.1 (20030714) but on the mainline (20030719), it is already fixed, 
this on powerpc-*linux-gnu, I have not checked with sh4-*-linux-gnu yet.


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

* [Bug optimization/11592] [3.3 Regression] gcc.dg/duff-2.c fails with "warning: unreachable code at beginning of switch statement"
  2003-07-19 18:32 [Bug optimization/11592] New: "make check-gcc" fails on gcc.dg/duff-2.c with "warning: unreachable code at beginning of switch statement" dank at kegel dot com
  2003-07-19 22:26 ` [Bug optimization/11592] gcc.dg/duff-2.c fails " pinskia at physics dot uc dot edu
  2003-07-19 22:29 ` [Bug optimization/11592] [3.3 Regression] " pinskia at physics dot uc dot edu
@ 2003-09-17 22:24 ` pinskia at gcc dot gnu dot org
  2003-09-17 22:28 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-17 22:24 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
           Keywords|                            |diagnostic
         Resolution|                            |FIXED
   Target Milestone|3.3.2                       |3.4


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-17 22:06 -------
Since this is only a diagnostic problem closing as Mark is closing diagnostic problems.


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

* [Bug optimization/11592] [3.3 Regression] gcc.dg/duff-2.c fails with "warning: unreachable code at beginning of switch statement"
  2003-07-19 18:32 [Bug optimization/11592] New: "make check-gcc" fails on gcc.dg/duff-2.c with "warning: unreachable code at beginning of switch statement" dank at kegel dot com
                   ` (2 preceding siblings ...)
  2003-09-17 22:24 ` pinskia at gcc dot gnu dot org
@ 2003-09-17 22:28 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-17 22:28 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-17 22:07 -------
I should have said which are already fixed on the mainline.


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

end of thread, other threads:[~2003-09-17 22:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-19 18:32 [Bug optimization/11592] New: "make check-gcc" fails on gcc.dg/duff-2.c with "warning: unreachable code at beginning of switch statement" dank at kegel dot com
2003-07-19 22:26 ` [Bug optimization/11592] gcc.dg/duff-2.c fails " pinskia at physics dot uc dot edu
2003-07-19 22:29 ` [Bug optimization/11592] [3.3 Regression] " pinskia at physics dot uc dot edu
2003-09-17 22:24 ` pinskia at gcc dot gnu dot org
2003-09-17 22:28 ` pinskia at gcc dot gnu dot 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).