public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/44938] Variable origtypes in c-parser.c accessed uninitialized
[not found] <bug-44938-4@http.gcc.gnu.org/bugzilla/>
@ 2011-08-06 15:47 ` marc.glisse at normalesup dot org
2013-02-12 19:15 ` matt at use dot net
` (4 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: marc.glisse at normalesup dot org @ 2011-08-06 15:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44938
Marc Glisse <marc.glisse at normalesup dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marc.glisse at normalesup
| |dot org
--- Comment #1 from Marc Glisse <marc.glisse at normalesup dot org> 2011-08-06 15:47:21 UTC ---
This breaks a -O3 bootstrap (-Werror turns the warning into an error). The code
looks like:
VEC(tree,gc) *origtypes;
...
if(...)
exprlist = NULL;
else
exprlist = c_parser_expr_list (parser, true, false, &origtypes);
...
expr.value = build_function_call_vec (op_loc, expr.value, exprlist,
origtypes);
So g++ is right to warn (even if origtypes is probably unused in that case).
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/44938] Variable origtypes in c-parser.c accessed uninitialized
[not found] <bug-44938-4@http.gcc.gnu.org/bugzilla/>
2011-08-06 15:47 ` [Bug c/44938] Variable origtypes in c-parser.c accessed uninitialized marc.glisse at normalesup dot org
@ 2013-02-12 19:15 ` matt at use dot net
2013-02-12 19:19 ` mpolacek at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: matt at use dot net @ 2013-02-12 19:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44938
Matt Hargett <matt at use dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |matt at use dot net
--- Comment #2 from Matt Hargett <matt at use dot net> 2013-02-12 19:15:31 UTC ---
also fails with current trunk with bootstrap-O3 and bootstrap-lto-O3.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/44938] Variable origtypes in c-parser.c accessed uninitialized
[not found] <bug-44938-4@http.gcc.gnu.org/bugzilla/>
2011-08-06 15:47 ` [Bug c/44938] Variable origtypes in c-parser.c accessed uninitialized marc.glisse at normalesup dot org
2013-02-12 19:15 ` matt at use dot net
@ 2013-02-12 19:19 ` mpolacek at gcc dot gnu.org
2013-02-12 20:05 ` mpolacek at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-02-12 19:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44938
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-02-12 19:18:30 UTC ---
http://gcc.gnu.org/ml/gcc-patches/2013-02/msg00324.html this ought to fix it.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/44938] Variable origtypes in c-parser.c accessed uninitialized
[not found] <bug-44938-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2013-02-12 19:19 ` mpolacek at gcc dot gnu.org
@ 2013-02-12 20:05 ` mpolacek at gcc dot gnu.org
2013-02-12 20:07 ` mpolacek at gcc dot gnu.org
2013-02-12 20:09 ` mpolacek at gcc dot gnu.org
5 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-02-12 20:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44938
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2013-02-12
AssignedTo|unassigned at gcc dot |mpolacek at gcc dot gnu.org
|gnu.org |
Ever Confirmed|0 |1
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-02-12 20:05:11 UTC ---
I have a patch.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/44938] Variable origtypes in c-parser.c accessed uninitialized
[not found] <bug-44938-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2013-02-12 20:05 ` mpolacek at gcc dot gnu.org
@ 2013-02-12 20:07 ` mpolacek at gcc dot gnu.org
2013-02-12 20:09 ` mpolacek at gcc dot gnu.org
5 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-02-12 20:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44938
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-02-12 20:07:30 UTC ---
Author: mpolacek
Date: Tue Feb 12 20:07:04 2013
New Revision: 195989
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195989
Log:
Fix bootstrap with -O3.
Modified:
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-parser.c
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/44938] Variable origtypes in c-parser.c accessed uninitialized
[not found] <bug-44938-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2013-02-12 20:07 ` mpolacek at gcc dot gnu.org
@ 2013-02-12 20:09 ` mpolacek at gcc dot gnu.org
5 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-02-12 20:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44938
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-02-12 20:08:45 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-02-12 20:09 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-44938-4@http.gcc.gnu.org/bugzilla/>
2011-08-06 15:47 ` [Bug c/44938] Variable origtypes in c-parser.c accessed uninitialized marc.glisse at normalesup dot org
2013-02-12 19:15 ` matt at use dot net
2013-02-12 19:19 ` mpolacek at gcc dot gnu.org
2013-02-12 20:05 ` mpolacek at gcc dot gnu.org
2013-02-12 20:07 ` mpolacek at gcc dot gnu.org
2013-02-12 20:09 ` mpolacek at gcc dot gnu.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).