[Bug c/107314] [13 Regression] New -Wsign-compare since r13-3360-g3b3083a598ca3f4b
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107314 Joseph S. Myers changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #4 from Joseph S. Myers --- Closing this bug, since the new behavior is as intended.
[Bug c/107314] [13 Regression] New -Wsign-compare since r13-3360-g3b3083a598ca3f4b
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107314 --- Comment #3 from Andrew Pinski --- (In reply to Martin Liška from comment #2) > All right, I've just created upstream issue: > https://savannah.gnu.org/bugs/index.php?63246 Note I submitted a bug about not being able to put this URL in the see also field (PR 107333).
[Bug c/107314] [13 Regression] New -Wsign-compare since r13-3360-g3b3083a598ca3f4b
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107314 --- Comment #2 from Martin Liška --- All right, I've just created upstream issue: https://savannah.gnu.org/bugs/index.php?63246
[Bug c/107314] [13 Regression] New -Wsign-compare since r13-3360-g3b3083a598ca3f4b
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107314 --- Comment #1 from joseph at codesourcery dot com --- This is a deliberate change: if any enumerators are outside the range of int, then all enumerators now have the enum type, rather than those outside the range of int having the enum type and those inside the range of int having type int. (The logic to determine the integer type with which the enum type is compatible is unchanged. In the case of this testcase, it produces unsigned int.) While, as noted in the commit message, the change could be made conditional on C2x mode if necessary, I'm doubtful if that would actually help grub; presumably they'd rather change things so they work in C2x mode rather than keeping using an older mode after -std=gnu2x is the default, or postponing the fix until then.
[Bug c/107314] [13 Regression] New -Wsign-compare since r13-3360-g3b3083a598ca3f4b
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107314 Richard Biener changed: What|Removed |Added Summary|New -Wsign-compare since|[13 Regression] New |r13-3360-g3b3083a598ca3f4b |-Wsign-compare since ||r13-3360-g3b3083a598ca3f4b Target Milestone|--- |13.0 Keywords||diagnostic