This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/55260] [4.8 Regression] ICE: in ipa_get_parm_lattices, at ipa-cp.c:263 with -O2 -fno-inline -fipa-cp-clone
- From: "shenhanc at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 10 Jan 2014 18:27:00 +0000
- Subject: [Bug tree-optimization/55260] [4.8 Regression] ICE: in ipa_get_parm_lattices, at ipa-cp.c:263 with -O2 -fno-inline -fipa-cp-clone
- Auto-submitted: auto-generated
- References: <bug-55260-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55260
Han Shen <shenhanc at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |shenhanc at gmail dot com
--- Comment #9 from Han Shen <shenhanc at gmail dot com> ---
Created attachment 31806
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31806&action=edit
Test case for gcc 4.8 and trunk
Hi I found this same error in gcc 4_8 and trunk, to reproduce -
gcc -c -std=c89 -m64 -O3 ~/preprocessor.pp.c
preprocessor.pp.c: At top level:
preprocessor.pp.c:108:1: internal compiler error: in ipa_get_parm_lattices, at
ipa-cp.c:261
}
^
0xedeba7 ipa_get_parm_lattices
../../trunk/gcc/ipa-cp.c:261
0xedeba7 find_aggregate_values_for_callers_subset
../../trunk/gcc/ipa-cp.c:3051
0xedeba7 decide_about_value
../../trunk/gcc/ipa-cp.c:3365
0xee0a6c decide_whether_version_node
../../trunk/gcc/ipa-cp.c:3411
0xee0a6c ipcp_decision_stage
../../trunk/gcc/ipa-cp.c:3556
0xee0a6c ipcp_driver
../../trunk/gcc/ipa-cp.c:3598
0xee0a6c execute
../../trunk/gcc/ipa-cp.c:3694
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.