From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19014 invoked by alias); 7 May 2010 17:44:41 -0000 Received: (qmail 18954 invoked by uid 48); 7 May 2010 17:44:27 -0000 Date: Fri, 07 May 2010 17:44:00 -0000 Message-ID: <20100507174427.18953.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/41219] libgfortran build warnings In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "sezeroz at gmail dot com" 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: 2010-05/txt/msg00720.txt.bz2 ------- Comment #25 from sezeroz at gmail dot com 2010-05-07 17:44 ------- (In reply to comment #23) > My build log seems to be clean (i686-pc-linux-gnu). > Is this PR still needed? > The commit from comment #14 (as inlined in comment #9) introduces a new warning of "passing argument 2 of 'write_default_char4' discards qualifiers from pointer target type", because write_default_char4() accepts a gfc_char4_t* but we are sending it a const gfc_char4_t*. Easiest solution would be constifying the second arg of write_default_char4(), as well as that of write_utf8_char4() for that matter. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41219