re PR bootstrap/85571 (non-bootstrap-debug miscompare with trunk)

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.

	* dwarf2out.c (gen_producer_string): Ignore -fchecking[=].

From-SVN: r259755
This commit is contained in:
Richard Biener 2018-04-30 08:18:03 +00:00 committed by Richard Biener
parent 2925cd9d1c
commit bece35ca28
5 changed files with 24 additions and 8 deletions

View File

@ -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.

View File

@ -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)

View File

@ -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)

View File

@ -1,3 +1,8 @@
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

View File

@ -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: