http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46403
--- Comment #4 from davidxl 2010-11-10 18:01:46
UTC ---
(In reply to comment #3)
> I think what you are seeing is tail duplication happening.
Right, disabling bb-reordering, the duplication does not happen -- looks like
something to tune.
David
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46403
--- Comment #3 from Andrew Pinski 2010-11-10
17:53:41 UTC ---
I think what you are seeing is tail duplication happening.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46403
--- Comment #2 from davidxl 2010-11-10 17:50:37
UTC ---
Yes, there is redundancy removed for a[x] -- but for *y, it should not be
duplicated. See the following example:
int a[100];
int foo(int x, int* y, int *yy, int *yyy, int z)
{
int m;
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46403
Richard Guenther changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|