public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings
@ 2003-11-19 15:05 steven at gcc dot gnu dot org
2003-11-20 16:26 ` [Bug middle-end/13127] " reichelt at gcc dot gnu dot org
` (18 more replies)
0 siblings, 19 replies; 20+ messages in thread
From: steven at gcc dot gnu dot org @ 2003-11-19 15:05 UTC (permalink / raw)
To: gcc-bugs
While looking at Bug 13000 I noticed this bug. Consider:
static int foo (int a) { }
int main (void) { return foo (0); }
Compile this with "-O2 -Wall" and you can see that when finalizing
`main' (after inlining foo of course), we produce this strange warning:
t.i:2: warning: '({anonymous})' might be used uninitialized in this function
Wtf :-)
Of course this is a regression from mainline and older GCCs.
--------------
$ cat t.i
static int foo (int a) { }
int main (void) { return foo (0); }
$ cc1 --version
GNU C version 3.5-tree-ssa 20031119 (merged 20031111) (i686-pc-linux-gnu)
compiled by GNU C version 3.5-tree-ssa 20031119 (merged 20031111).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
$ cc1 -O -Wall t.i
foo
t.i: In function `foo':
t.i:1: warning: control reaches end of non-void function
main
$ cc1 -O2 -Wall t.i
main
t.i: In function `main':
t.i:2: warning: '({anonymous})' might be used uninitialized in this function
--
Summary: [tree-ssa] Inlining causes spurious "might be used
uninitialized" warnings
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: steven at gcc dot gnu dot org
CC: dnovillo at redhat dot com,gcc-bugs at gcc dot gnu dot
org
GCC host triplet: any
BugsThisDependsOn: 13000
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/13127] [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
@ 2003-11-20 16:26 ` reichelt at gcc dot gnu dot org
2003-11-20 16:31 ` bangerth at dealii dot org
` (17 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-11-20 16:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-11-20 16:26 -------
With little variations you can get all sorts of funny behavior:
==================================
int foo () {}
int main () { return foo(); }
==================================
leads to
x.cc: In function `int foo()':
x.cc:1: warning: control reaches end of non-void function
which looks OK to me. However, with
==================================
int foo () {}
int main () { return foo(); }
==================================
I get
x.cc: In function `int foo()':
x.cc:1: warning: no return statement in function returning non-void
x.cc: In function `int main()':
x.cc:2: warning: '<anonymous>' might be used uninitialized in this function
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-11-20 16:26:36
date| |
Target Milestone|--- |tree-ssa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/13127] [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
2003-11-20 16:26 ` [Bug middle-end/13127] " reichelt at gcc dot gnu dot org
@ 2003-11-20 16:31 ` bangerth at dealii dot org
2003-11-21 23:28 ` reichelt at gcc dot gnu dot org
` (16 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: bangerth at dealii dot org @ 2003-11-20 16:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2003-11-20 16:31 -------
Volker: How do the two code snippets differ? I think one should be
different from the other, right?
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/13127] [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
2003-11-20 16:26 ` [Bug middle-end/13127] " reichelt at gcc dot gnu dot org
2003-11-20 16:31 ` bangerth at dealii dot org
@ 2003-11-21 23:28 ` reichelt at gcc dot gnu dot org
2004-02-06 6:17 ` pinskia at gcc dot gnu dot org
` (15 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-11-21 23:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-11-21 23:28 -------
Sorry. Cut-and-pasto. :-(
The second example should read
==================================
inline int foo () {}
int main () { return foo(); }
==================================
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/13127] [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
` (2 preceding siblings ...)
2003-11-21 23:28 ` reichelt at gcc dot gnu dot org
@ 2004-02-06 6:17 ` pinskia at gcc dot gnu dot org
2004-02-06 7:12 ` pinskia at gcc dot gnu dot org
` (14 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-06 6:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-06 06:17 -------
Using my patch for 13863 (which I am about to post) and setting TREE_NO_WARNING
for the decl which was created, this will be fixed.
Mine as I can fix this.
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |13863
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/13127] [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-02-06 6:17 ` pinskia at gcc dot gnu dot org
@ 2004-02-06 7:12 ` pinskia at gcc dot gnu dot org
2004-02-06 15:23 ` pinskia at gcc dot gnu dot org
` (13 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-06 7:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-06 07:12 -------
the fix would be set TREE_NO_WARNING in declare_return_variable on var, will test
after the patch for 13863 is done testing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/13127] [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-02-06 7:12 ` pinskia at gcc dot gnu dot org
@ 2004-02-06 15:23 ` pinskia at gcc dot gnu dot org
2004-02-06 15:42 ` pinskia at gcc dot gnu dot org
` (12 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-06 15:23 UTC (permalink / raw)
To: gcc-bugs
--
Bug 13127 depends on bug 13863, which changed state.
Bug 13863 Summary: [tree-ssa] gcc.dg/uninit-D.c fails
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13863
What |Old Value |New Value
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/13127] [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-02-06 15:23 ` pinskia at gcc dot gnu dot org
@ 2004-02-06 15:42 ` pinskia at gcc dot gnu dot org
2004-02-06 21:30 ` cvs-commit at gcc dot gnu dot org
` (11 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-06 15:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-06 15:42 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-02/msg00561.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/13127] [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
` (6 preceding siblings ...)
2004-02-06 15:42 ` pinskia at gcc dot gnu dot org
@ 2004-02-06 21:30 ` cvs-commit at gcc dot gnu dot org
2004-02-06 21:31 ` pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-06 21:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-06 21:30 -------
Subject: Bug 13127
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: pinskia@gcc.gnu.org 2004-02-06 21:30:06
Modified files:
gcc : ChangeLog.tree-ssa tree-inline.c
gcc/testsuite : ChangeLog.tree-ssa
Added files:
gcc/testsuite/gcc.dg: 20040206-1.c
Log message:
2004-02-06 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/13127
* tree-inline.c (declare_return_variable): Set the no warning bit
on the variable created for the return value.
2004-02-06 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/13127
* gcc.dg/20040206-1.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.1162&r2=1.1.2.1163
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-inline.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.26.2.80&r2=1.26.2.81
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.162&r2=1.1.2.163
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/20040206-1.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/13127] [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
` (7 preceding siblings ...)
2004-02-06 21:30 ` cvs-commit at gcc dot gnu dot org
@ 2004-02-06 21:31 ` pinskia at gcc dot gnu dot org
2004-08-18 7:34 ` rth at gcc dot gnu dot org
` (9 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-06 21:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-06 21:31 -------
The uninitialized warning is fixed, the only warning left is the one referenced in 13000, the testcase has
been xfailed for it.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/13127] [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
` (8 preceding siblings ...)
2004-02-06 21:31 ` pinskia at gcc dot gnu dot org
@ 2004-08-18 7:34 ` rth at gcc dot gnu dot org
2004-08-18 7:35 ` rth at gcc dot gnu dot org
` (8 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-08-18 7:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2004-08-18 07:34 -------
Broken again.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/13127] [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
` (9 preceding siblings ...)
2004-08-18 7:34 ` rth at gcc dot gnu dot org
@ 2004-08-18 7:35 ` rth at gcc dot gnu dot org
2004-08-18 14:53 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-08-18 7:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2004-08-18 07:35 -------
Mine.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|pinskia at gcc dot gnu dot |rth at gcc dot gnu dot org
|org |
Status|REOPENED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/13127] [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
` (10 preceding siblings ...)
2004-08-18 7:35 ` rth at gcc dot gnu dot org
@ 2004-08-18 14:53 ` pinskia at gcc dot gnu dot org
2004-09-24 4:11 ` [Bug middle-end/13127] [4.0 Regression] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-18 14:53 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|tree-ssa |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/13127] [4.0 Regression] Inlining causes spurious "might be used uninitialized" warnings
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
` (11 preceding siblings ...)
2004-08-18 14:53 ` pinskia at gcc dot gnu dot org
@ 2004-09-24 4:11 ` pinskia at gcc dot gnu dot org
2004-12-20 1:02 ` steven at gcc dot gnu dot org
` (5 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-24 4:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-24 04:11 -------
Since this broke again, my patch will not help anymore.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords|patch |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/13127] [4.0 Regression] Inlining causes spurious "might be used uninitialized" warnings
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
` (12 preceding siblings ...)
2004-09-24 4:11 ` [Bug middle-end/13127] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-12-20 1:02 ` steven at gcc dot gnu dot org
2005-01-09 0:48 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-12-20 1:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2004-12-20 01:02 -------
Still there...
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2004-12-12 21:52:45 |2004-12-20 01:02:48
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/13127] [4.0 Regression] Inlining causes spurious "might be used uninitialized" warnings
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
` (13 preceding siblings ...)
2004-12-20 1:02 ` steven at gcc dot gnu dot org
@ 2005-01-09 0:48 ` pinskia at gcc dot gnu dot org
2005-01-17 3:01 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-09 0:48 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Last reconfirmed|2004-12-20 01:02:48 |2005-01-09 00:48:14
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/13127] [4.0 Regression] Inlining causes spurious "might be used uninitialized" warnings
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
` (14 preceding siblings ...)
2005-01-09 0:48 ` pinskia at gcc dot gnu dot org
@ 2005-01-17 3:01 ` pinskia at gcc dot gnu dot org
2005-01-17 17:14 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-17 3:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-17 03:01 -------
Ian posted a patch here: <http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00957.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/13127] [4.0 Regression] Inlining causes spurious "might be used uninitialized" warnings
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
` (16 preceding siblings ...)
2005-01-17 17:14 ` cvs-commit at gcc dot gnu dot org
@ 2005-01-17 17:14 ` ian at airs dot com
2005-01-17 17:17 ` cvs-commit at gcc dot gnu dot org
18 siblings, 0 replies; 20+ messages in thread
From: ian at airs dot com @ 2005-01-17 17:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ian at airs dot com 2005-01-17 17:13 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/13127] [4.0 Regression] Inlining causes spurious "might be used uninitialized" warnings
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
` (15 preceding siblings ...)
2005-01-17 3:01 ` pinskia at gcc dot gnu dot org
@ 2005-01-17 17:14 ` cvs-commit at gcc dot gnu dot org
2005-01-17 17:14 ` ian at airs dot com
2005-01-17 17:17 ` cvs-commit at gcc dot gnu dot org
18 siblings, 0 replies; 20+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-17 17:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-17 17:13 -------
Subject: Bug 13127
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: ian@gcc.gnu.org 2005-01-17 17:12:31
Modified files:
gcc : ChangeLog tree-inline.c
Log message:
PR middle-end/13127:
* tree-inline.c (expand_call_inline): Set TREE_NO_WARNING on
a variable set to the return value of the inlined function.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7152&r2=2.7153
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-inline.c.diff?cvsroot=gcc&r1=1.162&r2=1.163
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug middle-end/13127] [4.0 Regression] Inlining causes spurious "might be used uninitialized" warnings
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
` (17 preceding siblings ...)
2005-01-17 17:14 ` ian at airs dot com
@ 2005-01-17 17:17 ` cvs-commit at gcc dot gnu dot org
18 siblings, 0 replies; 20+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-17 17:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-17 17:17 -------
Subject: Bug 13127
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: ian@gcc.gnu.org 2005-01-17 17:17:02
Modified files:
gcc/testsuite : ChangeLog
gcc/testsuite/gcc.dg: 20040206-1.c
Log message:
PR middle-end/13127
* gcc.dg/20040206-1.c: Remove xfail on bogus warning which is no
longer emitted.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4896&r2=1.4897
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/20040206-1.c.diff?cvsroot=gcc&r1=1.3&r2=1.4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13127
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2005-01-17 17:17 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-19 15:05 [Bug middle-end/13127] New: [tree-ssa] Inlining causes spurious "might be used uninitialized" warnings steven at gcc dot gnu dot org
2003-11-20 16:26 ` [Bug middle-end/13127] " reichelt at gcc dot gnu dot org
2003-11-20 16:31 ` bangerth at dealii dot org
2003-11-21 23:28 ` reichelt at gcc dot gnu dot org
2004-02-06 6:17 ` pinskia at gcc dot gnu dot org
2004-02-06 7:12 ` pinskia at gcc dot gnu dot org
2004-02-06 15:23 ` pinskia at gcc dot gnu dot org
2004-02-06 15:42 ` pinskia at gcc dot gnu dot org
2004-02-06 21:30 ` cvs-commit at gcc dot gnu dot org
2004-02-06 21:31 ` pinskia at gcc dot gnu dot org
2004-08-18 7:34 ` rth at gcc dot gnu dot org
2004-08-18 7:35 ` rth at gcc dot gnu dot org
2004-08-18 14:53 ` pinskia at gcc dot gnu dot org
2004-09-24 4:11 ` [Bug middle-end/13127] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-12-20 1:02 ` steven at gcc dot gnu dot org
2005-01-09 0:48 ` pinskia at gcc dot gnu dot org
2005-01-17 3:01 ` pinskia at gcc dot gnu dot org
2005-01-17 17:14 ` cvs-commit at gcc dot gnu dot org
2005-01-17 17:14 ` ian at airs dot com
2005-01-17 17:17 ` cvs-commit 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).