This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r242795 - in /trunk/gcc: ChangeLog opts.c tests...


Author: jakub
Date: Wed Nov 23 19:51:27 2016
New Revision: 242795

URL: https://gcc.gnu.org/viewcvs?rev=242795&root=gcc&view=rev
Log:
	PR sanitizer/69278
	* opts.c (parse_sanitizer_options): For -fsanitize=undefined,
	restore enabling also SANITIZE_UNREACHABLE and SANITIZE_RETURN.

	* g++.dg/ubsan/return-7.C: New test.
	* c-c++-common/ubsan/unreachable-4.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/ubsan/unreachable-4.c
    trunk/gcc/testsuite/g++.dg/ubsan/return-7.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/opts.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]