Re: [PATCH] Strip array types when getting the typename (PR sanitizer/59667)

2014-01-07 Thread Jeff Law
On 01/07/14 06:59, Marek Polacek wrote: In case we're dealing with (*)[N] types, we should strip the ARRAY_TYPEs prior to getting the type name. Otherwise we segv, since the DECL_NAME is NULL. Regtested on x86_64-linux, ok for trunk? 2014-01-07 Marek Polacek PR sanitizer/59667

[PATCH] Strip array types when getting the typename (PR sanitizer/59667)

2014-01-07 Thread Marek Polacek
In case we're dealing with (*)[N] types, we should strip the ARRAY_TYPEs prior to getting the type name. Otherwise we segv, since the DECL_NAME is NULL. Regtested on x86_64-linux, ok for trunk? 2014-01-07 Marek Polacek PR sanitizer/59667 * ubsan.c (ubsan_type_descriptor): Cal