On Mon, 4 Aug 2025, Anna (navi) Figueiredo Gomes wrote: > On Mon Aug 4, 2025 at 9:49 PM CEST, Joseph Myers wrote: > > On Sun, 3 Aug 2025, Anna (navi) Figueiredo Gomes wrote: > > > >> based on n3589[1], this feature mostly makes use of already-established > >> logic, namely push_cleanup used by the cleanup attribute, and the > >> constraints put in place for checking local jumps against statement > >> expressions > >> > >> 1: https://open-std.org/JTC1/SC22/WG14/www/docs/n3589.pdf > > > > This is somewhat premature. > > > > N3589 is a TS proposal, which would need to go though the National Body > > balloting process, which takes a while. If accepted, it would not be part > > of C2y, and so it wouldn't be appropriate for the implementation to be > > conditional on C2y; it would have to be conditional on some other option > > instead. > > slimcc[1] has implemented it under `-fdefer-ts`, would something along > those lines be better, for the initial implementation?
Yes, it would, since these patches are aiming at the draft TS version. -- Joseph S. Myers josmy...@redhat.com