public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/13014] New: if shortcut misses required diagnostics
@ 2003-11-11 22:37 rth at gcc dot gnu dot org
  2003-11-11 22:53 ` [Bug c/13014] [3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: rth at gcc dot gnu dot org @ 2003-11-11 22:37 UTC (permalink / raw)
  To: gcc-bugs

Two new tests, committed as
  g++.dg/parse/dce1.C
  gcc.dg/20031111-1.c
miss required diagnostics for illegal break and continue 
statements because they have been eliminated as unreachable
before looking at them.

-- 
           Summary: if shortcut misses required diagnostics
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          Severity: critical
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rth at gcc dot gnu dot org
                CC: echristo at redhat dot com,gcc-bugs at gcc dot gnu dot
                    org,roger at eyesopen dot com


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


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

* [Bug c/13014] [3.4 Regression] if shortcut misses required diagnostics
  2003-11-11 22:37 [Bug c/13014] New: if shortcut misses required diagnostics rth at gcc dot gnu dot org
@ 2003-11-11 22:53 ` pinskia at gcc dot gnu dot org
  2003-11-15  9:13 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-11 22:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-11 22:53 -------
I can confirm them on the mainline (20031111).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-11-11 22:53:56
               date|                            |
            Summary|if shortcut misses required |[3.4 Regression] if shortcut
                   |diagnostics                 |misses required diagnostics
   Target Milestone|---                         |3.4


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


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

* [Bug c/13014] [3.4 Regression] if shortcut misses required diagnostics
  2003-11-11 22:37 [Bug c/13014] New: if shortcut misses required diagnostics rth at gcc dot gnu dot org
  2003-11-11 22:53 ` [Bug c/13014] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2003-11-15  9:13 ` pinskia at gcc dot gnu dot org
  2003-11-24 20:12 ` cvs-commit at gcc dot gnu dot org
  2003-11-24 20:15 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-15  9:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-15 09:13 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2003-11/msg01205.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug c/13014] [3.4 Regression] if shortcut misses required diagnostics
  2003-11-11 22:37 [Bug c/13014] New: if shortcut misses required diagnostics rth at gcc dot gnu dot org
  2003-11-11 22:53 ` [Bug c/13014] [3.4 Regression] " pinskia at gcc dot gnu dot org
  2003-11-15  9:13 ` pinskia at gcc dot gnu dot org
@ 2003-11-24 20:12 ` cvs-commit at gcc dot gnu dot org
  2003-11-24 20:15 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-11-24 20:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-11-24 20:12 -------
Subject: Bug 13014

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	echristo@gcc.gnu.org	2003-11-24 20:12:07

Modified files:
	gcc            : ChangeLog c-decl.c c-parse.in c-semantics.c 
	                 c-tree.h 

Log message:
	2003-11-24  Eric Christopher  <echristo@redhat.com>
	
	PR C/13014
	* c-decl.c (c_in_iteration_stmt, c_in_case_stmt): New.
	(start_function): Use.
	(c_push_function_context): Ditto.
	(c-pop_function_context): Ditto.
	(language_function): Move...
	* c-tree.h: ... here. Add x_in_iteration_stmt, and
	x_in_case_stmt.
	* c-parse.in (do_stmt_start, select_or_iter_stmt, stmt): Use
	c_in_iteration_stmt, c_in_case_stmt for parser state. Move
	check for valid break or continue statment here...
	* c-semantics.c (genrtl_break_stmt, genrtl_continue_stmt): From
	here. Change original errors to abort.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.1823&r2=2.1824
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&r1=1.457&r2=1.458
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-parse.in.diff?cvsroot=gcc&r1=1.188&r2=1.189
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-semantics.c.diff?cvsroot=gcc&r1=1.73&r2=1.74
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-tree.h.diff?cvsroot=gcc&r1=1.134&r2=1.135



-- 


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


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

* [Bug c/13014] [3.4 Regression] if shortcut misses required diagnostics
  2003-11-11 22:37 [Bug c/13014] New: if shortcut misses required diagnostics rth at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2003-11-24 20:12 ` cvs-commit at gcc dot gnu dot org
@ 2003-11-24 20:15 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-24 20:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-24 20:15 -------
Fixed.

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


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


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

end of thread, other threads:[~2003-11-24 20:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-11 22:37 [Bug c/13014] New: if shortcut misses required diagnostics rth at gcc dot gnu dot org
2003-11-11 22:53 ` [Bug c/13014] [3.4 Regression] " pinskia at gcc dot gnu dot org
2003-11-15  9:13 ` pinskia at gcc dot gnu dot org
2003-11-24 20:12 ` cvs-commit at gcc dot gnu dot org
2003-11-24 20:15 ` 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).