[Bug c++/51264] O0 Bootstrap failure: control reaches end of non-void function

2011-11-22 Thread matz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51264 Michael Matz changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/51264] O0 Bootstrap failure: control reaches end of non-void function

2011-11-22 Thread matz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51264 --- Comment #10 from Michael Matz 2011-11-22 14:18:35 UTC --- Fixed. Improving the situation with the clobbers should be tracked somewhere else.

[Bug c++/51264] O0 Bootstrap failure: control reaches end of non-void function

2011-11-22 Thread matz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51264 --- Comment #9 from Michael Matz 2011-11-22 13:32:20 UTC --- Author: matz Date: Tue Nov 22 13:32:15 2011 New Revision: 181615 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181615 Log: PR c++/51264 * tree.c (iterative_hash_expr):

[Bug c++/51264] O0 Bootstrap failure: control reaches end of non-void function

2011-11-22 Thread matz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51264 Michael Matz changed: What|Removed |Added CC||matz at gcc dot gnu.org --- Comment #8 fro

[Bug c++/51264] O0 Bootstrap failure: control reaches end of non-void function

2011-11-21 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51264 --- Comment #7 from Andrew Pinski 2011-11-22 03:44:39 UTC --- Created attachment 25877 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25877 Patch which improves the use of clobbers for toplevel BIND expressions. Though at -O0 we should not

[Bug c++/51264] O0 Bootstrap failure: control reaches end of non-void function

2011-11-21 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51264 --- Comment #6 from Andrew Pinski 2011-11-22 03:03:37 UTC --- Hmm, I don't think we need a clobber for the outer most scope of the function really. Though that might only allow us to get the bootstrap to work better and might improve code genera

[Bug c++/51264] O0 Bootstrap failure: control reaches end of non-void function

2011-11-21 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51264 --- Comment #5 from vries at gcc dot gnu.org 2011-11-22 02:57:45 UTC --- Difference in dumps just before error in r181172, at tree.cc.014t.cfg: ... r181171 | r181172 unsigned int iterative_hash_expr(un unsigned int

[Bug c++/51264] O0 Bootstrap failure: control reaches end of non-void function

2011-11-21 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51264 --- Comment #4 from vries at gcc dot gnu.org 2011-11-22 02:52:20 UTC --- dumps start diverging at tree.cc.004t.gimple: ... r181171 | r181172 unsigned int iterative_hash_expr(un unsigned int iterative_hash_expr(un

[Bug c++/51264] O0 Bootstrap failure: control reaches end of non-void function

2011-11-21 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51264 vries at gcc dot gnu.org changed: What|Removed |Added CC||matz at suse dot de --- Comment

[Bug c++/51264] O0 Bootstrap failure: control reaches end of non-void function

2011-11-21 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51264 --- Comment #2 from Andrew Pinski 2011-11-22 01:47:58 UTC --- (In reply to comment #0) > This might be a duplicate of PR20681, but I'm filing it just in case it's not. It is. I had some patches which improve the situation here but I lost them

[Bug c++/51264] O0 Bootstrap failure: control reaches end of non-void function

2011-11-21 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51264 --- Comment #1 from vries at gcc dot gnu.org 2011-11-22 01:38:07 UTC --- Minimal example tree.cc: ... extern void iterative_hash (const int *); unsigned int iterative_hash_expr (unsigned int val) { int code; switch (val) { default: