public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled
@ 2004-02-11 10:45 steven at gcc dot gnu dot org
2004-02-11 10:46 ` [Bug middle-end/14107] " steven at gcc dot gnu dot org
` (19 more replies)
0 siblings, 20 replies; 21+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-02-11 10:45 UTC (permalink / raw)
To: gcc-bugs
Things need to be re-rearranged such that -Wreturn-type warnings work again
without -O.
These test cases have been xfailed because of this:
g++.old-deja/g++.bugs/900205_03.C
g++.old-deja/g++.mike/p646.C
--
Summary: [tree-ssa] Return warnings don't work without
optimizations enabled
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Keywords: xfail
Severity: minor
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: steven at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/14107] [tree-ssa] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
@ 2004-02-11 10:46 ` steven at gcc dot gnu dot org
2004-02-11 10:46 ` steven at gcc dot gnu dot org
` (18 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-02-11 10:46 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |tree-ssa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/14107] [tree-ssa] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
2004-02-11 10:46 ` [Bug middle-end/14107] " steven at gcc dot gnu dot org
@ 2004-02-11 10:46 ` steven at gcc dot gnu dot org
2004-02-11 16:10 ` pinskia at gcc dot gnu dot org
` (17 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-02-11 10:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2004-02-11 10:46 -------
Created an attachment (id=5723)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5723&action=view)
patch that xfailed the tests
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/14107] [tree-ssa] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
2004-02-11 10:46 ` [Bug middle-end/14107] " steven at gcc dot gnu dot org
2004-02-11 10:46 ` steven at gcc dot gnu dot org
@ 2004-02-11 16:10 ` pinskia at gcc dot gnu dot org
2004-04-22 4:15 ` bje at gcc dot gnu dot org
` (16 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-11 16:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-11 16:10 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Known to fail| |tree-ssa
Known to work| |3.4.0
Last reconfirmed|0000-00-00 00:00:00 |2004-02-11 16:10:37
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/14107] [tree-ssa] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-02-11 16:10 ` pinskia at gcc dot gnu dot org
@ 2004-04-22 4:15 ` bje at gcc dot gnu dot org
2004-04-23 1:40 ` bje at gcc dot gnu dot org
` (15 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: bje at gcc dot gnu dot org @ 2004-04-22 4:15 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |bje at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/14107] [tree-ssa] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-04-22 4:15 ` bje at gcc dot gnu dot org
@ 2004-04-23 1:40 ` bje at gcc dot gnu dot org
2004-05-04 12:18 ` steven at gcc dot gnu dot org
` (14 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: bje at gcc dot gnu dot org @ 2004-04-23 1:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bje at gcc dot gnu dot org 2004-04-23 01:26 -------
The diagnostic depends on a CFG being available and we do not have a tree CFG at
-O0 right now. Dropping this PR from my list as it is a much bigger can of
worms than I expected .. :-)
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|bje at gcc dot gnu dot org |unassigned at gcc dot gnu
| |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/14107] [tree-ssa] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-04-23 1:40 ` bje at gcc dot gnu dot org
@ 2004-05-04 12:18 ` steven at gcc dot gnu dot org
2004-06-01 16:31 ` [Bug tree-optimization/14107] [3.5 Regression] " pinskia at gcc dot gnu dot org
` (13 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-05-04 12:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2004-05-04 12:18 -------
The CFG will be available at -O0 when the tree-profiling branch is merged.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug tree-optimization/14107] [3.5 Regression] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-05-04 12:18 ` steven at gcc dot gnu dot org
@ 2004-06-01 16:31 ` pinskia at gcc dot gnu dot org
2004-06-10 19:36 ` pinskia at gcc dot gnu dot org
` (12 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-01 16:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-01 16:31 -------
*** Bug 15763 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |belyshev at lubercy dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug tree-optimization/14107] [3.5 Regression] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
` (6 preceding siblings ...)
2004-06-01 16:31 ` [Bug tree-optimization/14107] [3.5 Regression] " pinskia at gcc dot gnu dot org
@ 2004-06-10 19:36 ` pinskia at gcc dot gnu dot org
2004-06-11 20:39 ` mrs at apple dot com
` (11 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-10 19:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-10 19:36 -------
*** Bug 15912 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |jan at etpmod dot phys dot
| |tue dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug tree-optimization/14107] [3.5 Regression] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
` (7 preceding siblings ...)
2004-06-10 19:36 ` pinskia at gcc dot gnu dot org
@ 2004-06-11 20:39 ` mrs at apple dot com
2004-06-11 21:28 ` mrs at apple dot com
` (10 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: mrs at apple dot com @ 2004-06-11 20:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mrs at apple dot com 2004-06-11 20:39 -------
> This sould go into mainline, not some side branch, as it fails in mainline.
Ok, I added them.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug tree-optimization/14107] [3.5 Regression] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
` (8 preceding siblings ...)
2004-06-11 20:39 ` mrs at apple dot com
@ 2004-06-11 21:28 ` mrs at apple dot com
2004-06-11 21:31 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: mrs at apple dot com @ 2004-06-11 21:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mrs at apple dot com 2004-06-11 21:28 -------
This is Apple Radar 3689471.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug tree-optimization/14107] [3.5 Regression] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
` (9 preceding siblings ...)
2004-06-11 21:28 ` mrs at apple dot com
@ 2004-06-11 21:31 ` pinskia at gcc dot gnu dot org
2004-06-15 20:38 ` cvs-commit at gcc dot gnu dot org
` (8 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-11 21:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-11 21:31 -------
IIRC this fixed on the tree-profiling branch so when the patches gets merged in this will be fixed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug tree-optimization/14107] [3.5 Regression] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
` (10 preceding siblings ...)
2004-06-11 21:31 ` pinskia at gcc dot gnu dot org
@ 2004-06-15 20:38 ` cvs-commit at gcc dot gnu dot org
2004-06-17 21:53 ` cvs-commit at gcc dot gnu dot org
` (7 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-06-15 20:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-06-15 20:38 -------
Subject: Bug 14107
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jason@gcc.gnu.org 2004-06-15 20:38:40
Modified files:
gcc/cp : ChangeLog decl.c
gcc/testsuite/g++.old-deja/g++.brendan: crash52.C
gcc/testsuite/g++.old-deja/g++.jason: report.C
Added files:
gcc/testsuite/g++.dg/init: new10.C
gcc/testsuite/g++.dg/warn: Wreturn-type-1.C
Log message:
PR tree-optimization/14107
* decl.c (finish_function): Warn about no return in all functions.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4098&r2=1.4099
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1216&r2=1.1217
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/new10.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/warn/Wreturn-type-1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.brendan/crash52.C.diff?cvsroot=gcc&r1=1.6&r2=1.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.jason/report.C.diff?cvsroot=gcc&r1=1.11&r2=1.12
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug tree-optimization/14107] [3.5 Regression] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
` (11 preceding siblings ...)
2004-06-15 20:38 ` cvs-commit at gcc dot gnu dot org
@ 2004-06-17 21:53 ` cvs-commit at gcc dot gnu dot org
2004-06-18 9:39 ` bonzini at gnu dot org
` (6 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-06-17 21:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-06-17 21:53 -------
Subject: Bug 14107
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jason@gcc.gnu.org 2004-06-17 21:53:46
Modified files:
gcc/testsuite/g++.old-deja/g++.mike: p646.C
gcc/testsuite/g++.old-deja/g++.bugs: 900205_03.C
Log message:
PR tree-optimization/14107
* decl.c (finish_function): Warn about no return in all functions.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.mike/p646.C.diff?cvsroot=gcc&r1=1.9&r2=1.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.bugs/900205_03.C.diff?cvsroot=gcc&r1=1.6&r2=1.7
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug tree-optimization/14107] [3.5 Regression] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
` (12 preceding siblings ...)
2004-06-17 21:53 ` cvs-commit at gcc dot gnu dot org
@ 2004-06-18 9:39 ` bonzini at gnu dot org
2004-06-24 16:35 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: bonzini at gnu dot org @ 2004-06-18 9:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bonzini at gnu dot org 2004-06-18 09:39 -------
CFG-transparent expansion (and CFG at -O0) were approved yesterday.
I am testing a patch to move the pass_warn_function_return just before
pass_mudflap_2. It also requires touching tree-cfg.c to changing
pass_warn_function_return's required PROP_ssa property into PROP_cfg (looks like
a typo).
Paolo
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug tree-optimization/14107] [3.5 Regression] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
` (13 preceding siblings ...)
2004-06-18 9:39 ` bonzini at gnu dot org
@ 2004-06-24 16:35 ` pinskia at gcc dot gnu dot org
2004-06-24 16:46 ` paolo dot bonzini at polimi dot it
` (4 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-24 16:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-24 16:25 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-06/msg01725.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug tree-optimization/14107] [3.5 Regression] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
` (14 preceding siblings ...)
2004-06-24 16:35 ` pinskia at gcc dot gnu dot org
@ 2004-06-24 16:46 ` paolo dot bonzini at polimi dot it
2004-06-24 22:22 ` mrs at apple dot com
` (3 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: paolo dot bonzini at polimi dot it @ 2004-06-24 16:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From paolo dot bonzini at polimi dot it 2004-06-24 16:35 -------
Subject: Re: [3.5 Regression] Return warnings
don't work without optimizations enabled
> Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-06/msg01725.html>.
Also requires a fix to g++.jason/report.C because of additional warnings
reported.
Paolo
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug tree-optimization/14107] [3.5 Regression] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
` (15 preceding siblings ...)
2004-06-24 16:46 ` paolo dot bonzini at polimi dot it
@ 2004-06-24 22:22 ` mrs at apple dot com
2004-06-24 22:39 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: mrs at apple dot com @ 2004-06-24 22:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mrs at apple dot com 2004-06-24 22:12 -------
I'm confused. Is this fixed? If so, let's advance the status?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug tree-optimization/14107] [3.5 Regression] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
` (16 preceding siblings ...)
2004-06-24 22:22 ` mrs at apple dot com
@ 2004-06-24 22:39 ` pinskia at gcc dot gnu dot org
2004-07-12 6:56 ` cvs-commit at gcc dot gnu dot org
2004-07-12 7:08 ` pinskia at gcc dot gnu dot org
19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-24 22:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-24 22:22 -------
The patch for this has been posted but not reviewed yet.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug tree-optimization/14107] [3.5 Regression] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
` (17 preceding siblings ...)
2004-06-24 22:39 ` pinskia at gcc dot gnu dot org
@ 2004-07-12 6:56 ` cvs-commit at gcc dot gnu dot org
2004-07-12 7:08 ` pinskia at gcc dot gnu dot org
19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-12 6:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-07-12 06:56 -------
Subject: Bug 14107
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: bonzini@gcc.gnu.org 2004-07-12 06:56:48
Modified files:
gcc : ChangeLog gimplify.c tree-optimize.c
gcc/cp : ChangeLog decl.c
Log message:
gcc/ChangeLog:
2004-06-29 Paolo Bonzini <bonzini@gnu.org>
PR tree-optimization/14107
* gimplify.c (gimplify_return_expr): Accept a
RETURN_EXPR with an error argument.
* tree-optimize.c (init_tree_optimization_passes):
Run pass_warn_function_return at -O0.
gcc/cp/ChangeLog:
2004-06-29 Paolo Bonzini <bonzini@gnu.org>
PR tree-optimization/14107
* decl.c (finish_function): Remove temporary band-aid.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.4480&r2=2.4481
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gimplify.c.diff?cvsroot=gcc&r1=2.44&r2=2.45
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-optimize.c.diff?cvsroot=gcc&r1=2.28&r2=2.29
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4187&r2=1.4188
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1241&r2=1.1242
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug tree-optimization/14107] [3.5 Regression] Return warnings don't work without optimizations enabled
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
` (18 preceding siblings ...)
2004-07-12 6:56 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-12 7:08 ` pinskia at gcc dot gnu dot org
19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-12 7:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-12 07:08 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14107
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2004-07-12 7:08 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-11 10:45 [Bug middle-end/14107] New: [tree-ssa] Return warnings don't work without optimizations enabled steven at gcc dot gnu dot org
2004-02-11 10:46 ` [Bug middle-end/14107] " steven at gcc dot gnu dot org
2004-02-11 10:46 ` steven at gcc dot gnu dot org
2004-02-11 16:10 ` pinskia at gcc dot gnu dot org
2004-04-22 4:15 ` bje at gcc dot gnu dot org
2004-04-23 1:40 ` bje at gcc dot gnu dot org
2004-05-04 12:18 ` steven at gcc dot gnu dot org
2004-06-01 16:31 ` [Bug tree-optimization/14107] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-06-10 19:36 ` pinskia at gcc dot gnu dot org
2004-06-11 20:39 ` mrs at apple dot com
2004-06-11 21:28 ` mrs at apple dot com
2004-06-11 21:31 ` pinskia at gcc dot gnu dot org
2004-06-15 20:38 ` cvs-commit at gcc dot gnu dot org
2004-06-17 21:53 ` cvs-commit at gcc dot gnu dot org
2004-06-18 9:39 ` bonzini at gnu dot org
2004-06-24 16:35 ` pinskia at gcc dot gnu dot org
2004-06-24 16:46 ` paolo dot bonzini at polimi dot it
2004-06-24 22:22 ` mrs at apple dot com
2004-06-24 22:39 ` pinskia at gcc dot gnu dot org
2004-07-12 6:56 ` cvs-commit at gcc dot gnu dot org
2004-07-12 7:08 ` 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).