From: burnus Date: Thu, 7 Dec 2006 09:15:41 +0000 (+0000) Subject: 2006-12-06 Tobias Burnus X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=2f603cf0eb135bf67ff0bb570452df725a43c9ce;hp=addf9aad2df2a9d4edb3988fbc61cdc0b5630a69;ds=sidebyside 2006-12-06 Tobias Burnus PR fortran/29711 * error.c (error_print): Fix handling of printf-style position specifiers of the form "%3$d" git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119609 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 34ea1e5e17a..95ce73f3375 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 d92fd82004b..fd8f0bb3bc0 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++;