From 0ad2280aae820537e6c4e03afdc70ef644f91991 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 29 Aug 2022 17:04:54 -0700 Subject: core/cortex-m0: Remove noop The pragma disables a warning and then immediately re-enables it, which has no effect. BRANCH=none BUG=b:172020503 TEST=./util/compare_build.sh -b all -j 120 => MATCH Signed-off-by: Tom Hughes Change-Id: I5e50a8886cf093a21c2f9385ce60fa950749f962 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3872551 Reviewed-by: Denis Brockus --- core/cortex-m0/vecttable.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'core') diff --git a/core/cortex-m0/vecttable.c b/core/cortex-m0/vecttable.c index a0c3c1afa9..0f76ca401b 100644 --- a/core/cortex-m0/vecttable.c +++ b/core/cortex-m0/vecttable.c @@ -47,12 +47,6 @@ void __attribute__((naked)) default_handler(void) extern void stack_end(void); /* not technically correct, it's just a pointer */ extern void reset(void); -#pragma GCC diagnostic push -#if __GNUC__ >= 8 -#pragma GCC diagnostic ignored "-Wattribute-alias" -#endif -#pragma GCC diagnostic pop - #endif /* PASS 1 */ #if PASS == 2 -- cgit v1.2.1