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] |
Hello! Trivial fix, really. In sched-rgn.c, function rest_of_hanlde_sched2, we claim for if (flag_sched2_use_superblocks || flag_sched2_use_traces) that /* No liveness updating code yet, but it should be easy to do. reg-stack recomputes the liveness when needed for now. */ However, in reg-stack.c, function reg_to_stack, we run life analysis only for flag_sched2_use_superblocks flag. No wonder, that -fsched2-use-traces does not work... Attached patch fixes this oversight. 2005-11-07 Uros Bizjak <uros@kss-loka.si> PR target/19340 * reg-stack.c (reg_to_stack): Update register liveness also for flag_sched2_use_traces. testsuite/ PR target/19340 * gcc.dg/pr19340.c: New test. Patch is currently under regression test on i686-pc-linux-gnu. OK for mainline if regtest passes for c and c++? Uros.
Attachment:
pr19340.diff
Description: Binary data
Attachment:
pr19340.c
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |