public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/57985] New: ICE in cgraph_function_node with -fprofile-arcs -O2
@ 2013-07-25 12:58 sbergman at redhat dot com
  2013-09-02 11:44 ` [Bug tree-optimization/57985] [4.8 Regression] " mpolacek at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: sbergman at redhat dot com @ 2013-07-25 12:58 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57985
           Summary: ICE in cgraph_function_node with -fprofile-arcs -O2
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sbergman at redhat dot com

Happens with both Fedora's gcc-4.8.1-1.fc19.x86_64 as well as a local build of
plain <svn://gcc.gnu.org/svn/gcc/tags/gcc_4_8_1_release>:

> $ cat test.cc
> struct R1 { virtual void f1() = 0; };
> struct R2: R1 {};
> struct S1: R1 { virtual void f1(); };
> struct S2: S1, R2 { virtual void f1() { S1::f1(); } };
> struct S3: S2 { S3(); };
> struct S4: S3 { virtual void f2(); };
> struct T { T(R2 * p) { p->f1(); } };
> void f() { T(new S4); }
> $ g++ -fprofile-arcs -O2 test.cc
> test.cc: In function ‘void f()’:
> test.cc:8:6: internal compiler error: Segmentation fault
>  void f() { T(new S4); }
>       ^
> 0x89ffef crash_signal
> 	../../src/gcc_4_8_1_release/gcc/toplev.c:332
> 0xc4155c cgraph_function_node
> 	../../src/gcc_4_8_1_release/gcc/cgraph.h:1250
> 0xc4155c ipa_reference_get_not_read_global(cgraph_node*)
> 	../../src/gcc_4_8_1_release/gcc/ipa-reference.c:180
> 0x9180cd ref_maybe_used_by_call_p_1
> 	../../src/gcc_4_8_1_release/gcc/tree-ssa-alias.c:1389
> 0x9180cd ref_maybe_used_by_call_p
> 	../../src/gcc_4_8_1_release/gcc/tree-ssa-alias.c:1446
> 0x9180cd ref_maybe_used_by_stmt_p(gimple_statement_d*, tree_node*)
> 	../../src/gcc_4_8_1_release/gcc/tree-ssa-alias.c:1478
> 0x931190 dse_possible_dead_store_p
> 	../../src/gcc_4_8_1_release/gcc/tree-ssa-dse.c:150
> 0x931190 dse_optimize_stmt
> 	../../src/gcc_4_8_1_release/gcc/tree-ssa-dse.c:228
> 0x931190 dse_enter_block
> 	../../src/gcc_4_8_1_release/gcc/tree-ssa-dse.c:287
> 0xc05c6a walk_dominator_tree(dom_walk_data*, basic_block_def*)
> 	../../src/gcc_4_8_1_release/gcc/domwalk.c:187
> 0x930df3 tree_ssa_dse
> 	../../src/gcc_4_8_1_release/gcc/tree-ssa-dse.c:327
>From gcc-bugs-return-426700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jul 25 13:41:09 2013
Return-Path: <gcc-bugs-return-426700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21823 invoked by alias); 25 Jul 2013 13:41: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 21728 invoked by uid 55); 25 Jul 2013 13:41:05 -0000
From: "dave.anglin at bell dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/57821] 'array is too large' error is missing when sizetype overflows
Date: Thu, 25 Jul 2013 13:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 4.8.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dave.anglin at bell dot net
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:
Message-ID: <bug-57821-4-9vIGRt8EQP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57821-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57821-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-07/txt/msg01207.txt.bz2
Content-length: 272

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

--- Comment #8 from dave.anglin at bell dot net ---
On 25-Jul-13, at 12:51 AM, jasonwucj at gmail dot com wrote:

> John, does your case happen on 32-bit only as well?

Yes.

--
John David Anglin    dave.anglin@bell.net


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

* [Bug tree-optimization/57985] [4.8 Regression] ICE in cgraph_function_node with -fprofile-arcs -O2
  2013-07-25 12:58 [Bug other/57985] New: ICE in cgraph_function_node with -fprofile-arcs -O2 sbergman at redhat dot com
@ 2013-09-02 11:44 ` mpolacek at gcc dot gnu.org
  2013-09-02 13:17 ` mpolacek at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-09-02 11:44 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-09-02
                 CC|                            |mpolacek at gcc dot gnu.org
            Summary|ICE in cgraph_function_node |[4.8 Regression] ICE in
                   |with -fprofile-arcs -O2     |cgraph_function_node with
                   |                            |-fprofile-arcs -O2
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed with 4.8.  Trunk/4.7 seem to be fine.


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

* [Bug tree-optimization/57985] [4.8 Regression] ICE in cgraph_function_node with -fprofile-arcs -O2
  2013-07-25 12:58 [Bug other/57985] New: ICE in cgraph_function_node with -fprofile-arcs -O2 sbergman at redhat dot com
  2013-09-02 11:44 ` [Bug tree-optimization/57985] [4.8 Regression] " mpolacek at gcc dot gnu.org
@ 2013-09-02 13:17 ` mpolacek at gcc dot gnu.org
  2013-11-19  9:47 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-09-02 13:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed by r199422 - doesn't seem to be easily backportable.


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

* [Bug tree-optimization/57985] [4.8 Regression] ICE in cgraph_function_node with -fprofile-arcs -O2
  2013-07-25 12:58 [Bug other/57985] New: ICE in cgraph_function_node with -fprofile-arcs -O2 sbergman at redhat dot com
  2013-09-02 11:44 ` [Bug tree-optimization/57985] [4.8 Regression] " mpolacek at gcc dot gnu.org
  2013-09-02 13:17 ` mpolacek at gcc dot gnu.org
@ 2013-11-19  9:47 ` rguenth at gcc dot gnu.org
  2014-05-22  9:03 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-11-19  9:47 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.9.0
   Target Milestone|---                         |4.8.3


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

* [Bug tree-optimization/57985] [4.8 Regression] ICE in cgraph_function_node with -fprofile-arcs -O2
  2013-07-25 12:58 [Bug other/57985] New: ICE in cgraph_function_node with -fprofile-arcs -O2 sbergman at redhat dot com
                   ` (2 preceding siblings ...)
  2013-11-19  9:47 ` rguenth at gcc dot gnu.org
@ 2014-05-22  9:03 ` rguenth at gcc dot gnu.org
  2014-12-10 12:43 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-05-22  9:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57985

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.8.3                       |4.8.4

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 4.8.3 is being released, adjusting target milestone.


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

* [Bug tree-optimization/57985] [4.8 Regression] ICE in cgraph_function_node with -fprofile-arcs -O2
  2013-07-25 12:58 [Bug other/57985] New: ICE in cgraph_function_node with -fprofile-arcs -O2 sbergman at redhat dot com
                   ` (3 preceding siblings ...)
  2014-05-22  9:03 ` rguenth at gcc dot gnu.org
@ 2014-12-10 12:43 ` rguenth at gcc dot gnu.org
  2014-12-19 13:42 ` jakub at gcc dot gnu.org
  2015-06-23  8:41 ` rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-12-10 12:43 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57985

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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

* [Bug tree-optimization/57985] [4.8 Regression] ICE in cgraph_function_node with -fprofile-arcs -O2
  2013-07-25 12:58 [Bug other/57985] New: ICE in cgraph_function_node with -fprofile-arcs -O2 sbergman at redhat dot com
                   ` (4 preceding siblings ...)
  2014-12-10 12:43 ` rguenth at gcc dot gnu.org
@ 2014-12-19 13:42 ` jakub at gcc dot gnu.org
  2015-06-23  8:41 ` rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-12-19 13:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57985

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.8.4                       |4.8.5

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.8.4 has been released.


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

* [Bug tree-optimization/57985] [4.8 Regression] ICE in cgraph_function_node with -fprofile-arcs -O2
  2013-07-25 12:58 [Bug other/57985] New: ICE in cgraph_function_node with -fprofile-arcs -O2 sbergman at redhat dot com
                   ` (5 preceding siblings ...)
  2014-12-19 13:42 ` jakub at gcc dot gnu.org
@ 2015-06-23  8:41 ` rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-23  8:41 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57985

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|4.8.5                       |4.9.0
      Known to fail|                            |4.8.5

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed for 4.9.0.


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

end of thread, other threads:[~2015-06-23  8:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-25 12:58 [Bug other/57985] New: ICE in cgraph_function_node with -fprofile-arcs -O2 sbergman at redhat dot com
2013-09-02 11:44 ` [Bug tree-optimization/57985] [4.8 Regression] " mpolacek at gcc dot gnu.org
2013-09-02 13:17 ` mpolacek at gcc dot gnu.org
2013-11-19  9:47 ` rguenth at gcc dot gnu.org
2014-05-22  9:03 ` rguenth at gcc dot gnu.org
2014-12-10 12:43 ` rguenth at gcc dot gnu.org
2014-12-19 13:42 ` jakub at gcc dot gnu.org
2015-06-23  8:41 ` 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).