[Bug tree-optimization/46403] inefficient PRE bloat code size

2010-11-10 Thread xinliangli at gmail dot com
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

[Bug tree-optimization/46403] inefficient PRE bloat code size

2010-11-10 Thread pinskia at gcc dot gnu.org
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.

[Bug tree-optimization/46403] inefficient PRE bloat code size

2010-11-10 Thread xinliangli at gmail dot com
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;

[Bug tree-optimization/46403] inefficient PRE bloat code size

2010-11-10 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46403 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|