public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/111869] New: ICE: verify_ssa failed since r14-4710-g60c231cb658
@ 2023-10-18 19:52 shaohua.li at inf dot ethz.ch
  2023-10-18 19:56 ` [Bug tree-optimization/111869] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: shaohua.li at inf dot ethz.ch @ 2023-10-18 19:52 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111869

            Bug ID: 111869
           Summary: ICE: verify_ssa failed since r14-4710-g60c231cb658
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: shaohua.li at inf dot ethz.ch
                CC: tamar.christina at arm dot com
  Target Milestone: ---

gcc at -O3 crashed.

Bisected to r14-4710-g60c231cb658

$ cat a.c
int a;
unsigned b() {
  long c;
  unsigned d = 1;
  char *e = "";
  c = 0;
  for (; c < a; c++)
    e[0]++;
  c = 0;
  for (; c < a; c++)
    if (c)
      d = 0;
  return d;
}
int main() {}
$
$ gcc -O3 a.c
a.c: In function ‘b’:
a.c:2:10: error: PHI node with wrong VUSE on edge from BB 14
    2 | unsigned b() {
      |          ^
.MEM_39 = PHI <.MEM_1(14), .MEM_1(13)>
expected .MEM_29
a.c:2:10: error: PHI node with wrong VUSE on edge from BB 13
.MEM_39 = PHI <.MEM_1(14), .MEM_1(13)>
expected .MEM_29
during GIMPLE pass: vect
a.c:2:10: internal compiler error: verify_ssa failed
0x7f10859fa082 __libc_start_main
        ../csu/libc-start.c:308
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions
$

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug tree-optimization/111869] ICE: verify_ssa failed since r14-4710-g60c231cb658
  2023-10-18 19:52 [Bug tree-optimization/111869] New: ICE: verify_ssa failed since r14-4710-g60c231cb658 shaohua.li at inf dot ethz.ch
@ 2023-10-18 19:56 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-10-18 19:56 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111869

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup.

*** This bug has been marked as a duplicate of bug 111860 ***

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-18 19:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-18 19:52 [Bug tree-optimization/111869] New: ICE: verify_ssa failed since r14-4710-g60c231cb658 shaohua.li at inf dot ethz.ch
2023-10-18 19:56 ` [Bug tree-optimization/111869] " pinskia at gcc dot gnu.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).