From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9975 invoked by alias); 30 Dec 2013 21:16:08 -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 9931 invoked by uid 48); 30 Dec 2013 21:16:04 -0000 From: "izamyatin 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: Mon, 30 Dec 2013 21:16: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: izamyatin 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-12/txt/msg02448.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59379 --- Comment #13 from Igor Zamyatin --- I meant that with 3-stage gcc of r204980 testcase from the attachment was compiled and ran successfully, i.e. no infinite loop. Currently debugging shows that routine mul_double_wide_with_sign (which is actually inlined into aff_combination_scale) from double_int.c is miscompiled: in one case for a bad revision new_coef got value which is different from the value for new_coef for r204980