diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | Makefile.in | 8 | ||||
-rw-r--r-- | Makefile.tpl | 8 | ||||
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 2 |
5 files changed, 24 insertions, 8 deletions
@@ -1,3 +1,12 @@ +2018-04-30 Richard Biener <rguenther@suse.de> + + PR bootstrap/85571 + * Makefile.tpl (STAGE3_CFLAGS): Use -fchecking=1. + (STAGE3_TFLAGS): Likewise. + (STAGEtrain_CFLAGS): Filter out -fchecking=1. + (STAGEtrain_TFLAGS): Likewise. + * Makefile.in: Regenerate. + 2018-04-26 Richard Biener <rguenther@suse.de> * Makefile.tpl (STAGE1_TFLAGS): Add -fno-checking. diff --git a/Makefile.in b/Makefile.in index 4f5bbf7..2bf83b7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -536,14 +536,14 @@ STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \ STAGE1_TFLAGS += -fno-checking STAGE2_CFLAGS += -fno-checking STAGE2_TFLAGS += -fno-checking -STAGE3_CFLAGS += -fchecking -STAGE3_TFLAGS += -fchecking +STAGE3_CFLAGS += -fchecking=1 +STAGE3_TFLAGS += -fchecking=1 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate STAGEprofile_TFLAGS = $(STAGE2_TFLAGS) -STAGEtrain_CFLAGS = $(filter-out -fchecking,$(STAGE3_CFLAGS)) -STAGEtrain_TFLAGS = $(filter-out -fchecking,$(STAGE3_TFLAGS)) +STAGEtrain_CFLAGS = $(filter-out -fchecking=1,$(STAGE3_CFLAGS)) +STAGEtrain_TFLAGS = $(filter-out -fchecking=1,$(STAGE3_TFLAGS)) STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use STAGEfeedback_TFLAGS = $(STAGE4_TFLAGS) diff --git a/Makefile.tpl b/Makefile.tpl index 5967c7a..abd2bc2 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -459,14 +459,14 @@ STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \ STAGE1_TFLAGS += -fno-checking STAGE2_CFLAGS += -fno-checking STAGE2_TFLAGS += -fno-checking -STAGE3_CFLAGS += -fchecking -STAGE3_TFLAGS += -fchecking +STAGE3_CFLAGS += -fchecking=1 +STAGE3_TFLAGS += -fchecking=1 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate STAGEprofile_TFLAGS = $(STAGE2_TFLAGS) -STAGEtrain_CFLAGS = $(filter-out -fchecking,$(STAGE3_CFLAGS)) -STAGEtrain_TFLAGS = $(filter-out -fchecking,$(STAGE3_TFLAGS)) +STAGEtrain_CFLAGS = $(filter-out -fchecking=1,$(STAGE3_CFLAGS)) +STAGEtrain_TFLAGS = $(filter-out -fchecking=1,$(STAGE3_TFLAGS)) STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use STAGEfeedback_TFLAGS = $(STAGE4_TFLAGS) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1470c89..11b7a83 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2018-04-30 Richard Biener <rguenther@suse.de> + PR bootstrap/85571 + * dwarf2out.c (gen_producer_string): Ignore -fchecking[=]. + +2018-04-30 Richard Biener <rguenther@suse.de> + PR tree-optimization/28364 PR tree-optimization/85275 * tree-ssa-loop-ch.c (ch_base::copy_headers): Stop after diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index d2d4ec0..a92b0ce 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -24234,6 +24234,8 @@ gen_producer_string (void) case OPT_fmacro_prefix_map_: case OPT_ffile_prefix_map_: case OPT_fcompare_debug: + case OPT_fchecking: + case OPT_fchecking_: /* Ignore these. */ continue; default: |