http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46331
Jerry DeLisle changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46331
--- Comment #4 from Jerry DeLisle 2010-11-10
04:58:23 UTC ---
Author: jvdelisle
Date: Wed Nov 10 04:58:16 2010
New Revision: 166520
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166520
Log:
2010-11-09 Jerry DeLisle
Mikael Mori
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46331
Jerry DeLisle changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46331
--- Comment #2 from Jerry DeLisle 2010-11-07
14:32:47 UTC ---
Patch: The part removed too agressively decides if an expression is constant.
In the case of rand(), the result obviously does not reduce to a constant but
the array constructor was e
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46331
--- Comment #1 from Jerry DeLisle 2010-11-06
16:09:30 UTC ---
I should add that if rand is the only function that acts like this, then this
is not of much value. While just playing around, this translates as expected.
(Nice short -fdump-tree-ori