https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92857
Joshua Saxby changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92857
--- Comment #3 from Joshua Saxby ---
I can confirm that if `MyUnsigned` is changed to `unsigned char`, the issue
persists, however if it is changed to `unsigned int`, the issue is not present.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92857
--- Comment #2 from Joshua Saxby ---
(In reply to Richard Biener from comment #1)
> I think the warning is about foo - bar being carried out in type 'int' due to
> integer promotion and that converted to size_t which may turn the negative
> resul
IRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: joshua.a.saxby at gmail dot com
Target Milestone: ---
Created attachment 47439
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47439&action=e