[Bug target/65705] ICE: SIGSEGV in contains_struct_check with -fsanitize=null -fcheck-pointer-bounds

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Apr 22 21:33:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65705

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-04-22
                 CC|                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1
      Known to fail|                            |6.0

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed with 6.0:

$ cat v.c && gcc -S -fsanitize=null -fcheck-pointer-bounds -mmpx -xc v.c
int
foo (int *p)
{
  return *p;
}
v.c:5:1: internal compiler error: Segmentation fault
 }
 ^
0xe3bfe8 crash_signal
        /home/msebor/scm/fsf/gcc-69517/gcc/toplev.c:335
0x752dea contains_struct_check(tree_node*, tree_node_structure_enum, char
const*, int, char const*)
        /home/msebor/scm/fsf/gcc-69517/gcc/tree.h:3119
0xf296f9 chkp_walk_pointer_assignments
        /home/msebor/scm/fsf/gcc-69517/gcc/tree-chkp.c:3725
0xf29f9d chkp_finish_file()
        /home/msebor/scm/fsf/gcc-69517/gcc/tree-chkp.c:3835
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.


More information about the Gcc-bugs mailing list