Bug 67993 - ice in compare_operand with -O2 -march=native
Summary: ice in compare_operand with -O2 -march=native
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 6.0
: P3 normal
Target Milestone: 6.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-16 18:29 UTC by David Binderman
Modified: 2015-10-16 19:48 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
gzipped C++ source code (324.32 KB, application/x-gzip)
2015-10-16 18:29 UTC, David Binderman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2015-10-16 18:29:45 UTC
Created attachment 36530 [details]
gzipped C++ source code

$ ../results/bin/g++ -c -w -O2 -march=native bug236.cc
/home/dcb/rpmbuild/BUILD/eigen-eigen-c58038c56923/x86_64-redhat-linux-gnu/doc/snippets/compile_HouseholderQR_solve.cpp:21:1: internal compiler error: in compare_operand, at ipa-icf-gimple.c:419
 }
 ^
0x151e7d7 ipa_icf_gimple::func_checker::compare_operand(tree_node*, tree_node*)
	../../src/trunk/gcc/ipa-icf-gimple.c:418
0x151f90a ipa_icf_gimple::func_checker::compare_operand(tree_node*, tree_node*)
	../../src/trunk/gcc/tree.h:3046
0x151f90a ipa_icf_gimple::func_checker::compare_memory_operand(tree_node*, tree_node*)
	../../src/trunk/gcc/ipa-icf-gimple.c:330
0x151fe84 ipa_icf_gimple::func_checker::compare_memory_operand(tree_node*, tree_node*)
	../../src/trunk/gcc/ipa-icf-gimple.c:266

gcc is today's trunk.
Comment 1 H.J. Lu 2015-10-16 19:48:49 UTC
Should be fixed by r228875.