[Bug target/65044] New: ICE: SIGSEGV in contains_struct_check with -fsanitize=address -fcheck-pointer-bounds
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Thu Feb 12 21:10:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65044
Bug ID: 65044
Summary: ICE: SIGSEGV in contains_struct_check with
-fsanitize=address -fcheck-pointer-bounds
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: zsojka at seznam dot cz
Created attachment 34743
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34743&action=edit
reduced testcase
Compiler output:
$ gcc -fsanitize=address -fcheck-pointer-bounds -mmpx testcase.c
testcase.c:7:1: internal compiler error: Segmentation fault
}
^
0xc43f1f crash_signal
/mnt/svn/gcc-trunk/gcc/toplev.c:383
0xcee191 contains_struct_check(tree_node*, tree_node_structure_enum, char
const*, int, char const*)
/mnt/svn/gcc-trunk/gcc/tree.h:2959
0xcee191 chkp_walk_pointer_assignments
/mnt/svn/gcc-trunk/gcc/tree-chkp.c:3591
0xcee06a chkp_walk_pointer_assignments
/mnt/svn/gcc-trunk/gcc/tree-chkp.c:3645
0xcf0396 chkp_finish_file()
/mnt/svn/gcc-trunk/gcc/tree-chkp.c:3701
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:
r220566 - ICE
More information about the Gcc-bugs
mailing list