This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[C++ Patch] PR 51777


Hi,

in this diagnostic issue we incorrectly print unsigned template arguments as signed. The fix seems straightforward: just use the very same algorithm used in dump_generic_node for INTEGER_CST, thus dispatch to either pp_wide_integer or pp_unsigned_wide_integer.

Booted and tested C++ (testing in progress for C etc.)

Ok for mainline?

Thanks,
Paolo.

///////////////////////

Attachment: CL_51777
Description: Text document

Attachment: patch_51777
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]