From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18867 invoked by alias); 29 Aug 2013 18:37:55 -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 18791 invoked by uid 55); 29 Aug 2013 18:37:52 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/12081] Gcc can't be compiled with -mregparm=3 Date: Thu, 29 Aug 2013 18:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 3.3.1 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rask 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-08/txt/msg01575.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12081 --- Comment #31 from Oleg Endo --- Author: olegendo Date: Thu Aug 29 18:37:46 2013 New Revision: 202083 URL: http://gcc.gnu.org/viewcvs?rev=202083&root=gcc&view=rev Log: Backport from mainline 2013-08-05 Oleg Endo PR other/12081 * recog.h (rtx (*insn_gen_fn) (rtx, ...)): Replace typedef with new class insn_gen_fn. * expr.c (move_by_pieces_1, store_by_pieces_2): Replace argument rtx (*) (rtx, ...) with insn_gen_fn. * genoutput.c (output_insn_data): Cast gen_? function pointers to insn_gen_fn::stored_funcptr. Add initializer braces. Backport from mainline 2013-08-07 Oleg Endo PR other/12081 * config/rs6000/rs6000.c (gen_2arg_fn_t): Remove typedef. (rs6000_emit_swdiv_high_precision, rs6000_emit_swdiv_low_precision, rs6000_emit_swrsqrt): Don't cast result of GEN_FCN to gen_2arg_fn_t. Modified: branches/gcc-4_8-branch/gcc/ChangeLog branches/gcc-4_8-branch/gcc/config/rs6000/rs6000.c branches/gcc-4_8-branch/gcc/expr.c branches/gcc-4_8-branch/gcc/genoutput.c branches/gcc-4_8-branch/gcc/recog.h