[Bug inline-asm/23200] [4.0/4.1/4.2/4.3 regression] rejects "i"(&var + 1)

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 22 15:53:00 GMT 2007



------- Comment #32 from jakub at gcc dot gnu dot org  2007-11-22 15:52 -------
Or alternatively make sure to gimplify all inputs which allow reg or mem
first, then gimplify those that don't allow either, which for -O0 should
hopefully mean all such expressions stay in the same basic block as the asm
and then if (!optimize) in expand_gimple_basic_block look at asm inputs and
if some of them doesn't allow mem nor reg and is gimple register, walk back
to find definitions within the bb and reconstruct the expression (kind of very
lame TER alternative) and stop whenever some of the used gimple reg definitions
can't be found, or once it is not TREE_CONSTANT.


-- 


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



More information about the Gcc-bugs mailing list