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

            Bug ID: 121184
           Summary: Violation of style check -gnatyc is reported as
                    violation of -gnatyt
           Product: gcc
           Version: 15.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jesper.quorning at gmail dot com
                CC: dkm at gcc dot gnu.org
  Target Milestone: ---

This snippet 

-- One space comment
procedure Dummy is
begin
   null;
end Dummy;

Build with

gnatmake dummy.adb -gnatyc

Reports

dummy.adb:1:04: (style) space required [-gnatyt]

I believe it should have been

dummy.adb:1:04: (style) space required [-gnatyc]

Reply via email to