This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/63888] [5 Regression] bootstrap failed when configured with -with-build-config=bootstrap-asan --disable-werror
- From: "kcc at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Nov 2014 19:21:29 +0000
- Subject: [Bug bootstrap/63888] [5 Regression] bootstrap failed when configured with -with-build-config=bootstrap-asan --disable-werror
- Auto-submitted: auto-generated
- References: <bug-63888-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63888
--- Comment #6 from Kostya Serebryany <kcc at gcc dot gnu.org> ---
(In reply to Yury Gribov from comment #5)
> Perhaps ODR check should check that names of global variables match before
> issuing warning?
The variables are generated by the compiler, right?
(These are switch tables)
Do we want to instrument them at all?
I.e. is a buffer overflow on these variables possible?
If we don't instrument them we won't report an ODR violation.
>> GCC with -fmerge-all-constants also merges many read-only constants, even addressable ones, when they have the same content.
Then I guess we may have other false positives.
We may want to disable -fmerge-all-constants under asan