Nick Bofferding | f390b6f | 2019-10-08 11:55:42 -0500 | [diff] [blame] | 1 | From 48c944978a8fea129b4fce39063386237881871b Mon Sep 17 00:00:00 2001 |
| 2 | From: Nick Bofferding <bofferdn@us.ibm.com> |
| 3 | Date: Thu, 3 Oct 2019 14:36:31 -0500 |
| 4 | Subject: [PATCH] Workaround certain OCC errors for P10 |
| 5 | |
| 6 | To allow P10 OCC code to compile, temporarily suppress errors for: |
| 7 | aggressive-loop-optimizations |
| 8 | unused-but-set-variable |
| 9 | --- |
| 10 | src/occ_405/occ_defs.mk | 2 +- |
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 12 | |
| 13 | diff --git a/src/occ_405/occ_defs.mk b/src/occ_405/occ_defs.mk |
| 14 | index c87c44a..fa06a42 100644 |
| 15 | --- a/src/occ_405/occ_defs.mk |
| 16 | +++ b/src/occ_405/occ_defs.mk |
| 17 | @@ -23,7 +23,7 @@ |
| 18 | # |
| 19 | # IBM_PROLOG_END_TAG |
| 20 | |
| 21 | -GCC-CFLAGS += -Werror |
| 22 | +GCC-CFLAGS += -Werror -Wno-error=aggressive-loop-optimizations -Wno-error=unused-but-set-variable |
| 23 | |
| 24 | %.o: %.c |
| 25 | $(OBJDIR)/%.o: %.c |
| 26 | -- |
| 27 | 1.8.2.2 |
| 28 | |