This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/35044] resource.c:find_dead_or_set_registers doesn't grok COND_EXEC
- From: "amylaar at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 20 Sep 2012 02:07:01 +0000
- Subject: [Bug rtl-optimization/35044] resource.c:find_dead_or_set_registers doesn't grok COND_EXEC
- Auto-submitted: auto-generated
- References: <bug-35044-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35044
--- Comment #5 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2012-09-20 02:07:01 UTC ---
(In reply to comment #4)
> Another testcase for ARC700 is: gcc.c-torture/execute/builtin-bitops-1.c -O1
Sorry, that's a mixup: the above is a testcase of an analogous bug in
rtlanal.c:dead_or_set_regno_p .
Note that the policy for ambiguous codes like POST_INC, ZERO_EXTRACT or
COND_EXEC of mark_set_resources is different from dead_or_set_p:
while the former errs on the side of marking something set, the latter
(is suspposed to) err(s) on the side of something not entirely killed.