public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/23362] New: Can't eliminate empty loops with power of two step and variable bounds
@ 2005-08-12 18:58 chris at bubblescope dot net
2005-08-12 18:58 ` [Bug rtl-optimization/23362] " chris at bubblescope dot net
0 siblings, 1 reply; 2+ messages in thread
From: chris at bubblescope dot net @ 2005-08-12 18:58 UTC (permalink / raw)
To: gcc-bugs
This may be related to bug 19001 (loops with power of two step and variable bounds not unrolled)
Neither of the following empty loops is eliminated:
void foo(int a, int b)
{ for(;a!=b;a+=4); }
void foo(int a, int b)
{ for(;a<b;a+=4); }
Similarily to 19001, these loops come about because of iterating over an range of pointers doing
something for each element (for example deleting them) which for some types turns out to be a null
operation. Fixing this will allow a large number of workarounds in libstdc++ to be removed.
--
Summary: Can't eliminate empty loops with power of two step and
variable bounds
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: chris at bubblescope dot net
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23362
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug rtl-optimization/23362] Can't eliminate empty loops with power of two step and variable bounds
2005-08-12 18:58 [Bug rtl-optimization/23362] New: Can't eliminate empty loops with power of two step and variable bounds chris at bubblescope dot net
@ 2005-08-12 18:58 ` chris at bubblescope dot net
0 siblings, 0 replies; 2+ messages in thread
From: chris at bubblescope dot net @ 2005-08-12 18:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From chris at bubblescope dot net 2005-08-12 18:58 -------
Stupid webbrowser.
*** This bug has been marked as a duplicate of 23361 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23362
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-12 18:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-12 18:58 [Bug rtl-optimization/23362] New: Can't eliminate empty loops with power of two step and variable bounds chris at bubblescope dot net
2005-08-12 18:58 ` [Bug rtl-optimization/23362] " chris at bubblescope dot net
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).