https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82955
Bug ID: 82955
Summary: ICE when using -fdump-passes -fdisable-tree-einline
Product: gcc
Version: 7.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: mingw.android at gmail dot com
Target Milestone: ---
Tested on ArchLinux's GCC 7.2.0 and also the Anaconda Distribution's
gxx_linux-64 (also 7.2.0), reproducer is:
echo "" | g++ -fdump-passes -fdisable-tree-einline -c -x c++ -
ipa-opt_local_passes : ON
tree-fixup_cfg3 : ON
*rebuild_cgraph_edges : ON
tree-inline_param1 : ON
g++: internal compiler error: Segmentation fault (program cc1plus)
Another reproducer with a different message is:
echo "" | gcc -fdump-passes -fdisable-tree-einline -c -x c -
ipa-opt_local_passes : ON
tree-fixup_cfg3 : ON
*rebuild_cgraph_edges : ON
tree-inline_param1 : ON
Internal compiler error: Error reporting routines re-entered.