Re: [patch, libfortran] Fix PR 123446, broken bootstrap

Hans-Peter Nilsson <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.fortran
Message-ID <[email protected]>
> Date: Thu, 8 Jan 2026 08:06:55 +0100
> From: Thomas Koenig <[email protected]>
> 
> 

> I just realized that it is possible to run a check by #undef - ing
>   __GTHREADS_CXX0X in async.h.  Doing so promptly found another
> syntax error, which this version of the patch fixes.

But to what version should that patch be applied?
It has near the top:

+++ b/gcc/fortran/libgfortran.h
@@ -143,6 +143,7 @@ typedef enum
   LIBERROR_INQUIRE_INTERNAL_UNIT, /* Must be different from STAT_STOPPED_IMAGE.  */
   LIBERROR_BAD_WAIT_ID,
   LIBERROR_NO_MEMORY,
+  LIBERROR_RECURSIVE_IO,
   LIBERROR_LAST			/* Not a real error, the last error # + 1.  */
 }
 libgfortran_error_codes;

But that's already in r16-6515-ge32c3fb4311bca, so what do I
do with your newer patch?  Apply to r16-6514?

brgds, H-P
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.