public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/964] missed warning and optimization
[not found] <20001202165600.964.bh@techhouse.brown.edu>
@ 2003-08-17 1:37 ` pinskia at gcc dot gnu dot org
2003-11-16 1:47 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-17 1:37 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=964
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|rth at redhat dot com |
Severity|normal |enhancement
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug optimization/964] missed warning and optimization
[not found] <20001202165600.964.bh@techhouse.brown.edu>
2003-08-17 1:37 ` [Bug optimization/964] missed warning and optimization pinskia at gcc dot gnu dot org
@ 2003-11-16 1:47 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-16 1:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-16 01:47 -------
>From <http://gcc.gnu.org/onlinedocs/gcc/Non-bugs.html#Non-bugs> "Certain Changes We Don't
Want to Make":
Deleting "empty" loops.
Historically, GCC has not deleted "empty" loops under the assumption that the most likely reason
you would put one in a program is to have a delay, so deleting them will not make real programs
run any faster.
However, the rationale here is that optimization of a nonempty loop cannot produce an empty one,
which holds for C but is not always the case for C++.
Moreover, with -funroll-loops small "empty" loops are already removed, so the current behavior is
both sub-optimal and inconsistent and will change in the future.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|SUSPENDED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=964
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-11-16 1:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20001202165600.964.bh@techhouse.brown.edu>
2003-08-17 1:37 ` [Bug optimization/964] missed warning and optimization pinskia at gcc dot gnu dot org
2003-11-16 1:47 ` pinskia 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).