Re: [PATCH] c++: Take downgraded errors into account in seen_error [PR118388]

2025-05-23 Thread Jason Merrill
On 5/9/25 11:37 AM, Simon Martin wrote: Several gcc_assert through the C++ front-end involve seen_error (), that does not take into account errors that were turned into warnings due to -fpermissive or -Wtemplate-body. Running the full C++ testsuite when forcing the use of -fpermissive leads to I

Re: [PATCH] c++: Take downgraded errors into account in seen_error [PR118388]

2025-05-22 Thread Simon Martin
Hi, On Fri May 9, 2025 at 5:37 PM CEST, Simon Martin wrote: > Several gcc_assert through the C++ front-end involve seen_error (), that > does not take into account errors that were turned into warnings due to > -fpermissive or -Wtemplate-body. > > Running the full C++ testsuite when forcing the us

[PATCH] c++: Take downgraded errors into account in seen_error [PR118388]

2025-05-09 Thread Simon Martin
Several gcc_assert through the C++ front-end involve seen_error (), that does not take into account errors that were turned into warnings due to -fpermissive or -Wtemplate-body. Running the full C++ testsuite when forcing the use of -fpermissive leads to ICEs for 6 tests (see list in ticket); one