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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to David Malcolm from comment #2)
> However I'm having trouble writing a regression test for this, with the
> combination of ubsan and lto: I get:
> 
> output is /usr/bin/ld: cannot find -lubsan
> collect2: error: ld returned 1 exit status

The test would need to go into gcc.dg/ubsan/ directory (or g++.dg/ubsan/ for
C++), that is where the *.exp files arrange for -lubsan to be found.
The test would of course then need to use analyzer effective target in it and
add whatever dg-options are needed.

Reply via email to