public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "andi-gcc at firstfloor dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/50602] New: ICE in tree_nrv, at tree-nrv.c:155 during large LTO build
Date: Mon, 03 Oct 2011 16:40:00 -0000	[thread overview]
Message-ID: <bug-50602-4@http.gcc.gnu.org/bugzilla/> (raw)

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50602

             Bug #: 50602
           Summary: ICE in tree_nrv, at tree-nrv.c:155 during large LTO
                    build
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: andi-gcc@firstfloor.org


I get this at the end of a large 32bit LTO build. Cannot give you a small test
case unless you want the full builddir. Bisect is difficult because
the build relies on some recent other fixes.

But I have a core file:

#6  0x0000000000b47eb4 in fancy_abort (file=Unhandled dwarf expression opcode
0xf3
) at ../../gcc/gcc/diagnostic.c:893
#7  0x000000000075ac05 in tree_nrv () at ../../gcc/gcc/tree-nrv.c:155
#8  0x000000000068d7ab in execute_one_pass (pass=0x10a9ac0) at
../../gcc/gcc/passes.c:2064
#9  0x000000000068dae5 in execute_pass_list (pass=0x10a9ac0) at
../../gcc/gcc/passes.c:2119
#10 0x000000000075df39 in tree_rest_of_compilation (fndecl=0x2b84d3ea6900) at
../../gcc/gcc/tree-optimize.c:420
#11 0x000000000051ad36 in cgraph_expand_function (node=0x2b84e28a7360) at
../../gcc/gcc/cgraphunit.c:1805
#12 0x000000000051c612 in cgraph_output_in_order () at
../../gcc/gcc/cgraphunit.c:1962
#13 cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:2136
#14 0x00000000004cb7c5 in lto_main () at ../../gcc/gcc/lto/lto.c:2872


...

#7  0x000000000075ac05 in tree_nrv () at ../../gcc/gcc/tree-nrv.c:155
155                     gcc_assert (ret_val == result);

(gdb) p ret_val
$3 = (tree_node *) 0x0

(gdb) pt result
type = union tree_node {
    tree_base base;
    tree_typed typed;
    tree_common common;
    tree_int_cst int_cst;
    tree_real_cst real_cst;
    tree_fixed_cst fixed_cst;
    tree_vector vector;
    tree_string string;
    tree_complex complex;
    tree_identifier identifier;
    tree_decl_minimal decl_minimal;
    tree_decl_common decl_common;
    tree_decl_with_rtl decl_with_rtl;
    tree_decl_non_common decl_non_common;
    tree_parm_decl parm_decl;
    tree_decl_with_vis decl_with_vis;
    tree_var_decl var_decl;
    tree_field_decl field_decl;
    tree_label_decl label_decl;
    tree_result_decl result_decl;
    tree_const_decl const_decl;
    tree_type_decl type_decl;
    tree_function_decl function_decl;
    tree_translation_unit_decl translation_unit_decl;
    tree_type_common type_common;
    tree_type_with_lang_specific type_with_lang_specific;
    tree_type_non_common type_non_common;
    tree_list list;
    tree_vec vec;
    tree_exp exp;
    tree_ssa_name ssa_name;
    tree_block block;
    tree_binfo binfo;
    tree_statement_list stmt_list;
    tree_constructor constructor;
    tree_omp_clause omp_clause;
    tree_optimization_option optimization;
    tree_target_option target_option;
} *


             reply	other threads:[~2011-10-03 16:40 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-03 16:40 andi-gcc at firstfloor dot org [this message]
2011-10-03 16:41 ` [Bug tree-optimization/50602] " andi-gcc at firstfloor dot org
2011-10-04 11:04 ` rguenth at gcc dot gnu.org
2011-10-04 13:22 ` andi-gcc at firstfloor dot org
2011-10-04 14:20 ` rguenth at gcc dot gnu.org
2011-10-09  2:31 ` andi-gcc at firstfloor dot org
2011-10-09  4:06 ` andi-gcc at firstfloor dot org
2011-10-29 12:12 ` andi-gcc at firstfloor dot org
2011-10-30 14:23 ` steven at gcc dot gnu.org
2011-10-30 15:53 ` andi-gcc at firstfloor dot org
2011-11-23  0:44 ` andi-gcc at firstfloor dot org
2012-01-07 22:18 ` pinskia at gcc dot gnu.org
2012-01-08  1:38 ` andi-gcc at firstfloor dot org
2012-05-02 14:24 ` andi-gcc at firstfloor dot org
2012-05-02 14:51 ` markus at trippelsdorf dot de
2012-05-02 15:19 ` markus at trippelsdorf dot de
2012-05-03 14:52 ` [Bug lto/50602] " rguenth at gcc dot gnu.org
2012-05-03 14:58 ` andi-gcc at firstfloor dot org
2012-05-04  8:18 ` rguenther at suse dot de
2012-05-04 11:01 ` rguenth at gcc dot gnu.org
2012-05-04 11:47 ` rguenth at gcc dot gnu.org
2012-05-04 11:49 ` rguenth at gcc dot gnu.org
2012-05-05 10:06 ` hubicka at gcc dot gnu.org
2012-05-07  9:01 ` rguenther at suse dot de
2012-05-07 13:09 ` andi at firstfloor dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-50602-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).