[Bug target/104904] New: misplaced quotes in diagnostic

roland.illig at gmx dot de gcc-bugzilla@gcc.gnu.org
Sun Mar 13 17:43:37 GMT 2022


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

            Bug ID: 104904
           Summary: misplaced quotes in diagnostic
           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
                CC: egallager at gcc dot gnu.org, msebor at gcc dot gnu.org
  Target Milestone: ---
            Target: v850

>From v850-c.cc:
> %<#pragma%> GHS endXXXX found without previous startXXX
> %<#pragma%> GHS endXXX does not match previous startXXX
> junk at end of %<#pragma%> ghs section
> malformed %<#pragma%> ghs section
> and so on
Should be %<#pragma GHS endXXX%> (only 3 X, not 4 X), as well as %<startXXXX%>.
Looks like a fallout from enclosing keywords in quotes, missed in the manual
review.


More information about the Gcc-bugs mailing list