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]

Re: [PATCH] PR/29840, fwprop chokes on PA


Eric Botcazou wrote:
In some cases, fwprop would forward propagate call-clobbered hard
registers across function calls.  This is fixed easily by passing
DF_HARD_REGS to df_init: then dataflow will create fake definitions for
these call clobbered registers, which is enough to fix the testcase in
the PR audit trail.  (I don't know PA assembler, but the bad
propagations disappear from the fwprop1 dump).

What's the relationship between this and...


Another fix, merged from dataflow branch, is to skip artificial defs and
uses.

...that? (a comment would be nice on the new DF_REF_ARTIFICIAL guards).

To bootstrap on PA, you need both.


Paolo


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