This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Since GCC has switched to toplevel bootstrap mechanism, all stages are using the same Ada flags (the one defined for statge 1). The expected behavior is in fact to ignore warnings during stage1 but not during the other stages. I have attached a patch to fix the issue.
Here is the changelog entry: 2008-08-13 Nicolas Roche <roche@adacore.com>
* configure.ac: Add ADAFLAGS * Makefile.in: Add ADAFLAGS and BOOT_ADAFLAGS
ifeq ($(CROSS),) # If not in cross context we are probably doing a bootstrap # so disable warnings during stage1 ADAFLAGS= $(COMMON_ADAFLAGS) -gnatws else ADAFLAGS= $(COMMON_ADAFLAGS) endif
Testing done: - boostrap on x86_64-linux - cross build from x86_64-linux -> powerpc-elf
Should I supply also the changes to the regenerated configure ?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |