From: Tobias Burnus Date: Thu, 7 Dec 2006 09:15:41 +0000 (+0100) Subject: re PR fortran/29711 ([4.2 only] error_print does not support %N$X) X-Git-Tag: releases/gcc-4.3.0~8092 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70e7f689c3b55592bd6599848a148427859b2f34;p=thirdparty%2Fgcc.git re PR fortran/29711 ([4.2 only] error_print does not support %N$X) 2006-12-06 Tobias Burnus PR fortran/29711 * error.c (error_print): Fix handling of printf-style position specifiers of the form "%3$d" From-SVN: r119609 --- diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 34ea1e5e17a5..95ce73f33758 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2006-12-06 Tobias Burnus + + PR fortran/29711 + * error.c (error_print): Fix handling of printf-style position specifiers + of the form "%3$d" + 2006-12-05 Paul Thomas PR fortran/30003 diff --git a/gcc/fortran/error.c b/gcc/fortran/error.c index d92fd82004b1..fd8f0bb3bc06 100644 --- a/gcc/fortran/error.c +++ b/gcc/fortran/error.c @@ -549,6 +549,7 @@ error_print (const char *type, const char *format0, va_list argp) { /* This is a position specifier. See comment above. */ while (ISDIGIT(*format)) + format++; /* Skip over the dollar sign. */ format++;