public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4571] Revert "target: Support whitespaces in target attr/pragma."
@ 2021-10-20 12:50 Martin Liska
0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-10-20 12:50 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:85d7543a2259a10054b9651de16a4b71ab0f88a8
commit r12-4571-g85d7543a2259a10054b9651de16a4b71ab0f88a8
Author: Martin Liska <mliska@suse.cz>
Date: Wed Oct 20 14:49:12 2021 +0200
Revert "target: Support whitespaces in target attr/pragma."
This reverts commit 6b34f5c5ec75823d656b6882f12d46248402a2aa.
Diff:
---
gcc/config/aarch64/aarch64.c | 1 -
gcc/testsuite/gcc.target/aarch64/pr102375.c | 4 ----
2 files changed, 5 deletions(-)
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 674edd4e305..699c105a42a 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -17634,7 +17634,6 @@ aarch64_process_one_target_attr (char *arg_str)
char *str_to_check = (char *) alloca (len + 1);
strcpy (str_to_check, arg_str);
- str_to_check = strip_whitespaces (str_to_check, &len);
/* We have something like __attribute__ ((target ("+fp+nosimd"))).
It is easier to detect and handle it explicitly here rather than going
diff --git a/gcc/testsuite/gcc.target/aarch64/pr102375.c b/gcc/testsuite/gcc.target/aarch64/pr102375.c
deleted file mode 100644
index fa75d319b2d..00000000000
--- a/gcc/testsuite/gcc.target/aarch64/pr102375.c
+++ /dev/null
@@ -1,4 +0,0 @@
-/* PR target/102375 */
-/* { dg-do compile } */
-
-void calculate(void) __attribute__ ((target ("+sve, +sve2")));
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-20 12:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-20 12:50 [gcc r12-4571] Revert "target: Support whitespaces in target attr/pragma." Martin Liska
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).