https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114757
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|other |tree-optimization Blocks| |88443 Last reconfirmed| |2024-04-17 Ever confirmed|0 |1 Keywords| |diagnostic Summary|[ASAN] ASAN miscalculates |stringop-overflow warning |size of region when |with -fsanitize=address |building the JDK |while building JDK Status|UNCONFIRMED |WAITING --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note the documentation has the following warning about warnings and sanitizers: ``` Note that sanitizers tend to increase the rate of false positive warnings, most notably those around -Wmaybe-uninitialized. We recommend against combining -Werror and [the use of] sanitizers. ``` https://gcc.gnu.org/onlinedocs/gcc-13.2.0/gcc/Instrumentation-Options.html#index-fsanitize_003daddress Can you attach the preprocessed source as requested by https://gcc.gnu.org/bugs/ ? And the exact options which are being used to invoke gcc? Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 [Bug 88443] [meta-bug] bogus/missing -Wstringop-overflow warnings