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

Jerry D <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.fortran
Message-ID <[email protected]>
On 1/18/26 4:38 PM, Steve Kargl wrote:
> 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);
> 

That works for me, I will make it so.

Jerry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.