From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11641 invoked by alias); 28 Mar 2009 08:28:17 -0000 Received: (qmail 11605 invoked by uid 48); 28 Mar 2009 08:28:06 -0000 Date: Sat, 28 Mar 2009 08:28:00 -0000 Message-ID: <20090328082806.11604.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/39490] Invalid character constructor rejected at -std=gnu since 4.4 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "fxcoudert at gcc dot gnu dot org" 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 X-SW-Source: 2009-03/txt/msg01901.txt.bz2 ------- Comment #3 from fxcoudert at gcc dot gnu dot org 2009-03-28 08:28 ------- This is work that Daniel Kraft and I did (well, I think he did the hard work and I gave some loose sort of guidance). I seem to remember it was intentional (it may have been discussed on the list around summer of 2008, but I can't find it). Regarding whether it's desirable or not, I think it is right to issue an error: this is rather recent Fortran code, so people have virtually no reason for not writing the proper constructor. (Accepting invalid code as a GNU extension should be done sparsely.) I'm thus closing as WONTFIX. -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fxcoudert at gcc dot gnu dot | |org Status|UNCONFIRMED |RESOLVED GCC build triplet|Linux, x86_64 and i486 | GCC host triplet|Linux, x86_64 and i486 | GCC target triplet|Linux, x86_64 and i486 | Resolution| |WONTFIX Summary|Non-standard assignment of |Invalid character |arrays of character objects |constructor rejected at - | |std=gnu since 4.4 Version|4.3.2 |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39490