Makefile.in (OBJS): Add sanopt.o.
authorMarek Polacek <polacek@redhat.com>
Tue, 4 Nov 2014 19:43:01 +0000 (19:43 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 4 Nov 2014 19:43:01 +0000 (19:43 +0000)
commit06cefae97e37d462c9b06a7a26bb9e230abeaed3
treedaa69386bc784dcd19c81e4b97e91b9d1cf756f9
parent9c636298c08430ea290b06eb5fd18beb45a83a16
Makefile.in (OBJS): Add sanopt.o.

* Makefile.in (OBJS): Add sanopt.o.
(GTFILES): Add sanopt.c.
* asan.h (asan_expand_check_ifn): Declare.
* asan.c (asan_expand_check_ifn): No longer static.
(class pass_sanopt, pass_sanopt::execute, make_pass_sanopt): Move...
* sanopt.c: ...here.  New file.
testsuite/
* c-c++-common/ubsan/align-2.c: Remove dg-output.
* c-c++-common/ubsan/align-4.c: Likewise.
* g++.dg/ubsan/null-1.C: Likewise.
* g++.dg/ubsan/null-2.C: Likewise.

From-SVN: r217099
gcc/ChangeLog
gcc/Makefile.in
gcc/asan.c
gcc/asan.h
gcc/sanopt.c [new file with mode: 0644]
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/ubsan/align-2.c
gcc/testsuite/c-c++-common/ubsan/align-4.c
gcc/testsuite/g++.dg/ubsan/null-1.C
gcc/testsuite/g++.dg/ubsan/null-2.C