summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2022-08-29 17:04:54 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-09-06 19:32:35 +0000
commit0ad2280aae820537e6c4e03afdc70ef644f91991 (patch)
treeda96215c0fc19c98545e5ae04119f71b711c7651 /core
parent912d6736d5cbf18c9087a5df55526b38ddf2096e (diff)
downloadchrome-ec-0ad2280aae820537e6c4e03afdc70ef644f91991.tar.gz
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 <tomhughes@chromium.org> Change-Id: I5e50a8886cf093a21c2f9385ce60fa950749f962 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3872551 Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'core')
-rw-r--r--core/cortex-m0/vecttable.c6
1 files changed, 0 insertions, 6 deletions
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