https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83993
Bug ID: 83993 Summary: error: constant not recomputed when ADDR_EXPR changed Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: falk at debian dot org Target Milestone: --- /tmp% g++ --version g++ (GCC) 8.0.1 20180119 (experimental) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. /tmp% g++ -c test.cc test.cc: In function ‘int f()’: test.cc:3:5: error: constant not recomputed when ADDR_EXPR changed int f() { return ptable[0]; } ^ &table[0] test.cc:3:26: note: in statement int f() { return ptable[0]; } ~~~~~~~~^ ptable.0_1 = &table[0]; during GIMPLE pass: cfg test.cc:3:5: internal compiler error: verify_gimple failed int f() { return ptable[0]; } ^ 0xebe341 verify_gimple_in_cfg(function*, bool) ../../gcc/tree-cfg.c:5574 0xda714f execute_function_todo ../../gcc/passes.c:1994 0xda7bae execute_todo ../../gcc/passes.c:2048 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.