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 inline-asm/15740] [3.5 Regression] ICE caused by a memory operand in an asm statement


------- Additional Comments From dnovillo at gcc dot gnu dot org  2004-07-20 19:08 -------

ISTR fixing this in copy_if_shared_r.  The idea is to piggyback marking the
variable as addressable together with the pre-gimple unsharing pass.

I think rth took it out when he fixed the vararg stuff.  I see 3 options:

1- Add a call to mark_addressable in copy_if_shared_r.
2- Do another tree walk before gimplification.
3- As Andrew mentioned in comment #1, have the FEs mark the variables when they
find an __asm__.

I think I prefer (3).  Richard?  Jason?  Any other ideas?


Diego.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu dot org,
                   |                            |jason at gcc dot gnu dot org


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


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