[Bug tree-optimization/68529] scev failed for while(i--)

2015-12-03 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68529 amker at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--

[Bug tree-optimization/68529] scev failed for while(i--)

2015-11-30 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68529 --- Comment #7 from amker at gcc dot gnu.org --- Author: amker Date: Tue Dec 1 05:22:16 2015 New Revision: 231097 URL: https://gcc.gnu.org/viewcvs?rev=231097&root=gcc&view=rev Log: PR tree-optimization/68529 * tree-ssa-loop-nite

[Bug tree-optimization/68529] scev failed for while(i--)

2015-11-25 Thread majun4950646 at 163 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68529 --- Comment #6 from majun --- (In reply to bin.cheng from comment #5) > The dump before ldist is as below: > > foo1 () > { > unsigned int nchar; > char c[1]; > > : > c = {}; > > : > # nchar_14 = PHI > c[nchar_14] = 65; > n

[Bug tree-optimization/68529] scev failed for while(i--)

2015-11-25 Thread amker.cheng at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68529 --- Comment #5 from bin.cheng --- The dump before ldist is as below: foo1 () { unsigned int nchar; char c[1]; : c = {}; : # nchar_14 = PHI c[nchar_14] = 65; nchar_5 = nchar_14 + 4294967295; if (nchar_14 != 0) goto ;

[Bug tree-optimization/68529] scev failed for while(i--)

2015-11-25 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68529 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org --- C

[Bug tree-optimization/68529] scev failed for while(i--)

2015-11-25 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68529 --- Comment #3 from rguenther at suse dot de --- On Wed, 25 Nov 2015, majun4950646 at 163 dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68529 > > --- Comment #2 from majun --- > (In reply to Richard Biener from comment #1) > >

[Bug tree-optimization/68529] scev failed for while(i--)

2015-11-25 Thread majun4950646 at 163 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68529 --- Comment #2 from majun --- (In reply to Richard Biener from comment #1) > Confirmed, mine. This happens because get_inner_reference converts nchar_14 > to sizetype and thus we analyze the evolution of (uint64_t) nchar_14 which > isn't affine

[Bug tree-optimization/68529] scev failed for while(i--)

2015-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68529 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|