[Bug libstdc++/103453] ASAN detection with clang

2022-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103453 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/103453] ASAN detection with clang

2022-01-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103453 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:37fec1c1b0c942d861dd51b31d099084826a485b commit r10-10378-g37fec1c1b0c942d861dd51b31d099084826a485b Author: Jonathan Wa

[Bug libstdc++/103453] ASAN detection with clang

2022-01-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103453 --- Comment #11 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ad54d3fb8f09babc43ea46a93cc73cd623fe822f commit r11-9436-gad54d3fb8f09babc43ea46a93cc73cd623fe822f Author: Jonathan Wak

[Bug libstdc++/103453] ASAN detection with clang

2021-12-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103453 --- Comment #10 from Jonathan Wakely --- And as documented: https://gcc.gnu.org/onlinedocs/gcc-11.2.0/libstdc++/manual/manual/using_macros.html

[Bug libstdc++/103453] ASAN detection with clang

2021-12-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103453 --- Comment #9 from Jonathan Wakely --- Yes. This is working as intended.

[Bug libstdc++/103453] ASAN detection with clang

2021-11-30 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103453 --- Comment #8 from cqwrteur --- (In reply to cqwrteur from comment #7) > (In reply to cqwrteur from comment #6) > > (In reply to Jonathan Wakely from comment #3) > > > Fixed on trunk so far, but this is backportable. > > > > Turns out _GLIBCXX

[Bug libstdc++/103453] ASAN detection with clang

2021-11-30 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103453 --- Comment #7 from cqwrteur --- (In reply to cqwrteur from comment #6) > (In reply to Jonathan Wakely from comment #3) > > Fixed on trunk so far, but this is backportable. > > Turns out _GLIBCXX_SANITIZE_VECTOR is not defined if libsanitizer i

[Bug libstdc++/103453] ASAN detection with clang

2021-11-30 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103453 --- Comment #6 from cqwrteur --- (In reply to Jonathan Wakely from comment #3) > Fixed on trunk so far, but this is backportable. Turns out _GLIBCXX_SANITIZE_VECTOR is not defined if libsanitizer is not built with GCC. But GCC does not support

[Bug libstdc++/103453] ASAN detection with clang

2021-11-30 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103453 --- Comment #5 from cqwrteur --- (In reply to Jonathan Wakely from comment #3) > Fixed on trunk so far, but this is backportable. #include int main() { std::vector vec; vec.reserve(20); vec[3]=40; } clang++ -o vec vec.

[Bug libstdc++/103453] ASAN detection with clang

2021-11-30 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103453 --- Comment #4 from cqwrteur --- (In reply to Jonathan Wakely from comment #3) > Fixed on trunk so far, but this is backportable. Still Does not work on x86_64-w64-mingw32 on windows by default, -D_GLIBCXX_SANITIZE_STD_ALLOCATOR -D_GLIBCXX_SANI

[Bug libstdc++/103453] ASAN detection with clang

2021-11-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103453 --- Comment #3 from Jonathan Wakely --- Fixed on trunk so far, but this is backportable.

[Bug libstdc++/103453] ASAN detection with clang

2021-11-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103453 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:cca6090b13ab503bef1cfa327e2d107789d6bd30 commit r12-5636-gcca6090b13ab503bef1cfa327e2d107789d6bd30 Author: Jonathan Wakely Date:

[Bug libstdc++/103453] ASAN detection with clang

2021-11-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103453 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.0 Assignee|unassigned at

[Bug libstdc++/103453] ASAN detection with clang

2021-11-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103453 Andrew Pinski changed: What|Removed |Added CC||unlvsur at live dot com --- Comment #1

[Bug libstdc++/103453] ASAN detection with clang

2021-11-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103453 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-11-27 Ever confirmed|0