public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/59282] New: ICE: When compiling 252.eon
@ 2013-11-25  8:18 zhenqiang.chen at linaro dot org
  2013-11-25  8:21 ` [Bug ipa/59282] " zhenqiang.chen at linaro dot org
  2013-11-25  9:10 ` rguenth at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: zhenqiang.chen at linaro dot org @ 2013-11-25  8:18 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59282
           Summary: ICE: When compiling 252.eon
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zhenqiang.chen at linaro dot org

Created attachment 31288
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31288&action=edit
preprocessed source file

ICE for both x86-64 and ARM.

./install/bin/gcc -O2 ggNRooksSample2.ii -S

ooksSample2.cc: In constructor ‘ggNRooksSample2::ggNRooksSample2()’:
ggNRooksSample2.cc:41:1: error: stmt (0x7f9491441be0) marked modified after
optimization pass:
# .MEM_26 = VDEF <.MEM_25>
ggNRooksSample2::Generate (this_2(D));
ggNRooksSample2.cc:41:1: internal compiler error: verify_ssa failed
0xd129cc verify_ssa(bool)
        gcc/gcc/tree-ssa.c:1090
0xab8c0e execute_function_todo
        gcc/gcc/passes.c:1840
0xab9603 execute_todo
        gcc/gcc/passes.c:1873
0xabb19b execute_one_ipa_transform_pass
        gcc/gcc/passes.c:2058
0xabb19b execute_all_ipa_transforms()
        gcc/gcc/passes.c:2089
0x8544ca expand_function
        gcc/gcc/cgraphunit.c:1750
0x856380 expand_all_functions
        gcc/gcc/cgraphunit.c:1862
0x856380 compile()
        gcc/gcc/cgraphunit.c:2196
0x856b64 finalize_compilation_unit()
        gcc/gcc/cgraphunit.c:2273
0x6424ba cp_write_global_declarations()
        gcc/gcc/cp/decl2.c:4402
Please submit a full bug report,

./install/bin/gcc -O3 ggNRooksSample2.ii -S
ggNRooksSample2.cc: In constructor ‘ggNRooksSample2::ggNRooksSample2()’:
ggNRooksSample2.cc:41:1: internal compiler error: in initialize_flags_in_bb, at
tree-into-ssa.c:457
0xbcb77d initialize_flags_in_bb
        gcc/gcc/tree-into-ssa.c:457
0xbcb77d mark_block_for_update
        gcc/gcc/tree-into-ssa.c:471
0xbcf89b prepare_block_for_update
        gcc/gcc/tree-into-ssa.c:2500
0xbcff5e prepare_block_for_update
        gcc/gcc/tree-into-ssa.c:2580
0xbcff5e prepare_block_for_update
        gcc/gcc/tree-into-ssa.c:2580
0xbcff5e prepare_block_for_update
        gcc/gcc/tree-into-ssa.c:2580
0xbcff5e prepare_block_for_update
        gcc/gcc/tree-into-ssa.c:2580
0xbd3655 update_ssa(unsigned int)
        gcc/gcc/tree-into-ssa.c:3223
0xab8b47 execute_function_todo
        gcc/gcc/passes.c:1812
0xab9603 execute_todo
        gcc/gcc/passes.c:1873
0xabb19b execute_one_ipa_transform_pass
        gcc/gcc/passes.c:2058
0xabb19b execute_all_ipa_transforms()
        gcc/gcc/passes.c:2089
0x8544ca expand_function
        gcc/gcc/cgraphunit.c:1750
0x856380 expand_all_functions
        gcc/gcc/cgraphunit.c:1862
0x856380 compile()
        gcc/gcc/cgraphunit.c:2196
0x856b64 finalize_compilation_unit()
        gcc/gcc/cgraphunit.c:2273
0x6424ba cp_write_global_declarations()
        gcc/gcc/cp/decl2.c:4402
Please submit a full bug report,
>From gcc-bugs-return-435746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 25 08:19:09 2013
Return-Path: <gcc-bugs-return-435746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24738 invoked by alias); 25 Nov 2013 08:19:09 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 24619 invoked by uid 48); 25 Nov 2013 08:19:04 -0000
From: "tmmikolajczyk at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/59283] New: missing std::basic_string constructor
Date: Mon, 25 Nov 2013 08:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 4.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tmmikolajczyk at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter
Message-ID: <bug-59283-4@http.gcc.gnu.org/bugzilla/>
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-11/txt/msg02523.txt.bz2
Content-length: 618

http://gcc.gnu.org/bugzilla/show_bug.cgi?idY283

            Bug ID: 59283
           Summary: missing std::basic_string constructor
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tmmikolajczyk at gmail dot com

The C++11 standard specifies the following c-tor in the std::basic_string
class:

basic_string (const basic_string&, const allocator_type&);

It looks like the c-tor is missing in the current libstdc++ implementation.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug ipa/59282] ICE: When compiling 252.eon
  2013-11-25  8:18 [Bug ipa/59282] New: ICE: When compiling 252.eon zhenqiang.chen at linaro dot org
@ 2013-11-25  8:21 ` zhenqiang.chen at linaro dot org
  2013-11-25  9:10 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: zhenqiang.chen at linaro dot org @ 2013-11-25  8:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from zhenqiang.chen at linaro dot org ---
ICE from:

commit 3af5e0b77894f5348512dfd60c034da9e859ef11
Author: hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Tue Nov 19 10:05:54 2013 +0000

        * cgraph.c (cgraph_create_indirect_edge): Use
get_polymorphic_call_info.
        * cgraph.h (cgraph_indirect_call_info): Add outer_type,
maybe_in_construction
        and maybe_derived_type.
        * ipa-utils.h (ipa_polymorphic_call_context): New structure.
        (ipa_dummy_polymorphic_call_context): New global var.
        (possible_polymorphic_call_targets): Add context paramter.
        (dump_possible_polymorphic_call_targets): Likewise; update
        wrappers.
        (possible_polymorphic_call_target_p): Likewise.
        (get_polymorphic_call_info): New function.
        * ipa-devirt.c (ipa_dummy_polymorphic_call_context): New function.
        (add_type_duplicate): Remove forgotten debug output.
        (method_class_type): Add sanity check.
        (maybe_record_node): Add FINALP parameter.
        (record_binfo): Add OUTER_TYPE and OFFSET; walk the inner
        by info by get_binfo_at_offset.
        (possible_polymorphic_call_targets_1): Add OUTER_TYPE/OFFSET
parameters;
        pass them to record-binfo.
        (polymorphic_call_target_d): Add context and FINAL.
        (polymorphic_call_target_hasher::hash): Hash context.
        (polymorphic_call_target_hasher::equal): Compare context.
        (free_polymorphic_call_targets_hash):
        (get_class_context): New function.
        (contains_type_p): New function.
        (get_polymorphic_call_info): New function.
        (walk_bases): New function.
        (possible_polymorphic_call_targets): Add context parameter; honnor it.
        (dump_possible_polymorphic_call_targets): Dump context.
        (possible_polymorphic_call_target_p): Add context.
        (update_type_inheritance_graph): Update comment.s
        (ipa_set_jf_known_type): Assert that compoentn type is known.
        (ipa_note_param_call): Do not tamper with offsets.
        (ipa_analyze_indirect_call_uses): When offset is being changed; clear
        outer type.
        (update_indirect_edges_after_inlining): Likewise.
        (ipa_write_indirect_edge_info): Stream new fields.
        (ipa_read_indirect_edge_info): Stream in new fields.

        * ipa/devirt9.C: Verify that the optimization happens already before.
        whole-program.


    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205019
138bc75d-0d04-0410-961f-82ee72b054a4


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug ipa/59282] ICE: When compiling 252.eon
  2013-11-25  8:18 [Bug ipa/59282] New: ICE: When compiling 252.eon zhenqiang.chen at linaro dot org
  2013-11-25  8:21 ` [Bug ipa/59282] " zhenqiang.chen at linaro dot org
@ 2013-11-25  9:10 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-11-25  9:10 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Dup of PR59201 and PR59208.

*** This bug has been marked as a duplicate of bug 59201 ***


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-25  9:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-25  8:18 [Bug ipa/59282] New: ICE: When compiling 252.eon zhenqiang.chen at linaro dot org
2013-11-25  8:21 ` [Bug ipa/59282] " zhenqiang.chen at linaro dot org
2013-11-25  9:10 ` rguenth at gcc dot gnu.org

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).