[Bug rtl-optimization/11832] Optimization of common code in switch statements

2016-07-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11832 Bug 11832 depends on bug 23286, which changed state. Bug 23286 Summary: Missed code hoisting optimization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23286 What|Removed |Added

[Bug rtl-optimization/11832] Optimization of common code in switch statements

2009-07-02 Thread aldot at gcc dot gnu dot org
--- Comment #8 from aldot at gcc dot gnu dot org 2009-07-02 15:05 --- Important reminder from steven from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33828#c13 stevenb GCC should not hoist up further than up to the first common dominator. i.e. ..can be Hoisted to B from #3 and _not_

[Bug rtl-optimization/11832] Optimization of common code in switch statements

2009-07-02 Thread steven at gcc dot gnu dot org
--- Comment #9 from steven at gcc dot gnu dot org 2009-07-02 15:12 --- Note I have various working patches for GVN-based hoisting. All of them are actually too aggressive, causing failures in the vectorizer test cases (unrecognizable data dependency patterns). But I still intend to

[Bug rtl-optimization/11832] Optimization of common code in switch statements

2009-02-19 Thread danglin at gcc dot gnu dot org
--- Comment #7 from danglin at gcc dot gnu dot org 2009-02-19 14:52 --- Reconfirmed with trunk revision 144268. -- danglin at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/11832] Optimization of common code in switch statements

2008-01-03 Thread aldot at gcc dot gnu dot org
--- Comment #6 from aldot at gcc dot gnu dot org 2008-01-03 09:19 --- Dummy sample that has a hoisting opportunity: int bazoo (unsigned int in) { int i = 0; if (in = 0) ++i; /* hoist */ if (in = 1) ++i; if (in = 2) ++i; if (in = 3) ++i; if (in = 4) ++i;

[Bug rtl-optimization/11832] Optimization of common code in switch statements

2007-12-30 Thread aldot at gcc dot gnu dot org
--- Comment #5 from aldot at gcc dot gnu dot org 2007-12-30 10:47 --- Created an attachment (id=14842) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14842action=view) rough, half-finished, disfunctional thought; not a patch The attached thoughts do not yet insert/remove stmt

[Bug rtl-optimization/11832] Optimization of common code in switch statements

2007-08-22 Thread aldot at gcc dot gnu dot org
--- Comment #4 from aldot at gcc dot gnu dot org 2007-08-22 20:07 --- I'll try to find the time to thing about VN / PRE. Thanks, stevenb, for your comment. Please feel free to ping or take this if i time out (as usual).. -- aldot at gcc dot gnu dot org changed: What

[Bug rtl-optimization/11832] Optimization of common code in switch statements

2007-08-18 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2007-08-18 14:13 --- This is really a case of missed code hoisting. There are several ways to resolve this bug. The first thing I would do, is to experiment with the existing code hoisting pass in gcse.c. This pass is only enabled

[Bug rtl-optimization/11832] Optimization of common code in switch statements

2007-08-17 Thread aldot at gcc dot gnu dot org
-- aldot at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |aldot at gcc dot gnu dot org |dot org

[Bug rtl-optimization/11832] Optimization of common code in switch statements

2006-07-14 Thread christophe dot jaillet at wanadoo dot fr
--- Comment #2 from christophe dot jaillet at wanadoo dot fr 2006-07-14 21:11 --- I tried to compile it on my cygwin box and had a strange (and certainly unrelated) behaviour : gcc -O3 test.c -S Version 3.4.4 (must be the latest version available on cygwin :() Description : the case