File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -516,10 +516,11 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_UNDEFINED_BEHAVIOR_SANITIZER],
516516 OPTIONAL: true)
517517
518518 # GCC reports lots of likely false positives for stringop-truncation and format-overflow.
519+ # GCC 13 also for array-bounds and stringop-overflow
519520 # Silence them for now.
520521 UBSAN_CHECKS="-fsanitize=undefined -fsanitize=float-divide-by-zero -fno-sanitize=shift-base -fno-sanitize=alignment \
521522 $ADDITIONAL_UBSAN_CHECKS"
522- UBSAN_CFLAGS="$UBSAN_CHECKS -Wno-stringop-truncation -Wno-format-overflow -fno-omit-frame-pointer -DUNDEFINED_BEHAVIOR_SANITIZER"
523+ UBSAN_CFLAGS="$UBSAN_CHECKS -Wno-stringop-truncation -Wno-format-overflow -Wno-array-bounds -Wno-stringop-overflow - fno-omit-frame-pointer -DUNDEFINED_BEHAVIOR_SANITIZER"
523524 UBSAN_LDFLAGS="$UBSAN_CHECKS"
524525 UTIL_ARG_ENABLE(NAME: ubsan, DEFAULT: false, RESULT: UBSAN_ENABLED,
525526 DESC: [ enable UndefinedBehaviorSanitizer] ,
You can’t perform that action at this time.
0 commit comments