public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/43593] New: Var-tracking unnecessarily flushes all call used registers on calls instead of regs invalidated by call
@ 2010-03-30 20:00 jakub at gcc dot gnu dot org
2010-03-30 20:17 ` [Bug debug/43593] " jakub at gcc dot gnu dot org
2010-03-30 20:18 ` jakub at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-03-30 20:00 UTC (permalink / raw)
To: gcc-bugs
Flushing e.g. sp on each call is completely unnecessary:
for (r = 0; r < FIRST_PSEUDO_REGISTER; r++)
- if (TEST_HARD_REG_BIT (call_used_reg_set, r))
+ if (TEST_HARD_REG_BIT (regs_invalidated_by_call, r))
var_regno_delete (set, r);
--
Summary: Var-tracking unnecessarily flushes all call used
registers on calls instead of regs invalidated by call
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: jakub at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43593
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug debug/43593] Var-tracking unnecessarily flushes all call used registers on calls instead of regs invalidated by call
2010-03-30 20:00 [Bug debug/43593] New: Var-tracking unnecessarily flushes all call used registers on calls instead of regs invalidated by call jakub at gcc dot gnu dot org
@ 2010-03-30 20:17 ` jakub at gcc dot gnu dot org
2010-03-30 20:18 ` jakub at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-03-30 20:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jakub at gcc dot gnu dot org 2010-03-30 20:17 -------
Subject: Bug 43593
Author: jakub
Date: Tue Mar 30 20:16:52 2010
New Revision: 157834
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157834
Log:
PR debug/43593
* var-tracking.c (dataflow_set_clear_at_call): Invalidate
just regs_invalidated_by_call instead all call_used_reg_set
registers.
* gcc.dg/guality/pr43593.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/guality/pr43593.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/var-tracking.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43593
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug debug/43593] Var-tracking unnecessarily flushes all call used registers on calls instead of regs invalidated by call
2010-03-30 20:00 [Bug debug/43593] New: Var-tracking unnecessarily flushes all call used registers on calls instead of regs invalidated by call jakub at gcc dot gnu dot org
2010-03-30 20:17 ` [Bug debug/43593] " jakub at gcc dot gnu dot org
@ 2010-03-30 20:18 ` jakub at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-03-30 20:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jakub at gcc dot gnu dot org 2010-03-30 20:18 -------
Fixed.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43593
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-03-30 20:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-30 20:00 [Bug debug/43593] New: Var-tracking unnecessarily flushes all call used registers on calls instead of regs invalidated by call jakub at gcc dot gnu dot org
2010-03-30 20:17 ` [Bug debug/43593] " jakub at gcc dot gnu dot org
2010-03-30 20:18 ` jakub at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).