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

jakub@gcc.gnu.org jakub@gcc.gnu.org
Wed Nov 23 19:51:00 GMT 2016


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



More information about the Gcc-cvs mailing list