public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/29446] [4.2 Regression] VRP ICE in compare_names Date: Fri, 13 Oct 2006 03:19:00 -0000 [thread overview] Message-ID: <20061013031926.9992.qmail@sourceware.org> (raw) In-Reply-To: <bug-29446-10110@http.gcc.gnu.org/bugzilla/> ------- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-13 03:19 ------- C testcase: void f(int *n, int *m) { int i; int ubound0; int ubound1; int stride2; int offset3; int size4; int j; int ubound5; int size6; int D919; __SIZE_TYPE__ D920; int D921; unsigned int D922; __SIZE_TYPE__ D923; unsigned int D924; ubound0 = *m; stride2 = ubound0; ubound1 = *n; size4 = stride2 * ubound1; D922 = size4 - 1; int (*abc)[D922]; abc = _gfortran_internal_malloc (size4 * 4); offset3 = ~stride2; ubound5 = *n; size6 = ubound5; D919 = size6 - 1; int (*xsd)[D919]; xsd = _gfortran_internal_malloc (size6 * 4); i = 1; if (i <= 2) { while (1) { { _Bool D918; j = 1; if (j <= 3) { while (1) { { _Bool D917; if (i != j) { if (__builtin_expect (ubound0 <= 0, 0)) { __builtin_abort (); } else { (void) 0; } if (__builtin_expect (ubound1 <= 0, 0)) { __builtin_abort (); } else { (void) 0; } (*abc)[stride2 + offset3 + 1] = 0; } else { { int D916; if (__builtin_expect (ubound0 <= 0, 0)) { __builtin_abort (); } else { (void) 0; } D916 = j; if (__builtin_expect (D916 <= 0, 0)) { __builtin_abort (); } else { (void) 0; } if (__builtin_expect (D916 > ubound1, 0)) { __builtin_abort (); } else { (void) 0; } if (__builtin_expect (ubound5 <= 0, 0)) { __builtin_abort (); } else { (void) 0; } (*abc)[D916 * stride2 + offset3 + 1] = (*xsd)[0]; } } D917 = j == 3; j = j + 1; if (D917) break; else (void) 0; } } } else { (void) 0; } // L4:; D918 = i == 2; i = i + 1; if (D918) break; else (void) 0; } } } else { (void) 0; } //L2:; _gfortran_internal_free ((void *) xsd); _gfortran_internal_free ((void *) abc); } -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |critical Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Known to fail| |4.2.0 Known to work| |4.1.2 Last reconfirmed|0000-00-00 00:00:00 |2006-10-13 03:19:26 date| | Summary|VRP ICE in compare_names |[4.2 Regression] VRP ICE in | |compare_names Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29446
next prev parent reply other threads:[~2006-10-13 3:19 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-10-12 22:37 [Bug fortran/29446] New: " kargl at gcc dot gnu dot org 2006-10-13 3:19 ` pinskia at gcc dot gnu dot org [this message] 2006-10-13 3:34 ` [Bug tree-optimization/29446] [4.2 Regression] " pinskia at gcc dot gnu dot org 2006-10-13 8:22 ` rguenth at gcc dot gnu dot org 2006-10-13 9:19 ` rguenth at gcc dot gnu dot org 2006-10-13 10:07 ` rguenth at gcc dot gnu dot org 2006-10-13 10:39 ` rguenth at gcc dot gnu dot org 2006-10-13 12:45 ` patchapp at dberlin dot org 2006-10-13 20:09 ` rguenth at gcc dot gnu dot org 2006-10-13 20:09 ` rguenth at gcc dot gnu dot org 2007-04-25 16:10 ` rguenth at gcc dot gnu dot 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=20061013031926.9992.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).