public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hubicka at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/45522] VRP misses oppurtunity for statement folding. Date: Fri, 03 Sep 2010 20:10:00 -0000 [thread overview] Message-ID: <20100903200956.13739.qmail@sourceware.org> (raw) In-Reply-To: <bug-45522-176@http.gcc.gnu.org/bugzilla/> ------- Comment #5 from hubicka at gcc dot gnu dot org 2010-09-03 20:09 ------- And here we fail to fold messages[1] created by PRE enum { ERROR_OK, ERROR_UNKNOWN, ERROR_NUM }; enum { __LC_CTYPE = 0, __LC_NUMERIC = 1, __LC_TIME = 2, __LC_COLLATE = 3, __LC_MONETARY = 4, __LC_MESSAGES = 5, __LC_ALL = 6, __LC_PAPER = 10, __LC_MEASUREMENT = 11, __LC_IDENTIFICATION = 12 }; static const char *const _messages[] = { "no error", "unknown error", "Internal error: unknown reason", }; elf_errmsg (int err) { if (err < 0 || err >= ERROR_NUM || _messages[err] == ((void *) 0)) { err = ERROR_UNKNOWN; } return _messages[err]; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45522
next prev parent reply other threads:[~2010-09-03 20:10 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-09-03 15:58 [Bug tree-optimization/45522] New: " hubicka at gcc dot gnu dot org 2010-09-03 15:59 ` [Bug tree-optimization/45522] " hubicka at gcc dot gnu dot org 2010-09-03 16:33 ` hubicka at gcc dot gnu dot org 2010-09-03 16:34 ` hubicka at gcc dot gnu dot org 2010-09-03 20:05 ` hubicka at gcc dot gnu dot org 2010-09-03 20:10 ` hubicka at gcc dot gnu dot org [this message] 2010-09-03 20:13 ` hubicka at gcc dot gnu dot org 2010-09-03 20:29 ` hubicka at gcc dot gnu dot org 2010-09-04 8:29 ` rguenther at suse dot de 2010-09-04 13:52 ` hubicka at gcc dot gnu dot org 2010-09-04 14:11 ` rguenther at suse dot de 2010-09-04 18:01 ` hubicka at gcc dot gnu dot org [not found] <bug-45522-4@http.gcc.gnu.org/bugzilla/> 2010-10-28 20:41 ` pinskia at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20100903200956.13739.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).