Bug 80024 - nios2: unclear wording "numeric digits" in diagnostic
Summary: nios2: unclear wording "numeric digits" in diagnostic
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 7.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-12 23:42 UTC by Roland Illig
Modified: 2018-10-27 21:39 UTC (History)
1 user (show)

See Also:
Host:
Target: nios2
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Illig 2017-03-12 23:42:50 UTC
from config/nios2/nios2.c:

error ("`custom-%s=' argument requires "
       "numeric digits", N2FPU_NAME (code));

"numeric digits" sounds like a taugology to me. The diagnostic should be reworded. While doing that, the quotes should be replaced with %< and %>, like in the other diagnostics in that file.
Comment 1 sandra 2018-10-27 21:35:15 UTC
Author: sandra
Date: Sat Oct 27 21:34:43 2018
New Revision: 265561

URL: https://gcc.gnu.org/viewcvs?rev=265561&root=gcc&view=rev
Log:
2018-10-27  Sandra Loosemore  <sandra@codesourcery.com>

	PR target/80024

	gcc/
	* config/nios2/nios2.c (nios2_valid_target_attribute_rec): Fix
	error message.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/nios2/nios2.c
Comment 2 sandra 2018-10-27 21:39:29 UTC
Fixed on mainline now.