This is the mail archive of the gcc-patches@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]

Re: [PATCH] Handle bit-fields in ubsan.c (PR sanitizer/58413)


On Fri, Sep 20, 2013 at 02:33:25PM +0200, Marek Polacek wrote:
> Agreed.  Added that assert in there.  How does it look now?

Ok.

> 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.

	Jakub


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