[Bug tree-optimization/60770] disappearing clobbers

2021-01-27 Thread orgads at gmail dot com via Gcc-bugs
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

[Bug tree-optimization/60770] disappearing clobbers

2021-01-27 Thread glisse at gcc dot gnu.org via Gcc-bugs
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

[Bug tree-optimization/60770] disappearing clobbers

2021-01-27 Thread orgads at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60770 Orgad Shaneh changed: What|Removed |Added CC||orgads at gmail dot com --- Comment #13

[Bug tree-optimization/60770] disappearing clobbers

2014-11-22 Thread glisse at gcc dot gnu.org
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

[Bug tree-optimization/60770] disappearing clobbers

2014-11-22 Thread glisse at gcc dot gnu.org
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

[Bug tree-optimization/60770] disappearing clobbers

2014-11-03 Thread glisse at gcc dot gnu.org
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

[Bug tree-optimization/60770] disappearing clobbers

2014-06-28 Thread glisse at gcc dot gnu.org
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

[Bug tree-optimization/60770] disappearing clobbers

2014-06-28 Thread ebotcazou at gcc dot gnu.org
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

[Bug tree-optimization/60770] disappearing clobbers

2014-06-28 Thread glisse at gcc dot gnu.org
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

[Bug tree-optimization/60770] disappearing clobbers

2014-06-27 Thread glisse at gcc dot gnu.org
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

[Bug tree-optimization/60770] disappearing clobbers

2014-06-22 Thread glisse at gcc dot gnu.org
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

[Bug tree-optimization/60770] disappearing clobbers

2014-04-07 Thread rguenth at gcc dot gnu.org
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 ...

[Bug tree-optimization/60770] disappearing clobbers

2014-04-07 Thread glisse at gcc dot gnu.org
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

[Bug tree-optimization/60770] disappearing clobbers

2014-04-06 Thread glisse at gcc dot gnu.org
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

[Bug tree-optimization/60770] disappearing clobbers

2014-04-06 Thread manu at gcc dot gnu.org
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