Re: [PATCH] Fortran: Fix ICE-on-invalid in trans_code
Sandra Loosemore <[email protected]> Sun, 5 Jul 2026 08:17:47 -0600
| Newsgroups | gmane.comp.gcc.patches,gmane.comp.gcc.fortran |
|---|---|
| Message-ID | <[email protected]> |
On 7/4/26 16:35, Jerry D wrote: > On 7/4/26 2:53 PM, Sandra Loosemore wrote: >> While testing some WIP OpenMP patches, I ran into an ICE in trans_code >> after an error in an OpenMP directive was diagnosed. It was trying to >> use SET_EXPR_LOCATION on error_mark_node, which isn't EXPR_P and >> doesn't have a location field. I think this fix is "obvious" but I'll >> wait a couple days before pushing it in case anyone objects or has a >> better idea. >> >> -Sandra > > Hi Sandra, > > That is pretty obvious, go ahead and commit. I have a number of patches > with things like this. Little by little we fix them. Thanks for the speedy approval. I've gone ahead and pushed the patch. -Sandra