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

            Bug ID: 115205
           Summary: ICE when using -fsanitize=hwaddress
           Product: gcc
           Version: 14.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ashermancinelli at gmail dot com
  Target Milestone: ---

Any use of -fsanitize=hwaddress causes an ICE:

$ cat test.f
       program main
       print *, 'running'
       end
$ gfortran -fsanitize=hwaddress test.f
during GIMPLE pass: sanopt
test.f:1:72:

    1 |        program main
      |                                                                       
^
internal compiler error: Segmentation fault
0xd2e843 crash_signal
        ../../gcc-13.2.0/gcc/toplev.cc:314
0xa5f5b0 gimple_build_call(tree_node*, unsigned int, ...)
        ../../gcc-13.2.0/gcc/gimple.cc:268
0xa6d73f gimple_build(gimple_stmt_iterator*, bool, gsi_iterator_update,
unsigned int, combined_fn, tree_node*, tree_node*)
        ../../gcc-13.2.0/gcc/gimple-fold.cc:8908
0xd46ae7 tree_node* gimple_build<tree_node*>(gimple**, unsigned int,
combined_fn, tree_node*, tree_node*)
        ../../gcc-13.2.0/gcc/gimple-fold.h:122
0xd46ae7 hwasan_expand_check_ifn(gimple_stmt_iterator*, bool)
        ../../gcc-13.2.0/gcc/asan.cc:4793
0xd5730f execute
        ../../gcc-13.2.0/gcc/sanopt.cc:1375
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to