r202776 - in /trunk/gcc: ChangeLog testsuite/Ch...

mpolacek@gcc.gnu.org mpolacek@gcc.gnu.org
Fri Sep 20 13:26:00 GMT 2013


Author: mpolacek
Date: Fri Sep 20 13:26:07 2013
New Revision: 202776

URL: http://gcc.gnu.org/viewcvs?rev=202776&root=gcc&view=rev
Log:
2013-09-20  Marek Polacek  <polacek@redhat.com>

	PR sanitizer/58413
	* ubsan.c (get_ubsan_type_info_for_type): Use TYPE_SIZE instead of
	TYPE_PRECISION.  Add asserts.

testsuite/
	* c-c++-common/ubsan/shift-4.c: New test.


Added:
    trunk/gcc/testsuite/c-c++-common/ubsan/shift-4.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/ubsan.c



More information about the Gcc-cvs mailing list