Skip to content

Commit 2afda14

Browse files
committed
app_sms: Ignore false positive vectorization warning.
Ignore gcc warning about writing 32 bytes into a region of size 6, since we check that we don't go out of bounds for each byte. This is due to a vectorization bug in gcc 15, stemming from gcc commit 68326d5d1a593dc0bf098c03aac25916168bc5a9. Resolves: asterisk#1088
1 parent 198b01c commit 2afda14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ $(call MOD_ADD_C,app_confbridge,$(wildcard confbridge/*.c))
5252
app_confbridge.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
5353
app_meetme.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
5454
app_minivm.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
55+
# Needed to work around gcc 15 bug: https://github.com/asterisk/asterisk/issues/1088
56+
app_sms.o: _ASTCFLAGS+=-fno-tree-vectorize
5557
app_voicemail.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION) -DFILE_STORAGE
5658
app_voicemail_odbc.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION) -DODBC_STORAGE
5759
app_voicemail_imap.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION) -DIMAP_STORAGE

0 commit comments

Comments
 (0)