https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110791
Jeffrey A. Law changed:
What|Removed |Added
Priority|P3 |P4
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110791
Alex Coplan changed:
What|Removed |Added
Keywords|needs-bisection |
--- Comment #5 from Alex Coplan ---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110791
Richard Biener changed:
What|Removed |Added
Target Milestone|--- |12.4
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110791
Wilco changed:
What|Removed |Added
CC||wilco at gcc dot gnu.org
--- Comment #4 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110791
Xi Ruoyao changed:
What|Removed |Added
Status|WAITING |UNCONFIRMED
Ever confirmed|1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110791
--- Comment #2 from Alex Coplan ---
(In reply to Xi Ruoyao from comment #1)
> Isn't this a UB?
>
> while (p >= path && *p != '/')
> p--;
>
> This will cause p to become "::path[0] - 1". C23 6.5.6p9:
In this case, with the input given
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110791
Xi Ruoyao changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
CC|