------- Comment #12 from amylaar at gcc dot gnu dot org 2006-08-25 14:33 ------- (In reply to comment #11) > This potentially affects i686-pc-linux-gnu as it also uses the mode switching > code. I think this should go in.
As far as I can see, the i387 mode switching is already completely broken, because it treats the different modes of a single mode-switchable entity as separate entities. However, unless "TARGET_USE_FANCY_MATH_387 && flag_unsafe_math_optimizations" is true, the only mode used is I387_CW_TRUNC, which allows all the LCM problems to be trivially solved by either inserting no mode switch (if no user is present), or inserting a single mode switch in a common dominator. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28764