public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/18472] New: TREE_OPERAND (t, 1) is referenced for t being GOTO_EXPR
@ 2004-11-14 5:34 kazu at cs dot umass dot edu
2004-11-14 5:46 ` [Bug tree-optimization/18472] " kazu at cs dot umass dot edu
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: kazu at cs dot umass dot edu @ 2004-11-14 5:34 UTC (permalink / raw)
To: gcc-bugs
tree-if-conv.c:tree_if_convert_stmt uses TREE_OPERAND (t, 1)
for t being GOTO_EXPR like so:
case GOTO_EXPR:
/* Unconditional goto */
add_to_predicate_list (bb_for_stmt (TREE_OPERAND (t, 1)), cond);
bsi_remove (bsi);
cond = NULL_TREE;
break;
GOTO_EXPR has only one operand, so TREE_OPERAND (t, 1) is wrong.
Also, nonlocal gotos are represented using __builtin_nonlocal_goto,
computed gotos are represented using GOTO_EXPR, and
all other gotos are represented implicitly.
I don't think the code there is designed to handle computed gotos,
but I could be wrong.
--
Summary: TREE_OPERAND (t, 1) is referenced for t being GOTO_EXPR
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kazu at cs dot umass dot edu
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18472
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/18472] TREE_OPERAND (t, 1) is referenced for t being GOTO_EXPR
2004-11-14 5:34 [Bug tree-optimization/18472] New: TREE_OPERAND (t, 1) is referenced for t being GOTO_EXPR kazu at cs dot umass dot edu
@ 2004-11-14 5:46 ` kazu at cs dot umass dot edu
2004-11-14 17:12 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: kazu at cs dot umass dot edu @ 2004-11-14 5:46 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dpatel at apple dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18472
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/18472] TREE_OPERAND (t, 1) is referenced for t being GOTO_EXPR
2004-11-14 5:34 [Bug tree-optimization/18472] New: TREE_OPERAND (t, 1) is referenced for t being GOTO_EXPR kazu at cs dot umass dot edu
2004-11-14 5:46 ` [Bug tree-optimization/18472] " kazu at cs dot umass dot edu
@ 2004-11-14 17:12 ` pinskia at gcc dot gnu dot org
2005-05-11 15:46 ` kazu at cs dot umass dot edu
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-14 17:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-14 17:12 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-11-14 17:12:11
date| |
Version|unknown |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18472
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/18472] TREE_OPERAND (t, 1) is referenced for t being GOTO_EXPR
2004-11-14 5:34 [Bug tree-optimization/18472] New: TREE_OPERAND (t, 1) is referenced for t being GOTO_EXPR kazu at cs dot umass dot edu
2004-11-14 5:46 ` [Bug tree-optimization/18472] " kazu at cs dot umass dot edu
2004-11-14 17:12 ` pinskia at gcc dot gnu dot org
@ 2005-05-11 15:46 ` kazu at cs dot umass dot edu
2005-05-11 18:27 ` cvs-commit at gcc dot gnu dot org
2005-05-11 18:30 ` kazu at cs dot umass dot edu
4 siblings, 0 replies; 6+ messages in thread
From: kazu at cs dot umass dot edu @ 2005-05-11 15:46 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |kazu at cs dot umass dot edu
|dot org |
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2005-
| |05/msg01018.html
Status|NEW |ASSIGNED
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18472
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/18472] TREE_OPERAND (t, 1) is referenced for t being GOTO_EXPR
2004-11-14 5:34 [Bug tree-optimization/18472] New: TREE_OPERAND (t, 1) is referenced for t being GOTO_EXPR kazu at cs dot umass dot edu
` (2 preceding siblings ...)
2005-05-11 15:46 ` kazu at cs dot umass dot edu
@ 2005-05-11 18:27 ` cvs-commit at gcc dot gnu dot org
2005-05-11 18:30 ` kazu at cs dot umass dot edu
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-11 18:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-11 18:27 -------
Subject: Bug 18472
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: kazu@gcc.gnu.org 2005-05-11 18:27:35
Modified files:
gcc : ChangeLog tree-if-conv.c
Log message:
PR tree-optimizer/18472
* tree-if-conv.c (tree_if_convert_stmt,
if_convertible_modify_expr_p): Don't handle GOTO_EXPR.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8737&r2=2.8738
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-if-conv.c.diff?cvsroot=gcc&r1=2.40&r2=2.41
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18472
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/18472] TREE_OPERAND (t, 1) is referenced for t being GOTO_EXPR
2004-11-14 5:34 [Bug tree-optimization/18472] New: TREE_OPERAND (t, 1) is referenced for t being GOTO_EXPR kazu at cs dot umass dot edu
` (3 preceding siblings ...)
2005-05-11 18:27 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-11 18:30 ` kazu at cs dot umass dot edu
4 siblings, 0 replies; 6+ messages in thread
From: kazu at cs dot umass dot edu @ 2005-05-11 18:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From kazu at cs dot umass dot edu 2005-05-11 18:30 -------
Just checked in a patch.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18472
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-05-11 18:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-14 5:34 [Bug tree-optimization/18472] New: TREE_OPERAND (t, 1) is referenced for t being GOTO_EXPR kazu at cs dot umass dot edu
2004-11-14 5:46 ` [Bug tree-optimization/18472] " kazu at cs dot umass dot edu
2004-11-14 17:12 ` pinskia at gcc dot gnu dot org
2005-05-11 15:46 ` kazu at cs dot umass dot edu
2005-05-11 18:27 ` cvs-commit at gcc dot gnu dot org
2005-05-11 18:30 ` kazu at cs dot umass dot edu
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).