Commit 76306300 by Neil Booth Committed by Neil Booth

* toplev.c (display_target_options): Don't print twice.

From-SVN: r47659
parent 52488da1
2001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
* toplev.c (display_target_options): Don't print twice.
Wed Dec 5 00:42:16 EST 2001 John Wehle (john@feith.com) Wed Dec 5 00:42:16 EST 2001 John Wehle (john@feith.com)
* emit-rtl.c (set_unique_reg_note): Don't set * emit-rtl.c (set_unique_reg_note): Don't set
......
...@@ -3697,6 +3697,12 @@ static void ...@@ -3697,6 +3697,12 @@ static void
display_target_options () display_target_options ()
{ {
int undoc,i; int undoc,i;
static bool displayed = false;
/* Avoid double printing for --help --target-help. */
if (displayed)
return;
displayed = true;
if (ARRAY_SIZE (target_switches) > 1 if (ARRAY_SIZE (target_switches) > 1
#ifdef TARGET_OPTIONS #ifdef TARGET_OPTIONS
......
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