public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/104797] New: too many parentheses in diagnostic for __delay_cycles
@ 2022-03-04 22:23 roland.illig at gmx dot de
  2022-03-06 17:33 ` [Bug target/104797] " egallager at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: roland.illig at gmx dot de @ 2022-03-04 22:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104797

            Bug ID: 104797
           Summary: too many parentheses in diagnostic for __delay_cycles
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland.illig at gmx dot de
  Target Milestone: ---
            Target: msp430

>From msp430.cc:
> error ("%<__delay_cycles()%> only takes constant arguments");
> error ("%<__delay_cycles%> only takes non-negative cycle counts");

The parentheses in the first message above have recently been added. They are
wrong. It's the function that takes arguments, not the function call. For
consistency the parentheses should be removed again from the diagnostic.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-07 10:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-04 22:23 [Bug target/104797] New: too many parentheses in diagnostic for __delay_cycles roland.illig at gmx dot de
2022-03-06 17:33 ` [Bug target/104797] " egallager at gcc dot gnu.org
2022-03-07 10:45 ` cvs-commit at gcc dot gnu.org
2022-03-07 10:45 ` marxin at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).