https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60770
--- Comment #15 from Orgad Shaneh ---
test.cpp: In function ‘int f(int)’:
test.cpp:7:11: warning: ‘q’ is used uninitialized in this function
[-Wuninitialized]
7 | return *p;
| ^
Is this the intended description? It doesn't
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60770
--- Comment #14 from Marc Glisse ---
(In reply to Orgad Shaneh from comment #13)
> The case described in comment 1 doesn't issue a warning with GCC 10.
It does for me with -Wall -O (you need at least some optimization). If there is
still a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60770
Orgad Shaneh changed:
What|Removed |Added
CC||orgads at gmail dot com
--- Comment #13
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60770
--- Comment #11 from Marc Glisse glisse at gcc dot gnu.org ---
Author: glisse
Date: Sat Nov 22 14:28:19 2014
New Revision: 217967
URL: https://gcc.gnu.org/viewcvs?rev=217967root=gccview=rev
Log:
2014-11-22 Marc Glisse marc.gli...@inria.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60770
Marc Glisse glisse at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60770
--- Comment #10 from Marc Glisse glisse at gcc dot gnu.org ---
Author: glisse
Date: Mon Nov 3 10:47:04 2014
New Revision: 217034
URL: https://gcc.gnu.org/viewcvs?rev=217034root=gccview=rev
Log:
2014-11-03 Marc Glisse marc.gli...@inria.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60770
--- Comment #7 from Marc Glisse glisse at gcc dot gnu.org ---
Created attachment 33024
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33024action=edit
replace clobber with default def
This passes bootstrap+testsuite with all default
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60770
Eric Botcazou ebotcazou at gcc dot gnu.org changed:
What|Removed |Added
CC||ebotcazou at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60770
--- Comment #9 from Marc Glisse glisse at gcc dot gnu.org ---
The warnings are normal, they also appear in a non-patched build, so that
leaves only the coalesce errors.
(In reply to Eric Botcazou from comment #8)
The Ada front-end is the only
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60770
--- Comment #6 from Marc Glisse glisse at gcc dot gnu.org ---
(In reply to Marc Glisse from comment #5)
The problem is during the TODO, in execute_update_addresses_taken, which
finds out that q does not need its address taken anymore, and
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60770
--- Comment #5 from Marc Glisse glisse at gcc dot gnu.org ---
Looking at comment #1 more closely, the problem is not with CCP, which
produces:
q = n_2(D);
q ={v} {CLOBBER};
_6 = q;
return _6;
The problem is during the TODO, in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60770
--- Comment #3 from Richard Biener rguenth at gcc dot gnu.org ---
Yeah, you simply need to catch this earlier ...
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60770
--- Comment #4 from Marc Glisse glisse at gcc dot gnu.org ---
Catching it earlier may be hard, even for these trivial examples we only have
from einline (18) to esra (24) or from eh (10) to ccp1 (21) and in more
complicated examples I fear the
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60770
--- Comment #1 from Marc Glisse glisse at gcc dot gnu.org ---
int f(int n){
int*p;
{
int q=n;
p=q;
}
return *p;
}
Here CCP turns:
q = n_2(D);
p_4 = q;
q ={v} {CLOBBER};
_6 = *p_4;
into:
q_5 = n_2(D);
_6 = q_5;
I
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60770
Manuel López-Ibáñez manu at gcc dot gnu.org changed:
What|Removed |Added
CC||manu at gcc
15 matches
Mail list logo