On Tue, Jan 27, 2015 at 10:24:47AM +0100, Andreas Schwab wrote: > Janus Weil <ja...@gcc.gnu.org> writes: > > > 2015-01-19 Janus Weil <ja...@gcc.gnu.org> > > > > PR fortran/64230 > > * gfortran.dg/class_allocate_18.f90: Extended. > > FAIL: gfortran.dg/class_allocate_18.f90 -O0 (test for excess errors) > Excess errors: > /usr/ia64-suse-linux/bin/ld: cannot find -lubsan
Yeah, if you want to add ubsan tests, you need to add gfortran.dg/ubsan/ directory and hack up ubsan.exp in there, from say gcc.dg/ubsan/ubsan.exp and gfortran.dg/dg.exp. Jakub