Re: [PATCH v3] Fortran: Fix diagnostic for ambiguous pointer function assignment [PR80012]

Steve Kargl <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.fortran
Message-ID <[email protected]>
On Fri, Feb 20, 2026 at 04:01:52PM -0800, Steve Kargl wrote:
> 
> % gfcx --version pr96102.f90
> GNU Fortran (GCC) 16.0.1 20260220 (experimental)
>  gfcx -c pr96102.f90
> f951: internal compiler error: in set_diagnostic_buffer, at buffering.cc:50
> 0x2790d8b internal_error(char const*, ...)
>         ../../gcc/gcc/diagnostic-global-context.cc:787
> 0x9dd0bc fancy_abort(char const*, int, char const*)
>         ../../gcc/gcc/diagnostics/context.cc:1812
> 0x9dcdf7 diagnostics::context::set_diagnostic_buffer(diagnostics::buffer*)
>         ../../gcc/gcc/diagnostics/buffering.cc:50
> 0xa33c32 gfc_error_opt
>         ../../gcc/gcc/fortran/error.cc:792
> 0xa3500f gfc_error(char const*, ...)
>         ../../gcc/gcc/fortran/error.cc:820
> 0xb0ca18 gfc_add_procedure(symbol_attribute*, procedure_type, char const*, locus*)
>         ../../gcc/gcc/fortran/symbol.cc:1892
> 

Unfortunately, setting a breakpoint and step into 
gfc_add_procedure() is a big non-started for me
as I devolves into C++.

-- 
Steve
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.