Re: [PATCH] c-lex: Handle NULL filenames from UNKNOWN_LOCATION [PR120273].

2025-06-03 Thread Iain Sandoe
> On 3 Jun 2025, at 17:03, Jason Merrill wrote: > > On 5/29/25 8:29 AM, Iain Sandoe wrote: >> To trigger this involves somewhat tortuous pathways through the >> c++ requires code. I did consider the alternative of putting in >> an assert and then checking every call-site, but that seemed to >

Re: [PATCH] c-lex: Handle NULL filenames from UNKNOWN_LOCATION [PR120273].

2025-06-03 Thread Jason Merrill
On 5/29/25 8:29 AM, Iain Sandoe wrote: To trigger this involves somewhat tortuous pathways through the c++ requires code. I did consider the alternative of putting in an assert and then checking every call-site, but that seemed to be a much larger change. tested on x86_64-darwin and powerpc64le-

[PATCH] c-lex: Handle NULL filenames from UNKNOWN_LOCATION [PR120273].

2025-05-29 Thread Iain Sandoe
To trigger this involves somewhat tortuous pathways through the c++ requires code. I did consider the alternative of putting in an assert and then checking every call-site, but that seemed to be a much larger change. tested on x86_64-darwin and powerpc64le-linux, OK for trunk? thanks Iain --- 8<