-
Notifications
You must be signed in to change notification settings - Fork 193
Open
Labels
Description
Code
fn main() {
loop {
while continue {}
}
}Version information
5dc8c4d
Command
./gcc/crab1 ../test.rs -frust-debug -frust-dump-ast-pretty -Warray-bounds -dumpbase ../test.rs -mtune=generic -march=x86-64 -O0 -version -fdump-tree-gimple -o test.s -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib64 -frust-incomplete-and-experimental-compiler-do-not-use
Program output
./test.rs: In function ‘test::main’:
./test.rs:3:9: internal compiler error: in fold_convert_loc, at fold-const.cc:2662
3 | while continue {}
| ^~~~~
0x29abeb6 internal_error(char const*, ...)
../../gccrs/gcc/diagnostic-global-context.cc:517
0xb48036 fancy_abort(char const*, int, char const*)
../../gccrs/gcc/diagnostic.cc:1803
0x9618c0 fold_convert_loc(unsigned long, tree_node*, tree_node*)
../../gccrs/gcc/fold-const.cc:2662
0x128880a gimple_boolify(tree_node*)
../../gccrs/gcc/gimplify.cc:5340
0x12ba21b gimplify_cond_expr
../../gccrs/gcc/gimplify.cc:5548
0x129dd43 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int)
../../gccrs/gcc/gimplify.cc:19743
0x129f8aa gimplify_stmt(tree_node**, gimple**)
../../gccrs/gcc/gimplify.cc:8461
0x129c68b gimplify_statement_list
../../gccrs/gcc/gimplify.cc:2288
0x129c68b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int)
../../gccrs/gcc/gimplify.cc:20240
0x129f8aa gimplify_stmt(tree_node**, gimple**)
../../gccrs/gcc/gimplify.cc:8461
0x12a0951 gimplify_bind_expr
../../gccrs/gcc/gimplify.cc:1683
0x129cb60 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int)
../../gccrs/gcc/gimplify.cc:19990
0x129f8aa gimplify_stmt(tree_node**, gimple**)
../../gccrs/gcc/gimplify.cc:8461
0x129cc8a gimplify_and_add(tree_node*, gimple**)
../../gccrs/gcc/gimplify.cc:550
0x129cc8a gimplify_loop_expr
../../gccrs/gcc/gimplify.cc:2262
0x129cc8a gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int)
../../gccrs/gcc/gimplify.cc:19994
0x129f8aa gimplify_stmt(tree_node**, gimple**)
../../gccrs/gcc/gimplify.cc:8461
0x129c68b gimplify_statement_list
../../gccrs/gcc/gimplify.cc:2288
0x129c68b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int)
../../gccrs/gcc/gimplify.cc:20240
0x129f8aa gimplify_stmt(tree_node**, gimple**)
../../gccrs/gcc/gimplify.cc:8461
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.