diff mbox series

[committed] targhooks.c: Fix -fzero-call-used-regs 'sorry' typo

Message ID 8adbf7bb-90b2-9481-1cec-231316b94269@codesourcery.com
State New
Headers show
Series [committed] targhooks.c: Fix -fzero-call-used-regs 'sorry' typo | expand

Commit Message

Tobias Burnus Nov. 4, 2020, 1:36 p.m. UTC
As also remarked in Christophe in PR97699.
Committed as obvious.

Tobias

-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter
diff mbox series

Patch

commit 243492e2c69741b91dbfe3bba9b772f65fc9354c
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Wed Nov 4 14:31:34 2020 +0100

    targhooks.c: Fix -fzero-call-used-regs 'sorry' typo
    
    gcc/ChangeLog:
    
            * targhooks.c (default_zero_call_used_regs): Fix flag-name typo
            in sorry.

diff --git a/gcc/targhooks.c b/gcc/targhooks.c
index 4e4d100c547..5b68a2ad7d4 100644
--- a/gcc/targhooks.c
+++ b/gcc/targhooks.c
@@ -1011,7 +1011,7 @@  default_zero_call_used_regs (HARD_REG_SET need_zeroed_hardregs)
 	      {
 		issued_error = true;
 		sorry ("%qs not supported on this target",
-			"-fzero-call-used_regs");
+			"-fzero-call-used-regs");
 	      }
 	    delete_insns_since (last_insn);
 	  }