[Bug c/68473] New: [6 Regression] ICE: in contains_point, at diagnostic-show-locus.c:340 after error
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Sat Nov 21 19:09:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68473
Bug ID: 68473
Summary: [6 Regression] ICE: in contains_point, at
diagnostic-show-locus.c:340 after error
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: zsojka at seznam dot cz
Target Milestone: ---
Created attachment 36799
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36799&action=edit
reduced testcase
Compiler output:
$ gcc -mno-fp-ret-in-387 testcase.c
testcase.c: In function 'foo':
testcase.c:11:12: error: x87 register return with x87 disabled
testcase.c:11:12: internal compiler error: in contains_point, at
diagnostic-show-locus.c:340
testcase.c:4:13: note: in definition of macro 'TEST_EQ'
if ((long)FUNC##l(xl,xl) != (long)xl) \
^~~~
0x14fc73f contains_point
/mnt/svn/gcc-trunk/gcc/diagnostic-show-locus.c:340
0x14fc73f get_state_at_point
/mnt/svn/gcc-trunk/gcc/diagnostic-show-locus.c:684
0x14fcc70 print_source_line
/mnt/svn/gcc-trunk/gcc/diagnostic-show-locus.c:538
0x14fcc70 diagnostic_show_locus(diagnostic_context*, diagnostic_info const*)
/mnt/svn/gcc-trunk/gcc/diagnostic-show-locus.c:803
0x6a1690 c_diagnostic_finalizer
/mnt/svn/gcc-trunk/gcc/c-family/c-opts.c:167
0x14fab08 diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*)
/mnt/svn/gcc-trunk/gcc/diagnostic.c:800
0x14fb95d error(char const*, ...)
/mnt/svn/gcc-trunk/gcc/diagnostic.c:1157
0xeaed98 construct_container
/mnt/svn/gcc-trunk/gcc/config/i386/i386.c:8435
0xeb8929 function_value_64
/mnt/svn/gcc-trunk/gcc/config/i386/i386.c:9547
0xeb8929 ix86_function_value_1
/mnt/svn/gcc-trunk/gcc/config/i386/i386.c:9607
0x81b30f hard_function_value(tree_node const*, tree_node const*, tree_node
const*, int)
/mnt/svn/gcc-trunk/gcc/explow.c:1854
0x89926c aggregate_value_p(tree_node const*, tree_node const*)
/mnt/svn/gcc-trunk/gcc/function.c:2081
0x8fa2ed gimplify_modify_expr_rhs
/mnt/svn/gcc-trunk/gcc/gimplify.c:4352
0x8fad94 gimplify_modify_expr
/mnt/svn/gcc-trunk/gcc/gimplify.c:4643
0x8f0602 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
/mnt/svn/gcc-trunk/gcc/gimplify.c:9887
0x8f2e26 gimplify_stmt(tree_node**, gimple**)
/mnt/svn/gcc-trunk/gcc/gimplify.c:5591
0x8f4c12 gimplify_and_add(tree_node*, gimple**)
/mnt/svn/gcc-trunk/gcc/gimplify.c:417
0x8f4c12 internal_get_tmp_var
/mnt/svn/gcc-trunk/gcc/gimplify.c:562
0x8edb7c gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
/mnt/svn/gcc-trunk/gcc/gimplify.c:10812
0x8edeff gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
/mnt/svn/gcc-trunk/gcc/gimplify.c:9827
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.
Tested revisions:
r230703 - ICE
5-branch r229305 - OK
More information about the Gcc-bugs
mailing list