public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/22303] New: CCP does not handle STRING_CSTs
@ 2005-07-05  3:11 pinskia at gcc dot gnu dot org
  2005-07-05  3:16 ` [Bug tree-optimization/22303] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-05  3:11 UTC (permalink / raw)
  To: gcc-bugs

Take the following example:
static const char f[3] = "?";

int main(void)
{
  if (f[0] == '?')
    abort ();
  return 0;
}

We don't optitimize this at the tree level.

-- 
           Summary: CCP does not handle STRING_CSTs
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: missed-optimization, TREE
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22303


^ permalink raw reply	[flat|nested] 14+ messages in thread
[parent not found: <bug-22303-6528@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2006-05-16 15:34 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-05  3:11 [Bug tree-optimization/22303] New: CCP does not handle STRING_CSTs pinskia at gcc dot gnu dot org
2005-07-05  3:16 ` [Bug tree-optimization/22303] " pinskia at gcc dot gnu dot org
2005-07-05  3:19 ` pinskia at gcc dot gnu dot org
2005-07-05  3:34 ` hp at gcc dot gnu dot org
2005-07-07 13:42 ` pinskia at gcc dot gnu dot org
     [not found] <bug-22303-6528@http.gcc.gnu.org/bugzilla/>
2006-05-08  9:57 ` rguenth at gcc dot gnu dot org
2006-05-08 10:07 ` mueller at gcc dot gnu dot org
2006-05-08 10:07 ` mueller at gcc dot gnu dot org
2006-05-08 15:06 ` pinskia at gcc dot gnu dot org
2006-05-08 15:53 ` pinskia at gcc dot gnu dot org
2006-05-08 16:01 ` pinskia at gcc dot gnu dot org
2006-05-15 19:26 ` patchapp at dberlin dot org
2006-05-16 15:34 ` rguenth at gcc dot gnu dot org
2006-05-16 15:34 ` rguenth 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).