This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/35607] [4.4 Regression] IVOPTs produces invalid gimple



------- Comment #5 from rguenth at gcc dot gnu dot org  2008-03-16 12:32 -------
One solution is to, in expand_simple_operations, expand all TREE_INVARIANT
operations so we end up with

  # ivtmp.16_1 = PHI <ivtmp.16_11(5), &__fini_array_start[(unsigned int)
(((int) &__fini_array_end - (int) &__fini_array_start) /[ex] 4)](3)>

instead which we can let pass verification without fatal effects.

The other solution is to kill TREE_INVARIANT from everything but constants
and invariant addresses during gimplification.

Anyone with other options?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35607


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]