public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/108793] New: [12/13 Regression] ICE: verify_gimple failed
@ 2023-02-14 19:37 gscfq@t-online.de
  2023-02-14 19:43 ` [Bug tree-optimization/108793] " pinskia at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: gscfq@t-online.de @ 2023-02-14 19:37 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108793
           Summary: [12/13 Regression] ICE: verify_gimple failed
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started between 20210822 and 20210905, at -O3 or -Ofast :
(gcc configured with --enable-checking=yes)


$ cat z1.cc
typedef void (*p)();
extern "C" p a, b;
int f () {
  int n = 0;
  for (p* i = &a; i > &b; i++) {
    n++;
  }
  return n;
}


$ gcc-13-20230212 -c z1.cc -Ofast
z1.cc: In function 'int f()':
z1.cc:3:5: error: non-trivial conversion in unary operation
    3 | int f () {
      |     ^
unsigned long
void (*p) (void) *
_3 = ~_1;
z1.cc:3:5: error: non-trivial conversion in unary operation
unsigned long
void (*p) (void) *
_24 = ~_23;
during GIMPLE pass: vect
z1.cc:3:5: internal compiler error: verify_gimple failed
0x12942be verify_gimple_in_cfg(function*, bool, bool)
        ../../gcc/tree-cfg.cc:5648
0x1135053 execute_function_todo
        ../../gcc/passes.cc:2091
0x1135ad2 execute_todo
        ../../gcc/passes.cc:2145

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

end of thread, other threads:[~2023-03-15 10:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-14 19:37 [Bug c++/108793] New: [12/13 Regression] ICE: verify_gimple failed gscfq@t-online.de
2023-02-14 19:43 ` [Bug tree-optimization/108793] " pinskia at gcc dot gnu.org
2023-02-15  8:38 ` rguenth at gcc dot gnu.org
2023-02-20 11:57 ` rguenth at gcc dot gnu.org
2023-02-21 13:03 ` cvs-commit at gcc dot gnu.org
2023-02-21 13:03 ` [Bug tree-optimization/108793] [12 " rguenth at gcc dot gnu.org
2023-02-23 14:56 ` [Bug tree-optimization/108793] [12 Regression] ICE: verify_gimple failed since r12-3136-g3673dcf6d6baeb67 marxin at gcc dot gnu.org
2023-03-15  9:48 ` cvs-commit at gcc dot gnu.org
2023-03-15 10:04 ` rguenth 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).