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

            Bug ID: 87386
           Summary: Error message for static_assert show wrong range
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trashyankes at wp dot pl
  Target Milestone: ---

Compiler output:

```
24 | static_assert(std::is_same<int, long>::value,"eee");
   |               ^~~
```

Range mark only `std` instead of whole expression. At least is should mark
`value`.

Reply via email to