From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12318 invoked by alias); 18 Jan 2014 19:47:03 -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 12277 invoked by uid 48); 18 Jan 2014 19:46:59 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/59379] [4.9 Regression] gomp_init_num_threads is compiled into an infinite loop with --with-arch=corei7 --with-cpu=slm Date: Sat, 18 Jan 2014 19:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 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: 2014-01/txt/msg01992.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59379 --- Comment #16 from Uro=C5=A1 Bizjak --- (In reply to H.J. Lu from comment #15) > Either patch fixes the problem. I prefer first patch. It splits all LEAs, where ix86_avoid_lea_for_addr is true. >>From gcc-bugs-return-440851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jan 18 20:01:31 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16926 invoked by alias); 18 Jan 2014 20:01:31 -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 16887 invoked by uid 48); 18 Jan 2014 20:01:28 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/59379] [4.9 Regression] gomp_init_num_threads is compiled into an infinite loop with --with-arch=corei7 --with-cpu=slm Date: Sat, 18 Jan 2014 20:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 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: 2014-01/txt/msg01993.txt.bz2 Content-length: 1311 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59379 --- Comment #17 from H.J. Lu --- (In reply to Uro=C5=A1 Bizjak from comment #16) > (In reply to H.J. Lu from comment #15) >=20 > > Either patch fixes the problem. >=20 > I prefer first patch. It splits all LEAs, where ix86_avoid_lea_for_addr is > true. Then we should avoid the extra (set (reg:DI) (zero_extend:DI (reg:SI))) by diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index ff210c8..346b0cb 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -18342,6 +18342,23 @@ ix86_split_lea_for_addr (rtx insn, rtx operands[], enum machine_mode mode) } else { + if (mode !=3D GET_MODE (operands[0])) + { + gcc_assert (mode =3D=3D SImode && GET_MODE (operands[0]) =3D=3D DImo= de); + if ((!parts.disp || parts.disp =3D=3D const0_rtx) + && ((parts.base && !parts.index) + || (!parts.base && parts.index))) + { + if (parts.base) + emit_insn (gen_zero_extendsidi2 (operands[0], + parts.base)); + else + emit_insn (gen_zero_extendsidi2 (operands[0], + parts.index)); + return; + } + } + if (!parts.base) { if (regno0 !=3D regno2) >>From gcc-bugs-return-440852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jan 18 20:06:07 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21958 invoked by alias); 18 Jan 2014 20:06:06 -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 21912 invoked by uid 55); 18 Jan 2014 20:06:01 -0000 From: "mikael at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/58007] [4.7/4.9 Regression] [OOP] ICE in free_pi_tree(): Unresolved fixup - resolve_fixups does not fixup component of __class_bsr_Bsr_matrix Date: Sat, 18 Jan 2014 20:06: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.7.2 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: major X-Bugzilla-Who: mikael at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.4 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: 2014-01/txt/msg01994.txt.bz2 Content-length: 1157 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58007 --- Comment #13 from Mikael Morin --- Author: mikael Date: Sat Jan 18 20:05:25 2014 New Revision: 206759 URL: http://gcc.gnu.org/viewcvs?rev=206759&root=gcc&view=rev Log: fortran/ PR fortran/58007 * module.c (MOD_VERSION): Bump. (fp2, find_pointer2): Remove. (mio_component_ref): Don't forcedfully set the containing derived type symbol for loading. Remove unused argument. (mio_ref): Update caller (mio_symbol): Dump component list earlier. (skip_list): New argument nest_level. Initialize level with the new argument. (read_module): Add forced pointer components association for derived type symbols. testsuite/ PR fortran/58007 * gfortran.dg/unresolved_fixup_1.f90: New test. * gfortran.dg/unresolved_fixup_2.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/unresolved_fixup_1.f90 trunk/gcc/testsuite/gfortran.dg/unresolved_fixup_2.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/module.c trunk/gcc/testsuite/ChangeLog