Re: [PATCH] Fix -fsanitizer=undefined ICE (PR sanitizer/59258)

2013-11-26 Thread Jeff Law
On 11/26/13 13:14, Jakub Jelinek wrote: Hi! The problem here is that ubsan_create_data was called with location_t that includes both location and BLOCK, and that location was sticked into an ADDR_EXPR in a static var's constructor. As the BLOCk wasn't live in any of the functions, it was removed

[PATCH] Fix -fsanitizer=undefined ICE (PR sanitizer/59258)

2013-11-26 Thread Jakub Jelinek
Hi! The problem here is that ubsan_create_data was called with location_t that includes both location and BLOCK, and that location was sticked into an ADDR_EXPR in a static var's constructor. As the BLOCk wasn't live in any of the functions, it was removed as unused and the GCmemory was reused for