This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
[patch] Change gcc/c-format.c to add new specifiers to the Fortran front-end format
- From: FX Coudert <fxcoudert at gmail dot com>
- To: gcc-patches list <gcc-patches at gcc dot gnu dot org>, GNU Fortran <fortran at gcc dot gnu dot org>
- Cc: jsm at polyomino dot org dot uk, rth at redhat dot com
- Date: Thu, 9 Aug 2007 22:57:28 +0100
- Subject: [patch] Change gcc/c-format.c to add new specifiers to the Fortran front-end format
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:to:message-id:content-type:cc:subject:from:date:x-mailer; b=EWytT/4496ncXJ066vhB4Oo0/iEM7qfQdWwgptjBXz1SPcWUw0YoQY6VoRrm/bir6ZyUbVSEKWWiEXvbzI0/k8MTlDctmAW7ykRwwwLlTCHtGqRueWuzO919kM8tTespVGWmkraZ4Ui2TLqayyZKuu9tUi0o+96JvikA813NVT4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:to:message-id:content-type:cc:subject:from:date:x-mailer; b=EPvt47R0PEMoVeDu6DqHVWj+gIipU/6Yr1WYVhLsnapVI0KrkeHh+vku2JzIG7X4Nddo1oP+zH9D8Irioe7YCJzweOn41P3dN1WY9JBOjufPO8Wld1l7cOQF1AFHe3091FevLnEabHaU6UCPUz+SseNF5tFHwIH+SMNVJer+wVk=
Hi all,
This patch allows the Fortran front-end to use format specifier %u,
as well as the l length modifier (for formats %lu, %li and %ld), by
modifying gcc/c-format.c. This only changes the gcc_gfc format type,
which is for use by the Fortran front-end, but I still need a review
by a C front-end maintainer and would welcome a review by a Fortran
maintainer for the Fortran part.
Bootstrapped and regtested on x86_64-linux, OK to commit?
Attachment:
error_print_longer.ChangeLog
Description: Binary data
Attachment:
error_print_longer.diff
Description: Binary data