From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 77771 invoked by alias); 29 Oct 2015 15:06:11 -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 77707 invoked by uid 48); 29 Oct 2015 15:06:06 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68146] [6 Regression] ice in gimple_stmt_nonnegative_warnv_p with -O2 Date: Thu, 29 Oct 2015 15:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc component target_milestone short_desc everconfirmed 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: 2015-10/txt/msg02475.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68146 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-10-29 CC| |rguenth at gcc dot gnu.org, | |rsandifo at gcc dot gnu.org Component|fortran |middle-end Target Milestone|--- |6.0 Summary|ice in |[6 Regression] ice in |gimple_stmt_nonnegative_war |gimple_stmt_nonnegative_war |nv_p with -O2 |nv_p with -O2 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. We enter 12877 return (!name_registered_for_update_p (t) 12878 && depth < PARAM_VALUE (PARAM_MAX_SSA_NAME_QUERY_DEPTH) 12879 && gimple_stmt_nonnegative_warnv_p (SSA_NAME_DEF_STMT (t), 12880 strict_overflow_p, depth)); with a released SSA name (TREE_TYPE == NULL) #0 0x0000000000b38160 in gimple_code (g=0x0) at /space/rguenther/src/svn/trunk/gcc/gimple.h:1661 #1 0x0000000000b4d90d in gimple_stmt_nonnegative_warnv_p (stmt=, strict_overflow_p=0x7fffffffd5ae, depth=1) at /space/rguenther/src/svn/trunk/gcc/gimple-fold.c:6260 #2 0x0000000000af455b in tree_single_nonnegative_warnv_p ( t=, strict_overflow_p=0x7fffffffd5ae, depth=1) at /space/rguenther/src/svn/trunk/gcc/fold-const.c:12880 #3 0x0000000000b4d8bf in gimple_phi_nonnegative_warnv_p (stmt= , strict_overflow_p=0x7fffffffd5ae, depth=0) at /space/rguenther/src/svn/trunk/gcc/gimple-fold.c:6245 #4 0x0000000000b4d962 in gimple_stmt_nonnegative_warnv_p ( stmt=, strict_overflow_p=0x7fffffffd5ae, depth=0) at /space/rguenther/src/svn/trunk/gcc/gimple-fold.c:6270 #5 0x0000000000af455b in tree_single_nonnegative_warnv_p ( t=, strict_overflow_p=0x7fffffffd5ae, depth=0) at /space/rguenther/src/svn/trunk/gcc/fold-const.c:12880 #6 0x0000000000af5176 in tree_expr_nonnegative_warnv_p ( t=, strict_overflow_p=0x7fffffffd5ae, depth=0) at /space/rguenther/src/svn/trunk/gcc/fold-const.c:13146 #7 0x0000000000af51bf in tree_expr_nonnegative_p (t=) at /space/rguenther/src/svn/trunk/gcc/fold-const.c:13162 #8 0x000000000133c63a in generic_simplify_ABS_EXPR (loc=2147488880, code=ABS_EXPR, type=, op0=) at generic-match.c:7996 #9 0x0000000001346b58 in generic_simplify (loc=2147488880, code=ABS_EXPR, type=, op0=) at generic-match.c:10127 #10 0x0000000000adc246 in fold_unary_loc (loc=2147488880, code=ABS_EXPR, type=, op0=) at /space/rguenther/src/svn/trunk/gcc/fold-const.c:7596 #11 0x0000000000af2ad8 in fold_build1_stat_loc (loc=2147488880, code=ABS_EXPR, type=, op0=) at /space/rguenther/src/svn/trunk/gcc/fold-const.c:12267 #12 0x0000000000eb1ec6 in gimplify_build1 (gsi=0x7fffffffdad0, code=ABS_EXPR, type=, a=) at /space/rguenther/src/svn/trunk/gcc/tree-cfg.c:8541 #13 0x0000000000ebd3b4 in expand_complex_div_wide (gsi=0x7fffffffdad0, inner_type=, ar=, ai=, br=, bi=, code=RDIV_EXPR) at /space/rguenther/src/svn/trunk/gcc/tree-complex.c:1126