On 10/05/2022 16:16, Martin Liška wrote:
The revision caused:

$ ./xgcc -B. 
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/ubsan/bind-c-intent-out-2.f90
 -fsanitize=undefined -c -O
during GIMPLE pass: ubsan
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/ubsan/bind-c-intent-out-2.f90:39:19:

    39 | end program alloc_p
       |                   ^
internal compiler error: Segmentation fault
0x14b45c7 crash_signal
        /home/marxin/Programming/gcc/gcc/toplev.cc:322
0x7ffff78b83cf ???
        
/usr/src/debug/glibc-2.35-2.1.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0xc2cf10 contains_struct_check(tree_node*, tree_node_structure_enum, char 
const*, int, char const*)
        /home/marxin/Programming/gcc/gcc/tree.h:3570
0x19100d1 build_call_expr_loc_array(unsigned int, tree_node*, int, tree_node**)
        /home/marxin/Programming/gcc/gcc/tree.cc:10629
0x19102ff build_call_expr_loc(unsigned int, tree_node*, int, ...)
        /home/marxin/Programming/gcc/gcc/tree.cc:10662
0x14f59a3 instrument_object_size
        /home/marxin/Programming/gcc/gcc/ubsan.cc:2173
0x14f6770 execute
        /home/marxin/Programming/gcc/gcc/ubsan.cc:2428
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.

Thanks, I just noticed that my non-ubsan bootstrap didn't enable sanitizers because of which I didn't see this at all. I'm testing a fix and I'll post it once bootstraps finish.

Siddhesh

Reply via email to