[Bug c/110399] New: pointer substraction causes coredump with ftrapv on edge case

2023-06-24 Thread baiwfg2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110399 Bug ID: 110399 Summary: pointer substraction causes coredump with ftrapv on edge case Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug middle-end/110399] pointer substraction causes coredump with ftrapv on edge case

2023-06-29 Thread baiwfg2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110399 --- Comment #3 from Chan Lewis --- (In reply to Andrew Pinski from comment #2) > Dup of bug 13421. > > *** This bug has been marked as a duplicate of bug 13421 *** I see. I wonder why gcc consider pointer signed and need to abort in this case,