From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1339 invoked by alias); 17 Oct 2013 06:22:40 -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 1244 invoked by uid 48); 17 Oct 2013 06:22:35 -0000 From: "burnus 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, 17 Oct 2013 06:22: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: burnus at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: janus at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.3 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-10/txt/msg01173.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58099 --- Comment #22 from Tobias Burnus --- (In reply to janus from comment #19) > (In reply to janus from comment #18) > That version still yields a good number of testsuite failures, but it see= ms > like most of them are due to invalid code that was not detected previousl= y: Well, sizeof_proc.f90 looks like a bug in the checking code: procedure(real), pointer :: pp pp =3D> sin ! Error: Explicit interface required for '' at (1): elemental procedure The quote in comment 2 has: "If proc-pointer-object has an explicit interfa= ce=E2=80=A6" which is not fulfilled as "pp" has an implicit interface. There is in addition the following constraint, but sin is an intrinsic: "C730 (R740) The proc-target shall not be a nonintrinsic elemental procedur= e." The issue with the name should be solved by setting a name var in gfc_check_pointer_assign not only for s2 but also s1 - otherwise, s1 points= to the interface, which won't work. >>From gcc-bugs-return-432030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 17 06:50:35 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22537 invoked by alias); 17 Oct 2013 06:50:34 -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 22494 invoked by uid 48); 17 Oct 2013 06:50:31 -0000 From: "3dw4rd at verizon dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58708] string literal operator templates broken Date: Thu, 17 Oct 2013 06:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: 3dw4rd at verizon dot net X-Bugzilla-Status: NEW 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: attachments.created 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-10/txt/msg01174.txt.bz2 Content-length: 358 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58708 --- Comment #6 from Ed Smith-Rowland <3dw4rd at verizon dot net> --- Created attachment 31023 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31023&action=edit Patch parser.c (). Here's a patch that bootstraps and DTRT on x86_64-linux. I need to run full testing but I wanted folks to see the patch.