public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/7508] GCC refuses to compile a declartion right after a 'case' in switch
       [not found] <20020806093602.7508.ddcc@email.com>
  2005-08-12 20:52 ` [Bug c/7508] GCC refuses to compile a declartion right after a 'case' in switch jsm28 at gcc dot gnu dot org
@ 2005-08-12 20:52 ` jsm28 at gcc dot gnu dot org
  2005-08-12 20:54 ` jsm28 at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-08-12 20:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jsm28 at gcc dot gnu dot org  2005-08-12 20:52 -------
Marked as INVALID.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|jsm28 at gcc dot gnu dot org|
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID


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


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

* [Bug c/7508] GCC refuses to compile a declartion right after a 'case' in switch
       [not found] <20020806093602.7508.ddcc@email.com>
@ 2005-08-12 20:52 ` jsm28 at gcc dot gnu dot org
  2005-08-12 20:52 ` jsm28 at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-08-12 20:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jsm28 at gcc dot gnu dot org  2005-08-12 20:52 -------
Reopening to mark as INVALID.


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


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


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

* [Bug c/7508] GCC refuses to compile a declartion right after a 'case' in switch
       [not found] <20020806093602.7508.ddcc@email.com>
  2005-08-12 20:52 ` [Bug c/7508] GCC refuses to compile a declartion right after a 'case' in switch jsm28 at gcc dot gnu dot org
  2005-08-12 20:52 ` jsm28 at gcc dot gnu dot org
@ 2005-08-12 20:54 ` jsm28 at gcc dot gnu dot org
  2005-09-15 14:23 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-08-12 20:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jsm28 at gcc dot gnu dot org  2005-08-12 20:54 -------
*** Bug 23365 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |price at ifa dot hawaii dot
                   |                            |edu


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


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

* [Bug c/7508] GCC refuses to compile a declartion right after a 'case' in switch
       [not found] <20020806093602.7508.ddcc@email.com>
                   ` (2 preceding siblings ...)
  2005-08-12 20:54 ` jsm28 at gcc dot gnu dot org
@ 2005-09-15 14:23 ` pinskia at gcc dot gnu dot org
  2005-09-15 14:25 ` pinskia at gcc dot gnu dot org
  2005-09-15 18:44 ` price at ifa dot hawaii dot edu
  5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-15 14:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-15 14:22 -------
*** Bug 23895 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eroenj at gmail dot com


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


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

* [Bug c/7508] GCC refuses to compile a declartion right after a 'case' in switch
       [not found] <20020806093602.7508.ddcc@email.com>
                   ` (3 preceding siblings ...)
  2005-09-15 14:23 ` pinskia at gcc dot gnu dot org
@ 2005-09-15 14:25 ` pinskia at gcc dot gnu dot org
  2005-09-15 18:44 ` price at ifa dot hawaii dot edu
  5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-15 14:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-15 14:23 -------
*** Bug 21689 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matt_hicks at bose dot com


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


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

* [Bug c/7508] GCC refuses to compile a declartion right after a 'case' in switch
       [not found] <20020806093602.7508.ddcc@email.com>
                   ` (4 preceding siblings ...)
  2005-09-15 14:25 ` pinskia at gcc dot gnu dot org
@ 2005-09-15 18:44 ` price at ifa dot hawaii dot edu
  5 siblings, 0 replies; 8+ messages in thread
From: price at ifa dot hawaii dot edu @ 2005-09-15 18:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From price at ifa dot hawaii dot edu  2005-09-15 18:44 -------
To get it to compile, use curly brackets after the "case":

  case 1:
    {
        int y = 7;
    }


I would suggest that the existence of several duplicates argue for a clearer
error message.

-- 


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


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

* [Bug c/7508] GCC refuses to compile a declartion right after a 'case' in switch
       [not found] <bug-7508-1301@http.gcc.gnu.org/bugzilla/>
  2006-01-13  3:03 ` pinskia at gcc dot gnu dot org
@ 2006-03-18 15:18 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-18 15:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from pinskia at gcc dot gnu dot org  2006-03-18 15:18 -------
*** Bug 26742 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |william dot p dot henry dot
                   |                            |jr at gmail dot com


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


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

* [Bug c/7508] GCC refuses to compile a declartion right after a 'case' in switch
       [not found] <bug-7508-1301@http.gcc.gnu.org/bugzilla/>
@ 2006-01-13  3:03 ` pinskia at gcc dot gnu dot org
  2006-03-18 15:18 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-13  3:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pinskia at gcc dot gnu dot org  2006-01-13 03:03 -------
*** Bug 25779 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ecollins at vmware dot com


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


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

end of thread, other threads:[~2006-03-18 15:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20020806093602.7508.ddcc@email.com>
2005-08-12 20:52 ` [Bug c/7508] GCC refuses to compile a declartion right after a 'case' in switch jsm28 at gcc dot gnu dot org
2005-08-12 20:52 ` jsm28 at gcc dot gnu dot org
2005-08-12 20:54 ` jsm28 at gcc dot gnu dot org
2005-09-15 14:23 ` pinskia at gcc dot gnu dot org
2005-09-15 14:25 ` pinskia at gcc dot gnu dot org
2005-09-15 18:44 ` price at ifa dot hawaii dot edu
     [not found] <bug-7508-1301@http.gcc.gnu.org/bugzilla/>
2006-01-13  3:03 ` pinskia at gcc dot gnu dot org
2006-03-18 15:18 ` 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).