optc-gen.awk: Error instead of warning for conflicting help.

2012-05-13  Manuel López-Ibáñez  <manu@gcc.gnu.org>

gcc/
	* optc-gen.awk: Error instead of warning for conflicting help.
ada/
	* gcc-interface/lang.opt (I): Comment out help text with no effect.
	(nostdinc): Comment out help text with no effect.

From-SVN: r187437
parent 8ae1ec92
2012-05-13 Manuel López-Ibáñez <manu@gcc.gnu.org>
* optc-gen.awk: Error instead of warning for conflicting help.
2012-05-12 Jason Merrill <jason@redhat.com> 2012-05-12 Jason Merrill <jason@redhat.com>
PR debug/53235 PR debug/53235
......
2012-05-13 Manuel López-Ibáñez <manu@gcc.gnu.org>
* gcc-interface/lang.opt (I): Comment out help text with no effect.
(nostdinc): Comment out help text with no effect.
2012-05-12 Eric Botcazou <ebotcazou@adacore.com> 2012-05-12 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/Makefile.in (TOOLS_LIBS): Add ../../ggc-none.o. * gcc-interface/Makefile.in (TOOLS_LIBS): Add ../../ggc-none.o.
......
...@@ -48,7 +48,7 @@ Ada AdaWhy Alias(nostdlib) ...@@ -48,7 +48,7 @@ Ada AdaWhy Alias(nostdlib)
I I
Ada AdaWhy Joined Separate Ada AdaWhy Joined Separate
-I <dir>. Add <dir> to the end of the main source path ; Documented in C but it should be: -I <dir>. Add <dir> to the end of the main source path
Wall Wall
Ada AdaWhy Ada AdaWhy
...@@ -60,7 +60,7 @@ Synonym of -gnatk8 ...@@ -60,7 +60,7 @@ Synonym of -gnatk8
nostdinc nostdinc
Ada AdaWhy RejectNegative Ada AdaWhy RejectNegative
Do not look for source files in standard path ; Documented in C but it should be: Do not look for source files in standard path
nostdlib nostdlib
Ada AdaWhy Ada AdaWhy
......
...@@ -188,9 +188,9 @@ for (i = 0; i < n_opts; i++) { ...@@ -188,9 +188,9 @@ for (i = 0; i < n_opts; i++) {
if (help[i + 1] == "") if (help[i + 1] == "")
help[i + 1] = help[i] help[i + 1] = help[i]
else if (help[i] != "" && help[i + 1] != help[i]) else if (help[i] != "" && help[i + 1] != help[i])
print "warning: multiple different help strings for " \ print "#error Multiple different help strings for " \
opts[i] ":\n\t" help[i] "\n\t" help[i + 1] \ opts[i] ":\n\t" help[i] "\n\t" help[i + 1]
| "cat 1>&2"
i++; i++;
back_chain[i] = "N_OPTS"; back_chain[i] = "N_OPTS";
indices[opts[i]] = j; indices[opts[i]] = j;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment