public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/101156] New: ICE: ‘verify_gimple’ failed, verify_gimple_in_seq(gimple*)
@ 2021-06-21 19:37 cnsun at uwaterloo dot ca
  2021-06-22  6:27 ` [Bug c/101156] " marxin at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: cnsun at uwaterloo dot ca @ 2021-06-21 19:37 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101156
           Summary: ICE: ‘verify_gimple’ failed,
                    verify_gimple_in_seq(gimple*)
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: cnsun at uwaterloo dot ca
  Target Milestone: ---

$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/scratch/software/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/12.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /tmp/tmp.oJWiD4wb77-gcc-builder/gcc/configure
--enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch
--prefix=/scratch/software/gcc-trunk --disable-bootstrap
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.0.0 20210621 (experimental) [master revision
:ac955e7ab:3e42ff715697c75c4fb4aed550a8a15edb3eeea6] (GCC)

$ cat mutant.c
struct S {
  int i;
} baz(struct S *p) {
  setjmp(p--);
}

$ gcc-trunk  mutant.c
mutant.c: In function ‘baz’:
mutant.c:4:3: warning: implicit declaration of function ‘setjmp’
[-Wimplicit-function-declaration]
    4 |   setjmp(p--);
      |   ^~~~~~
mutant.c:3:3: error: type mismatch in ‘pointer_plus_expr’
    3 | } baz(struct S *p) {
      |   ^~~
struct S *

<<< error >>>

sizetype

p = _1 + 18446744073709551612;
mutant.c:3:3: internal compiler error: ‘verify_gimple’ failed
0xf4c4c5 verify_gimple_in_seq(gimple*)
        /tmp/tmp.oJWiD4wb77-gcc-builder/gcc/gcc/tree-cfg.c:5183
0xc3a336 gimplify_body(tree_node*, bool)
        /tmp/tmp.oJWiD4wb77-gcc-builder/gcc/gcc/gimplify.c:15422
0xc3a4d1 gimplify_function_tree(tree_node*)
        /tmp/tmp.oJWiD4wb77-gcc-builder/gcc/gcc/gimplify.c:15493
0xa8be17 cgraph_node::analyze()
        /tmp/tmp.oJWiD4wb77-gcc-builder/gcc/gcc/cgraphunit.c:670
0xa8ed11 analyze_functions
        /tmp/tmp.oJWiD4wb77-gcc-builder/gcc/gcc/cgraphunit.c:1234
0xa8f7e1 symbol_table::finalize_compilation_unit()
        /tmp/tmp.oJWiD4wb77-gcc-builder/gcc/gcc/cgraphunit.c:2508
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

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

end of thread, other threads:[~2023-07-07  9:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-21 19:37 [Bug c/101156] New: ICE: ‘verify_gimple’ failed, verify_gimple_in_seq(gimple*) cnsun at uwaterloo dot ca
2021-06-22  6:27 ` [Bug c/101156] " marxin at gcc dot gnu.org
2021-06-22  6:54 ` rguenth at gcc dot gnu.org
2021-06-22  8:00 ` rguenth at gcc dot gnu.org
2021-06-22 13:31 ` cvs-commit at gcc dot gnu.org
2021-06-22 13:32 ` [Bug middle-end/101156] [9/10/11 Regression] " rguenth at gcc dot gnu.org
2021-07-07 14:06 ` cvs-commit at gcc dot gnu.org
2022-05-27  9:45 ` [Bug middle-end/101156] [10 " rguenth at gcc dot gnu.org
2022-06-28 10:45 ` jakub at gcc dot gnu.org
2023-07-07  9:42 ` 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).