https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66893 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed| |2015-07-16 Summary|disallowed initialization |disallowed initialization |of reference with |of reference with explicit |user-defined conversion |user-defined conversion |function |function Ever confirmed|0 |1 --- Comment #2 from Jonathan Wakely --- This is a bug, but because of the rest of the paragraph not the part quoted above: For direct-initialization, those explicit conversion functions that are not hidden within S and yield type “lvalue reference to cv2 T2” or “cv2 T2” or “rvalue reference to cv2 T2”, respectively, where T2 is the same type as T or can be converted to type T with a qualification conversion (4.4), are also candidate functions." >From gcc-bugs-return-492538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jul 16 12:58:25 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59266 invoked by alias); 16 Jul 2015 12:58:25 -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 59153 invoked by uid 48); 16 Jul 2015 12:58:13 -0000 From: "sfilippone at uniroma2 dot it" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/52846] [F2008] Support submodules Date: Thu, 16 Jul 2015 12:58: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: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sfilippone at uniroma2 dot it X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pault 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: 2015-07/txt/msg01428.txt.bz2 Content-length: 236 https://gcc.gnu.org/bugzilla/show_bug.cgi?idR846 --- Comment #11 from Salvatore Filippone --- Created attachment 35995 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id5995&actionit test case