This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, Fortran] PR fortran/37193: USE m, ONLY: i, j => i
- From: "Paul Richard Thomas" <paul dot richard dot thomas at gmail dot com>
- To: "Daniel Kraft" <d at domob dot eu>
- Cc: "Fortran List" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 30 Aug 2008 19:16:42 +0200
- Subject: Re: [Patch, Fortran] PR fortran/37193: USE m, ONLY: i, j => i
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ukzCbBZrYoSLi8YCCuWMqJxiVR7DPw014om6RhXOrQ0=; b=KneBUVkW52mgYXkZEPOERFUk0wCQMcJfGrLqeq6TwoJZ6W4HlRYv6ZLaa9FNdsX2oC DCAR8r0VXBfd/B1LPuBsQcpc6gi5lDNPm00O68RjlXYFy/V3vb/Ux/oECy7T7lopGlgQ enVSjKB0+KketWQdSXBEiEpNvtvkmbFUVC5lo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=J8P3HXa0rpiIuA/19aMX1mGTf3MOLtuo3LsTRSQjCE56ajSMpVoonEJ43D08S8fgyh yO4wVsmmNtrJzZ+Ol+ePPfD500VYREkZfpDtCSxxw5Rb5jhoYZcttp7pIfC9TZ35SgFn 0XWhYDnDVJXLYsgQf+bzP5YzwIuFtAPFOrhfE=
- References: <48B961CD.8060606@domob.eu> <339c37f20808300905w11d0cc06x805f6d6c899ab32d@mail.gmail.com> <48B97648.4090705@domob.eu>
Daniel,
Your patch looks OK - however:
Why does the bit of code in module.c(load_needed)....
mio_symbol (sym);
sym->attr.use_assoc = 1;
if (only_flag)
sym->attr.use_only = 1;
if (p->u.rsym.renamed)
sym->attr.use_rename = 1;
return 1;
not do the job? Is it needed now, with your patch?
Cheers
Paul