Re: [PATCH] Fix -fsanitize=undefined with PCH (PR sanitizer/66343)

2016-10-05 Thread Richard Biener
On October 5, 2016 5:28:39 PM GMT+02:00, Marek Polacek wrote: >On Wed, Oct 05, 2016 at 05:25:23PM +0200, Jakub Jelinek wrote: >> Hi! >> >> As mentioned in the PR, ubsan.c uses ASM_GENERATE_INTERNAL_LABEL with >> static counters that aren't registered with GC, and those functions >can be >> calle

Re: [PATCH] Fix -fsanitize=undefined with PCH (PR sanitizer/66343)

2016-10-05 Thread Marek Polacek
On Wed, Oct 05, 2016 at 05:25:23PM +0200, Jakub Jelinek wrote: > Hi! > > As mentioned in the PR, ubsan.c uses ASM_GENERATE_INTERNAL_LABEL with > static counters that aren't registered with GC, and those functions can be > called already during parsing, so we can get clashes between labels > create