aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2003-11-14 17:49:19 +0100
committerAndreas Jaeger <aj@gcc.gnu.org>2003-11-14 17:49:19 +0100
commita477ab83205c208ab4e461b0af4af1abaad2ceae (patch)
tree1f1a459b3250a8b487fd65b806c1fc222fb248cc /gcc
parentc004039774bc90cc11291d7820d21c18239519fd (diff)
downloadgcc-a477ab83205c208ab4e461b0af4af1abaad2ceae.zip
gcc-a477ab83205c208ab4e461b0af4af1abaad2ceae.tar.gz
gcc-a477ab83205c208ab4e461b0af4af1abaad2ceae.tar.bz2
lang.opt: Change -Wno-long-long to -Wlong-long since the latter is the canonical version.
* lang.opt: Change -Wno-long-long to -Wlong-long since the latter is the canonical version. * misc.c (gnat_handle_option): Likewise. From-SVN: r73607
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/ChangeLog4
-rw-r--r--gcc/ada/lang.opt2
-rw-r--r--gcc/ada/misc.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 0a8ba69..7f7414e 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,5 +1,9 @@
2003-11-14 Andreas Jaeger <aj@suse.de>
+ * lang.opt: Change -Wno-long-long to -Wlong-long since the latter
+ is the canonical version.
+ * misc.c (gnat_handle_option): Likewise.
+
* Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux.
* 5nsystem.ads: New file for x86_64-linux-gnu.
diff --git a/gcc/ada/lang.opt b/gcc/ada/lang.opt
index ec3e924..7ac89f9 100644
--- a/gcc/ada/lang.opt
+++ b/gcc/ada/lang.opt
@@ -45,7 +45,7 @@ Wwrite-strings
Ada
; Documented for C
-Wno-long-long
+Wlong-long
Ada
; Documented for C
diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c
index c7510fc..cd9663c 100644
--- a/gcc/ada/misc.c
+++ b/gcc/ada/misc.c
@@ -259,7 +259,7 @@ gnat_handle_option (size_t scode, const char *arg, int value ATTRIBUTE_UNUSED)
case OPT_Wmissing_prototypes:
case OPT_Wstrict_prototypes:
case OPT_Wwrite_strings:
- case OPT_Wno_long_long:
+ case OPT_Wlong_long:
break;
/* This is handled by the front-end. */