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/52445] [4.6/4.7 Regression] conditional store replacement causes segfault in generated code


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

--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-01 10:47:25 UTC ---
Ok with

+      && TREE_CODE (TREE_OPERAND (exp, 0)) == SSA_NAME
+      && host_integerp (TREE_OPERAND (exp, 1), 0))

also checking that int_size_in_bytes does not return -1.


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