Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitad2ad69

Browse files
committed
Tweak compiler version cutoff for no_sanitize("alignment") support.
Buildfarm results show that gcc up through 7.x produces annoyingwarnings for this construct (and, presumably, wouldn't do the rightthing anyway). clang seems okay with the cutoff we have, though.Discussion:https://postgr.es/m/CAPpHfdsne3%3DT%3DfMNU45PtxdhSL_J2PjLTeS8rwKnJzUR4YNd4w%40mail.gmail.comDiscussion:https://postgr.es/m/475514.1612745257%40sss.pgh.pa.us
1 parentae4867e commitad2ad69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/include/c.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
* Testing can be done with "-fsanitize=alignment -fsanitize-trap=alignment"
139139
* on clang, or "-fsanitize=alignment -fno-sanitize-recover=alignment" on gcc.
140140
*/
141-
#if__clang_major__ >=7||__GNUC__ >=5
141+
#if__clang_major__ >=7||__GNUC__ >=8
142142
#definepg_attribute_no_sanitize_alignment() __attribute__((no_sanitize("alignment")))
143143
#else
144144
#definepg_attribute_no_sanitize_alignment()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp