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

From-SVN: r47659
This commit is contained in:
Neil Booth 2001-12-05 07:46:42 +00:00 committed by Neil Booth
parent 52488da14f
commit 7630630026
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
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)
* emit-rtl.c (set_unique_reg_note): Don't set

View File

@ -3697,6 +3697,12 @@ static void
display_target_options ()
{
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
#ifdef TARGET_OPTIONS