[PATCH] Bug 123375 - Fortran ICE in insert_bbt while building crest package since r16-2189

Steve Kargl sgk@troutmask.apl.washington.edu
Mon Jan 19 00:38:45 GMT 2026


On Sun, Jan 18, 2026 at 03:44:55PM -0800, Jerry D wrote:
> On 1/18/26 1:56 PM, Harald Anlauf wrote:
> --- snip ---
> > Hi Jerry,
> > 
> > technically speaking, the following error may confuse users as it
> > is a little misleading:
> 
> How about this?
> 
> $ gfc z1.f90
> z1.f90:7:17:
> 
>     7 |     import c_int, c_char
>       |                 1
> Error: ‘c_int’ at (1) is already available and cannot be imported.
> 

Simply remove "already" in from my original patch.

+	       gfc_error ("import-name %qs at %C is in the "
+			  "local scope", name);

-- 
Steve


More information about the Gcc-patches mailing list