This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/28364] poor optimization choices when iterating over a std::string (probably not c++-specific)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jul 2006 03:37:51 -0000
- Subject: [Bug tree-optimization/28364] poor optimization choices when iterating over a std::string (probably not c++-specific)
- References: <bug-28364-37@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from pinskia at gcc dot gnu dot org 2006-07-13 03:37 -------
Hmm, for some reason I don't like the idea of using std::string in the inner
loop :). Even the C testcase does not seem like a good inner loop in general
anyways as there is no caculation going on here. To me these look like loops
which are run for testing only, looking for bad characters to see if a problem
had happened.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28364