This is the mail archive of the gcc-patches@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]

[committed] Fix PR tree-opt/20188 asm and V_MAY_DEFs


The problem here is that we were not scanning inline-asm's input and output constraints
for memory accesses which causes us not to add V_MAY_DEF on the asm statement.
This patch fixes the problem by looking and was approved by Diego in the bugzilla.


Bootstrapped and tested on powerpc-darwin with no regressions.

Committed to both the 4.0 branch and the mainline as this is a regression.

Thanks,
Andrew Pinski

2005-02-26 Andrew Pinski <pinskia@physics.uc.edu>

        PR tree-opt/20188
        * gcc.dg/tree-ssa/inline_asm-1.c: New test.
        * gcc.dg/tree-ssa/inline_asm-2.c: New test.
        * gcc.dg/asm-b.c: New test.

2005-02-26 Andrew Pinski <pinskia@physics.uc.edu>

        PR tree-opt/20188
        * tree-ssa-alias.c (count_uses_and_derefs): If we have TREE_LIST
        for the lhs, also walk over the tree.  Likewise for rhs.


Attachment: fixinline-asm.diff.txt
Description: Text document


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