[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-05-20 Thread pchelkin at ispras dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #44 from Fedor Pchelkin --- Created attachment 58254 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58254=edit dmesg-log The whole kernel log for booting failure.

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-05-20 Thread pchelkin at ispras dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #43 from Fedor Pchelkin --- Created attachment 58253 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58253=edit kernel-config Kernel config used for building the kernel.

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-05-20 Thread pchelkin at ispras dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 Fedor Pchelkin changed: What|Removed |Added CC||pchelkin at ispras dot ru --- Comment

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-04-24 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 Uroš Bizjak changed: What|Removed |Added Target Milestone|13.3|11.5 Status|ASSIGNED

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-04-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #40 from GCC Commits --- The releases/gcc-11 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:09910b6753427eeb3f6dded4fae3578851da7422 commit r11-11352-g09910b6753427eeb3f6dded4fae3578851da7422 Author: Jakub Jelinek

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-04-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #39 from GCC Commits --- The releases/gcc-11 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:624c3bb9ff762f196852dc77233610d1cdf7d7be commit r11-11351-g624c3bb9ff762f196852dc77233610d1cdf7d7be Author: Jakub Jelinek

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-04-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #37 from GCC Commits --- The releases/gcc-11 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:b86b523fb53f5ffb0e3f3236fc526a587944d9ea commit r11-11349-gb86b523fb53f5ffb0e3f3236fc526a587944d9ea Author: Richard Biener

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-04-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #38 from GCC Commits --- The releases/gcc-11 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:b4e1aee01a2fa617cf74ab04cf0ab574761aaaea commit r11-11350-gb4e1aee01a2fa617cf74ab04cf0ab574761aaaea Author: Richard Biener

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-04-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #35 from GCC Commits --- The releases/gcc-12 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:d6c62e4fb9a6d395599b7c78c831bace4bc7ff8f commit r12-10389-gd6c62e4fb9a6d395599b7c78c831bace4bc7ff8f Author: Jakub Jelinek

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-04-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #36 from GCC Commits --- The releases/gcc-12 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:48fd1c5791b47717dcd4fa5615bc07cf54e964a7 commit r12-10390-g48fd1c5791b47717dcd4fa5615bc07cf54e964a7 Author: Jakub Jelinek

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-04-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #34 from GCC Commits --- The releases/gcc-12 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:e89b5ed62a5a06fb8918ffa1616f0f37c8d359c3 commit r12-10388-ge89b5ed62a5a06fb8918ffa1616f0f37c8d359c3 Author: Richard Biener

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-04-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #33 from GCC Commits --- The releases/gcc-12 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:61d1962e7c3c32da6962d9cb20f6fd996501f3f2 commit r12-10387-g61d1962e7c3c32da6962d9cb20f6fd996501f3f2 Author: Richard Biener

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #32 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:85b2b99e56b6f54b3feb530b2492955486e3d389 commit r13-8522-g85b2b99e56b6f54b3feb530b2492955486e3d389 Author: Jakub Jelinek

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #31 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:05de873353ab9e94cda2b9e9561a82ca4e061c3f commit r13-8520-g05de873353ab9e94cda2b9e9561a82ca4e061c3f Author: Jakub Jelinek

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #30 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:471967ab8b4c49338ba77defbe24b06cc51c0093 commit r14-9667-g471967ab8b4c49338ba77defbe24b06cc51c0093 Author: Jakub Jelinek Date:

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-25 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #29 from Uroš Bizjak --- Do we also need to adjust TSAN? There is a bugreport that KCSAN does work correctly with the named address spaces.(In reply to Jakub Jelinek from comment #28) > Created attachment 57807 [details] >

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #28 from Jakub Jelinek --- Created attachment 57807 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57807=edit gcc14-pr111736-tsan.patch Untested patch for tsan.

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #27 from Jakub Jelinek --- I think it should. E.g. for int __seg_fs a; void foo (int __seg_fs *p) { a = *p; } the instrumentation is _5 = __builtin_return_address (0); __builtin___tsan_func_entry (_5);

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-25 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #26 from Uroš Bizjak --- Do we also need to adjust TSAN? There is a bugreport that KCSAN does work correctly with the named address spaces.

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #25 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ddd4a3ca87410886b039cc225907b4f6e650082e commit r14-9610-gddd4a3ca87410886b039cc225907b4f6e650082e Author: Jakub Jelinek Date:

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #24 from Jakub Jelinek --- Created attachment 57756 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57756=edit gcc14-pr111736-ubsan.patch Untested ubsan patch.

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #23 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:6d5eb47849bcf9aecefacf7d7e4767750b1ec83b commit r13-8476-g6d5eb47849bcf9aecefacf7d7e4767750b1ec83b Author: Richard

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #22 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:134ef2a8cac1a5cc718739bd7d3b3472947c80d6 commit r14-9590-g134ef2a8cac1a5cc718739bd7d3b3472947c80d6 Author: Richard Biener Date:

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #21 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #20) > Though, talking about address spaces, guess we also need to change ubsan.cc, > so that for targetm.addr_space.zero_address_valid (as) case it actually >

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #20 from Jakub Jelinek --- (In reply to Uroš Bizjak from comment #19) > (In reply to Uroš Bizjak from comment #16) > > (In reply to Richard Biener from comment #13) > > > The original testcase is fixed, appearantly slapping 'extern'

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-21 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #19 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #16) > (In reply to Richard Biener from comment #13) > > The original testcase is fixed, appearantly slapping 'extern' on the int > > makes it not effective. > > > >

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #18 from Jakub Jelinek --- (In reply to rguent...@suse.de from comment #17) > On Thu, 21 Mar 2024, ubizjak at gmail dot com wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 > > > > --- Comment #16 from Uro? Bizjak

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-21 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #17 from rguenther at suse dot de --- On Thu, 21 Mar 2024, ubizjak at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 > > --- Comment #16 from Uro? Bizjak --- > (In reply to Richard Biener from comment

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-21 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #16 from Uroš Bizjak --- (In reply to Richard Biener from comment #13) > The original testcase is fixed, appearantly slapping 'extern' on the int > makes it not effective. > > Possibly better amend the > > if (VAR_P (inner) &&

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #15 from Richard Biener --- (In reply to Richard Biener from comment #13) > The original testcase is fixed, appearantly slapping 'extern' on the int > makes it not effective. > > Possibly better amend the > > if (VAR_P (inner)

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #14 from Richard Biener --- That also fixes int foo (int __seg_gs *m) { return *m; }

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 Richard Biener changed: What|Removed |Added Status|REOPENED|ASSIGNED --- Comment #13 from Richard

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-21 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 Uroš Bizjak changed: What|Removed |Added Priority|P3 |P1 --- Comment #12 from Uroš Bizjak ---

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-20 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #11 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #10) > Huh, is this really fixed? IMO, this patch is also needed: --cut here-- diff --git a/gcc/asan.cc b/gcc/asan.cc index cfe83106460..54dcc3a38db 100644 ---

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-20 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 Uroš Bizjak changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2023-12-29 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 Uroš Bizjak changed: What|Removed |Added Target Milestone|--- |13.3

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2023-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #9 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:06ffe577036fa58968960afc62e16349fa43d496 commit r13-8168-g06ffe577036fa58968960afc62e16349fa43d496 Author: Richard

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2023-12-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #8 from Richard Biener --- (In reply to Uroš Bizjak from comment #7) > (In reply to GCC Commits from comment #5) > > The master branch has been updated by Richard Biener : > > Can this patch be backported to gcc-13 branch? Sure -

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2023-12-19 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #7 from Uroš Bizjak --- (In reply to GCC Commits from comment #5) > The master branch has been updated by Richard Biener : Can this patch be backported to gcc-13 branch?

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2023-12-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2023-12-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #5 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:7e40497805c0831596334fe474112f991276e11b commit r14-6184-g7e40497805c0831596334fe474112f991276e11b Author: Richard Biener Date:

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2023-12-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2023-10-09 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #3 from Alexander Monakov --- Sorry, the second half of my comment is confusing. To clarify, ASan works fine for TLS data (the compiler knows that TLS base is at fs:0; libsanitizer uses some hacks to initialize shadow for TLS

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2023-10-09 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2023-10-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 Richard Biener changed: What|Removed |Added Keywords||wrong-code --- Comment #1 from