diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2011-10-12 22:41:57 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2011-10-12 22:41:57 +0000 |
commit | 0cfaf83fd2d61d9cc726489f59e4eafd4ef21a9c (patch) | |
tree | 63660533540813c80404d5a1a36119e8489cf53b /gcc/ada/ChangeLog | |
parent | 53778c2d881a648f1aad62e7a9b5e7d0d3fd59d2 (diff) | |
download | gcc-0cfaf83fd2d61d9cc726489f59e4eafd4ef21a9c.tar.gz |
Makefile.in (LOOSE_WARN): Delete.
gnattools/
* Makefile.in (LOOSE_WARN): Delete.
(GCC_WARN_CFLAGS): Set to -W -Wall.
(TOOLS_FLAGS_TO_PASS_1): Delete.
(TOOLS_FLAGS_TO_PASS_1re): Rename into...
(TOOLS_FLAGS_TO_PASS_RE): ...this.
(gnattools-native): Use TOOLS_FLAGS_TO_PASS_NATIVE.
(regnattools): Use TOOLS_FLAGS_TO_PASS_RE.
libada/
* Makefile.in (LOOSE_WARN): Delete.
(GCC_WARN_CFLAGS): Likewise.
(WARN_CFLAGS): Likewise.
(GNATLIBFLAGS): Add -nostdinc.
(GNATLIBCFLAGS_FOR_C): Add -W -Wall.
(LIBADA_FLAGS_TO_PASS): Remove WARN_CFLAGS.
* configure.ac (warn_cflags): Delete.
* configure: Regenerate.
gcc/ada/
* sem_util.adb (Denotes_Same_Prefix): Fix fatal warning.
* gcc-interface/Make-lang.in (WARN_ADAFLAGS): New.
(ALL_ADAFLAGS): Include WARN_ADAFLAGS.
(ADA_FLAGS_TO_PASS): Likewise.
(COMMON_FLAGS_TO_PASS): New.
(ADA_TOOLS_FLAGS_TO_PASS): Use COMMON_FLAGS_TO_PASS. In the regular
native case, also use FLAGS_TO_PASS and ADA_FLAGS_TO_PASS.
(gnatlib): Use COMMON_FLAGS_TO_PASS.
(ada.install-common): Likewise.
(install-gnatlib): Likewise.
(install-gnatlib-obj): Likewise.
(gnattools): Use ADA_TOOLS_FLAGS_TO_PASS for gnattools1 as well.
(gnat-cross): Delete.
(gnatboot): Likewise.
(gnatboot2): Likewise.
(gnatboot3): Likewise.
(gnatstage1): Likewise.
(gnatstage2): Likewise.
* gcc-interface/Makefile.in (SOME_ADAFLAGS): Likewise.
(MOST_ADAFLAGS): Likewise.
(LOOSE_CFLAGS): Likewise.
(gnat-cross): Likewise.
(GNATLIBFLAGS): Add -W -Wall.
(GNATLIBCFLAGS_FOR_C): Likewise.
* gcc-interface/lang.opt: Remove C-specific warnings. Add doc lines.
* gcc-interface/misc.c (gnat_handle_option): Remove obsolete cases.
From-SVN: r179878
Diffstat (limited to 'gcc/ada/ChangeLog')
-rw-r--r-- | gcc/ada/ChangeLog | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index a6cc689e91c..c995c9743a7 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,5 +1,34 @@ 2011-10-12 Eric Botcazou <ebotcazou@adacore.com> + * sem_util.adb (Denotes_Same_Prefix): Fix fatal warning. + * gcc-interface/Make-lang.in (WARN_ADAFLAGS): New. + (ALL_ADAFLAGS): Include WARN_ADAFLAGS. + (ADA_FLAGS_TO_PASS): Likewise. + (COMMON_FLAGS_TO_PASS): New. + (ADA_TOOLS_FLAGS_TO_PASS): Use COMMON_FLAGS_TO_PASS. In the regular + native case, also use FLAGS_TO_PASS and ADA_FLAGS_TO_PASS. + (gnatlib): Use COMMON_FLAGS_TO_PASS. + (ada.install-common): Likewise. + (install-gnatlib): Likewise. + (install-gnatlib-obj): Likewise. + (gnattools): Use ADA_TOOLS_FLAGS_TO_PASS for gnattools1 as well. + (gnat-cross): Delete. + (gnatboot): Likewise. + (gnatboot2): Likewise. + (gnatboot3): Likewise. + (gnatstage1): Likewise. + (gnatstage2): Likewise. + * gcc-interface/Makefile.in (SOME_ADAFLAGS): Likewise. + (MOST_ADAFLAGS): Likewise. + (LOOSE_CFLAGS): Likewise. + (gnat-cross): Likewise. + (GNATLIBFLAGS): Add -W -Wall. + (GNATLIBCFLAGS_FOR_C): Likewise. + * gcc-interface/lang.opt: Remove C-specific warnings. Add doc lines. + * gcc-interface/misc.c (gnat_handle_option): Remove obsolete cases. + +2011-10-12 Eric Botcazou <ebotcazou@adacore.com> + * gcc-interface/trans.c (Attribute_to_gnu): Use remove_conversions. (push_range_check_info): Likewise. (gnat_to_gnu) <N_Code_Statement>: Likewise. |