From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4713 invoked by alias); 8 Aug 2013 07:42:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 4604 invoked by uid 48); 8 Aug 2013 07:42:16 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/58099] [4.8/4.9 Regression] [F03] over-zealous procedure-pointer error checking Date: Thu, 08 Aug 2013 07:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: janus at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-08/txt/msg00462.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58099 --- Comment #12 from janus at gcc dot gnu.org --- (In reply to Tobias Burnus from comment #10) > (In reply to janus from comment #7) > > The following patch makes the error go away, but (as expected) causes a > > failure of proc_ptr_result_8.f90 in the testsuite ... > > - if (!gfc_compare_interfaces (s2, s1, name, 0, 1, > > - err, sizeof(err), NULL, NULL)) > > - { > > - gfc_error ("Interface mismatch in procedure pointer assignment " > > - "at %L: %s", &rvalue->where, err); > > - return false; > > - } >=20 >=20 > Doesn't that remove too much? I had expected some special case for PURE, > while checking otherwise that the interface matches. No, I don't think it removes too much. It seems that the other parts of 'gfc_compare_interfaces' are already symmetrized appropriately, expect for = the check on the result characteristics. > Side note: The following compiles but should give an error as the interfa= ce > doesn't match. (If one swaps the pure, it does and should compile warning > free.) >=20 > subroutine foo() > end >=20 > interface > pure subroutine foo() > end subroutine foo > end interface > call foo() > end Well, it does give the expected warning with the patch: pure subroutine foo() 1 Warning: Interface mismatch in global procedure 'foo' at (1): Mismatch in P= URE attribute >>From gcc-bugs-return-427539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Aug 08 08:19:42 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14192 invoked by alias); 8 Aug 2013 08:19:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14053 invoked by uid 48); 8 Aug 2013 08:19:38 -0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/58065] ARM MALLOC_ABI_ALIGNMENT is wrong Date: Thu, 08 Aug 2013 08:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ramana at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-08/txt/msg00463.txt.bz2 Content-length: 491 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58065 Ramana Radhakrishnan changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Ramana Radhakrishnan --- Fixed by http://gcc.gnu.org/ml/gcc-cvs/2013-08/msg00197.html