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] Fix -fsanitize=undefined with PCH (PR sanitizer/66343)


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
> created during PCH creation and labels created afterwards.
> 
> Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
> trunk?

Looks fine but I can't approve.

	Marek


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