public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15787] Poor error message with if and blocks
       [not found] <bug-15787-6594@http.gcc.gnu.org/bugzilla/>
@ 2007-01-27 13:40 ` patchapp at dberlin dot org
  2007-01-30 22:10 ` patchapp at dberlin dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: patchapp at dberlin dot org @ 2007-01-27 13:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from patchapp at dberlin dot org  2007-01-27 13:40 -------
Subject: Bug number PR 15787

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg02238.html


-- 


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


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

* [Bug c++/15787] Poor error message with if and blocks
       [not found] <bug-15787-6594@http.gcc.gnu.org/bugzilla/>
  2007-01-27 13:40 ` [Bug c++/15787] Poor error message with if and blocks patchapp at dberlin dot org
@ 2007-01-30 22:10 ` patchapp at dberlin dot org
  2007-03-03 15:32 ` manu at gcc dot gnu dot org
  2007-03-03 15:51 ` manu at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: patchapp at dberlin dot org @ 2007-01-30 22:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from patchapp at dberlin dot org  2007-01-30 22:10 -------
Subject: Bug number PR 15787

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg02533.html


-- 


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


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

* [Bug c++/15787] Poor error message with if and blocks
       [not found] <bug-15787-6594@http.gcc.gnu.org/bugzilla/>
  2007-01-27 13:40 ` [Bug c++/15787] Poor error message with if and blocks patchapp at dberlin dot org
  2007-01-30 22:10 ` patchapp at dberlin dot org
@ 2007-03-03 15:32 ` manu at gcc dot gnu dot org
  2007-03-03 15:51 ` manu at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-03 15:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from manu at gcc dot gnu dot org  2007-03-03 15:32 -------
Subject: Bug 15787

Author: manu
Date: Sat Mar  3 15:32:13 2007
New Revision: 122505

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122505
Log:
2007-03-03  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

        PR c++/15787
        * parser.c (struct cp_parser): New IN_IF_STMT.
        (cp_parser_statement_seq_opt): Handle an unexpected 'else',
        returning if parsing the body of an 'if' statement or issuing an
        error and continuing.
        (cp_parser_selection_statement): Set IN_IF_STMT bit when parsing
        body of 'if'.
        (cp_parser_jump_statement): Mask new IN_IF_STMT bit.

testsuite/
        * g++.dg/parse/else.C: New.
        * g++.dg/parse/else-2.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/parse/else-2.C
    trunk/gcc/testsuite/g++.dg/parse/else.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/15787] Poor error message with if and blocks
       [not found] <bug-15787-6594@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2007-03-03 15:32 ` manu at gcc dot gnu dot org
@ 2007-03-03 15:51 ` manu at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-03 15:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from manu at gcc dot gnu dot org  2007-03-03 15:51 -------
Fixed in 4.3.0


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.0


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


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

* [Bug c++/15787] Poor error message with if and blocks
  2004-06-02 21:31 [Bug c++/15787] New: Poor error message igodard at pacbell dot net
@ 2004-10-23 20:37 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-23 20:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-23 20:37 -------
*** Bug 15788 has been marked as a duplicate of this bug. ***

-- 


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


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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-15787-6594@http.gcc.gnu.org/bugzilla/>
2007-01-27 13:40 ` [Bug c++/15787] Poor error message with if and blocks patchapp at dberlin dot org
2007-01-30 22:10 ` patchapp at dberlin dot org
2007-03-03 15:32 ` manu at gcc dot gnu dot org
2007-03-03 15:51 ` manu at gcc dot gnu dot org
2004-06-02 21:31 [Bug c++/15787] New: Poor error message igodard at pacbell dot net
2004-10-23 20:37 ` [Bug c++/15787] Poor error message with if and blocks 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).