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

            Bug ID: 125432
           Summary: check_GNU_style.py `trailing operator` check should
                    ignore t-* files
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Keywords: false-positive
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

From
https://forge.sourceware.org/gcc/gcc-TEST/actions/runs/247/jobs/0/attempt/1:

```
=== ERROR type #10: trailing operator (4 error(s)) ===
gcc/config/wasm/t-wasm:3:66:    $(COMPILER) -c $(ALL_COMPILERFLAGS)
$(ALL_CPPFLAGS) $(INCLUDES) $<
gcc/config/wasm/t-wasm:7:66:    $(COMPILER) -c $(ALL_COMPILERFLAGS)
$(ALL_CPPFLAGS) $(INCLUDES) $<
gcc/config/wasm/t-wasm:11:66:   $(COMPILER) -c $(ALL_COMPILERFLAGS)
$(ALL_CPPFLAGS) $(INCLUDES) $<
```

This is a false positive. and the check_GNU_style.py script should be improved
to ignore the t-* files for this test.

Reply via email to