[Bug c/78165] New: avoid printing type suffix for constants in %E output
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Oct 30 20:45:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78165
Bug ID: 78165
Summary: avoid printing type suffix for constants in %E output
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: msebor at gcc dot gnu.org
Target Milestone: ---
As discussed in the thread below, the type suffix printed in GCC diagnostics
involving the %E directive and integer constants isn't helpful anymore. On the
contrary, since it's printed inconsistently for some constants and not others
it can be confusing for users and cause failures in GCC tests that check the
output of diagnostic messages. The feature should be removed and integer
constant should be printed without a suffix like other compilers (such as
Clang) do.
https://gcc.gnu.org/ml/gcc-patches/2016-10/msg02168.html
More information about the Gcc-bugs
mailing list