public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/65465] New: nternal compiler error: in build2_stat
@ 2015-03-19  0:40 raj.khem at gmail dot com
  2015-03-19  0:41 ` [Bug c++/65465] Internal compiler error: in build2_stIat raj.khem at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: raj.khem at gmail dot com @ 2015-03-19  0:40 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 65465
           Summary: nternal compiler error: in build2_stat
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: raj.khem at gmail dot com

The test case is here http://uclibc.org/~kraj/webkit.cpp.tar.bz2
sorry its not reduced.

When I compiled trunk for arm

./gcc/configure --target=arm-linux-gnueabi --enable-languages=c,c++
--disable-shared

and then compile the attached testcase

obj/gcc/cc1plus -O2 ~/webkit.cpp -I /path/to/sysroot

I get

webkit.cpp: In member function 'virtual WebCore::AffineTransform
WebCore::SVGStyledLocatableElement::_ZTv0_n36_NK7WebCore25SVGStyledLocatableElement29localCoordinateSpaceTransformENS_12SVGLocatable8CTMScopeE(WebCore::SVGLocatable::CTMScope)
const':
webkit.cpp:145819:1: internal compiler error: in build2_stat, at tree.c:4383
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug c++/65465] Internal compiler error: in build2_stIat
  2015-03-19  0:40 [Bug c++/65465] New: nternal compiler error: in build2_stat raj.khem at gmail dot com
@ 2015-03-19  0:41 ` raj.khem at gmail dot com
  2015-03-19 10:17 ` [Bug ipa/65465] [5 Regression] " rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: raj.khem at gmail dot com @ 2015-03-19  0:41 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Khem Raj <raj.khem at gmail dot com> ---
I could bisect it to this commit being the faulty one.

commit 9f27b0caacbfc21963098a6d8e305c148ac8661a
Author: hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Fri Mar 13 06:30:04 2015 +0000

        * ipa-icf.c (sem_function::equals_wpa): Match CXX_CONSTRUCTOR_P
        and CXX_DESTURCTOR_P. For consutrctors match ODR type of class they
        are building; for methods check ODR type of class they belong to if
        they may lead to a polymorphic call.
        (sem_function::compare_polymorphic_p): Be bit smarter about testing
        when function may lead to a polymorphic call.
        (sem_function::compare_type_list): Remove.
        (sem_variable::equals): Update use of compatible_types_p.
        (sem_variable::parse_tree_refs): Remove.
        (sem_item_optimizer::filter_removed_items): Do not filter out CXX
        cdtor.
        * ipa-icf-gimple.c (func_checker::compare_decl): Do polymorphic
        matching here.
        (func_checker::compatible_polymorphic_types_p): Break out from ...
        (unc_checker::compatible_types_p): ... here.
        * ipa-icf-gimple.h (func_checker::compatible_polymorphic_types_p):
        Declare.
        (unc_checker::compatible_types_p): Update.
        * ipa-icf.h (compare_type_list, parse_tree_refs, compare_sections):
        Remove.


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

:040000 040000 39d3d7e2cac79bad892c3d1bf43e826fad560652
6cf9cb65c0155fb7286f5e100790d605794027b1 M      gcc


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

* [Bug ipa/65465] [5 Regression] Internal compiler error: in build2_stIat
  2015-03-19  0:40 [Bug c++/65465] New: nternal compiler error: in build2_stat raj.khem at gmail dot com
  2015-03-19  0:41 ` [Bug c++/65465] Internal compiler error: in build2_stIat raj.khem at gmail dot com
@ 2015-03-19 10:17 ` rguenth at gcc dot gnu.org
  2015-03-19 10:20 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-03-19 10:17 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|                            |2015-03-19
          Component|c++                         |ipa
                 CC|                            |mliska at suse dot cz
     Ever confirmed|0                           |1
            Summary|Internal compiler error: in |[5 Regression] Internal
                   |build2_stIat                |compiler error: in
                   |                            |build2_stIat
   Target Milestone|---                         |5.0

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed with a cross.  The single preprocessed file needs reducing still.

Breakpoint 1, internal_error (gmsgid=0x1b9ca6f "in %s, at %s:%d")
    at /space/rguenther/src/svn/trunk2/gcc/diagnostic.c:1221
1221      va_start (ap, gmsgid);
Missing separate debuginfos, use: zypper install
libgmp10-debuginfo-6.0.0-71.1.x86_64 libisl13-debuginfo-0.14-25.2.x86_64
libmpc3-debuginfo-1.0.2-38.2.x86_64
(gdb) bt
#0  internal_error (gmsgid=0x1b9ca6f "in %s, at %s:%d")
    at /space/rguenther/src/svn/trunk2/gcc/diagnostic.c:1221
#1  0x00000000016dee17 in fancy_abort (
    file=0x1898618 "/space/rguenther/src/svn/trunk2/gcc/tree.c", line=4383, 
    function=0x189e97f <build2_stat(tree_code, tree_node*, tree_node*,
tree_node*)::__FUNCTION__> "build2_stat")
    at /space/rguenther/src/svn/trunk2/gcc/diagnostic.c:1291
#2  0x000000000123f5ee in build2_stat (code=POINTER_PLUS_EXPR, 
    tt=0x7ffff58ee348, arg0=0x7ffff22c6168, arg1=0x7fffe3a71f20)
    at /space/rguenther/src/svn/trunk2/gcc/tree.c:4382
#3  0x0000000000b85010 in build2_stat_loc (loc=49934370, 
    code=POINTER_PLUS_EXPR, type=0x7ffff58ee348, arg0=0x7ffff22c6168, 
    arg1=0x7fffe3a71f20) at /space/rguenther/src/svn/trunk2/gcc/tree.h:3690
#4  0x0000000000bc4674 in fold_build2_stat_loc (loc=49934370, 
    code=POINTER_PLUS_EXPR, type=0x7ffff58ee348, op0=0x7ffff22c6168, 
    op1=0x7fffe3a71f20)
    at /space/rguenther/src/svn/trunk2/gcc/fold-const.c:14325
#5  0x0000000000bca659 in fold_build_pointer_plus_loc (loc=49934370, 
    ptr=0x7ffff22c6168, off=0x7ffff2386c60)
    at /space/rguenther/src/svn/trunk2/gcc/fold-const.c:16267
#6  0x0000000000a77933 in thunk_adjust (bsi=0x7fffffffd840, 
    ptr=0x7ffff22c6168, this_adjusting=false, fixed_offset=0, 
    virtual_offset=0x7fffdf18bfd8)
    at /space/rguenther/src/svn/trunk2/gcc/cgraphunit.c:1463
#7  0x0000000000a78e00 in cgraph_node::expand_thunk (this=0x7fffed309310, 
    output_asm_thunks=false, force_gimple_thunk=true)
    at /space/rguenther/src/svn/trunk2/gcc/cgraphunit.c:1750
#8  0x0000000000a7a9af in cgraph_node::create_wrapper (this=0x7fffed309310, 
    target=0x7fffe45d1498)
    at /space/rguenther/src/svn/trunk2/gcc/cgraphunit.c:2499
#9  0x000000000163afda in ipa_icf::sem_function::merge (this=0x32c5780, 
    alias_item=0x3a06280) at /space/rguenther/src/svn/trunk2/gcc/ipa-icf.c:1033
#10 0x0000000001641fa8 in ipa_icf::sem_item_optimizer::merge_classes (
    this=0x3757b50, prev_class_count=5884)
    at /space/rguenther/src/svn/trunk2/gcc/ipa-icf.c:2979
#11 0x000000000163f9ff in ipa_icf::sem_item_optimizer::execute (this=0x3757b50)
    at /space/rguenther/src/svn/trunk2/gcc/ipa-icf.c:2236
#12 0x0000000001642345 in ipa_icf::ipa_icf_driver ()
    at /space/rguenther/src/svn/trunk2/gcc/ipa-icf.c:3060
#13 0x0000000001642c59 in ipa_icf::pass_ipa_icf::execute (this=0x20fab80)

we build a POINTER_PLUS_EXPR of type 'struct AffineTransform'!?

1462          /* Adjust the `this' pointer.  */
1463          ptr = fold_build_pointer_plus_loc (input_location, ptr,
vtabletmp3);

but 'ptr' is

(gdb) p debug_tree (ptr)
 <result_decl 0x7ffff22c6168 D.736599
    type <record_type 0x7ffff58ee348 AffineTransform sizes-gimplified
needs-constructing type_1 type_5 type_6 BLK
        size <integer_cst 0x7ffff6749420 constant 384>

so it looks like we build bogus thunks or perform bogus merges.


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

* [Bug ipa/65465] [5 Regression] Internal compiler error: in build2_stIat
  2015-03-19  0:40 [Bug c++/65465] New: nternal compiler error: in build2_stat raj.khem at gmail dot com
  2015-03-19  0:41 ` [Bug c++/65465] Internal compiler error: in build2_stIat raj.khem at gmail dot com
  2015-03-19 10:17 ` [Bug ipa/65465] [5 Regression] " rguenth at gcc dot gnu.org
@ 2015-03-19 10:20 ` jakub at gcc dot gnu.org
  2015-03-19 15:20 ` marxin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-03-19 10:20 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I'll try to reduce this.  -fno-ipa-icf works.


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

* [Bug ipa/65465] [5 Regression] Internal compiler error: in build2_stIat
  2015-03-19  0:40 [Bug c++/65465] New: nternal compiler error: in build2_stat raj.khem at gmail dot com
                   ` (2 preceding siblings ...)
  2015-03-19 10:20 ` jakub at gcc dot gnu.org
@ 2015-03-19 15:20 ` marxin at gcc dot gnu.org
  2015-03-19 17:45 ` marxin at gcc dot gnu.org
  2015-03-19 18:14 ` marxin at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2015-03-19 15:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Patch I've been testing:

diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index e640907..8b7d056 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -2484,8 +2484,9 @@ cgraph_node::create_wrapper (cgraph_node *target)

   /* Turn alias into thunk and expand it into GIMPLE representation.  */
   definition = true;
+
+  memset (&thunk, 0, sizeof(cgraph_thunk_info));
   thunk.thunk_p = true;
-  thunk.this_adjusting = false;
   create_edge (target, NULL, count, CGRAPH_FREQ_BASE);

   tree arguments = DECL_ARGUMENTS (decl);
-- 

Martin
>From gcc-bugs-return-480830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 19 15:14:37 2015
Return-Path: <gcc-bugs-return-480830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104484 invoked by alias); 19 Mar 2015 15:14:36 -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 104427 invoked by uid 48); 19 Mar 2015 15:14:33 -0000
From: "vehre at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/55901] [OOP] type is (character(len=*)) misinterpreted as array
Date: Thu, 19 Mar 2015 15:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.8.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vehre at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: vehre at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-55901-4-zWNFng3A1U@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-55901-4@http.gcc.gnu.org/bugzilla/>
References: <bug-55901-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: 2015-03/txt/msg01974.txt.bz2
Content-length: 722

https://gcc.gnu.org/bugzilla/show_bug.cgi?idU901

vehre at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |vehre at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |vehre at gcc dot gnu.org

--- Comment #14 from vehre at gcc dot gnu.org ---
Fix available with:

https://gcc.gnu.org/ml/fortran/2015-03/msg00074.html
https://gcc.gnu.org/ml/fortran/2015-03/msg00075.html
https://gcc.gnu.org/ml/fortran/2015-03/msg00085.html

and

https://gcc.gnu.org/ml/fortran/2015-03/msg00086.html


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

* [Bug ipa/65465] [5 Regression] Internal compiler error: in build2_stIat
  2015-03-19  0:40 [Bug c++/65465] New: nternal compiler error: in build2_stat raj.khem at gmail dot com
                   ` (3 preceding siblings ...)
  2015-03-19 15:20 ` marxin at gcc dot gnu.org
@ 2015-03-19 17:45 ` marxin at gcc dot gnu.org
  2015-03-19 18:14 ` marxin at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2015-03-19 17:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Mar 19 17:35:52 2015
New Revision: 221518

URL: https://gcc.gnu.org/viewcvs?rev=221518&root=gcc&view=rev
Log:
Fix for PR ipa/65465.

    PR ipa/65465
    * cgraphunit.c (cgraph_node::create_wrapper): Correctly reset
    all fields of cgraph_thunk_info.
    * g++.dg/ipa/pr65465.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/ipa/pr65465.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraphunit.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-480851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 19 17:37:18 2015
Return-Path: <gcc-bugs-return-480851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27997 invoked by alias); 19 Mar 2015 17:37:18 -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 27474 invoked by uid 48); 19 Mar 2015 17:37:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/64715] [5 Regression] __builtin_object_size (..., 1) fails to locate subobject
Date: Thu, 19 Mar 2015 18:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-64715-4-2qafuHGo4e@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64715-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64715-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: 2015-03/txt/msg01995.txt.bz2
Content-length: 1508

https://gcc.gnu.org/bugzilla/show_bug.cgi?idd715

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
For the early objsz pass, I'm afraid it can have security implications.
Artificial testcase:
extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
extern __inline __attribute__ ((__always_inline__)) __attribute__
((__gnu_inline__)) __attribute__ ((__artificial__)) char *
__attribute__ ((__nothrow__ , __leaf__)) strcpy (char *__restrict __dest, const
char *__restrict __src)
{
  return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest,
2 > 1));
}

const char *str1 = "JIHGFEDCBA";

int
main ()
{
  struct A { char buf1[9]; char buf2[1]; } a;
  char *p = a.buf1;
  char *q = p + 1;
  char *r = q + 3;
  char *t = r;
  if (r != &a.buf1[4])
    t = (char *) &a;
  strcpy (t, str1 + 5);
  return 0;
}

with the early objsz this will use 10 for __bos rather than 5, so will not
detect the buffer overflow.
So, if we want to go forward with that, perhaps:
1) the first instance should (also for performance reasons) only try to deal
with __bos calls where the second argument is 1 or 3, and leave 0 and 2 alone
for the second objsz pass
2) maybe instead of folding the __bos call into constant, it should turn it
into
MIN_EXPR <__bos, XX> where XX would be the value computed by the pass (for
__bos (, 3) MAX_EXPR).  That way, we'd use the smaller value of the two passes.


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

* [Bug ipa/65465] [5 Regression] Internal compiler error: in build2_stIat
  2015-03-19  0:40 [Bug c++/65465] New: nternal compiler error: in build2_stat raj.khem at gmail dot com
                   ` (4 preceding siblings ...)
  2015-03-19 17:45 ` marxin at gcc dot gnu.org
@ 2015-03-19 18:14 ` marxin at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2015-03-19 18:14 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed in 5.0.0.
>From gcc-bugs-return-480853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 19 17:37:51 2015
Return-Path: <gcc-bugs-return-480853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29488 invoked by alias); 19 Mar 2015 17:37:51 -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 29435 invoked by uid 55); 19 Mar 2015 17:37:47 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/65380] [5 Regression][ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158
Date: Thu, 19 Mar 2015 18:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: lto
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-65380-4-QBGjz0I1t0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65380-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65380-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-03/txt/msg01997.txt.bz2
Content-length: 474

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

--- Comment #15 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Mar 19 17:37:15 2015
New Revision: 221519

URL: https://gcc.gnu.org/viewcvs?rev=221519&root=gcc&view=rev
Log:
Fix PR ipa/65380.

    PR ipa/65380
    * ipa-icf.c (sem_function::merge): Do not merge DECL_EXTERNAL symbols.
    (sem_variable::merge): Likewise.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-icf.c
>From gcc-bugs-return-480854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 19 17:38:10 2015
Return-Path: <gcc-bugs-return-480854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30939 invoked by alias); 19 Mar 2015 17:38: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 30532 invoked by uid 48); 19 Mar 2015 17:38:06 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/65303] Tracking bug for ICF issues
Date: Thu, 19 Mar 2015 18:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
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_status resolution
Message-ID: <bug-65303-4-Roc6EB7fe5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65303-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: 2015-03/txt/msg01998.txt.bz2
Content-length: 508

https://gcc.gnu.org/bugzilla/show_bug.cgi?ide303
Bug 65303 depends on bug 65380, which changed state.

Bug 65380 Summary: [5 Regression][ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158
https://gcc.gnu.org/bugzilla/show_bug.cgi?ide380

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED


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

end of thread, other threads:[~2015-03-19 17:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-19  0:40 [Bug c++/65465] New: nternal compiler error: in build2_stat raj.khem at gmail dot com
2015-03-19  0:41 ` [Bug c++/65465] Internal compiler error: in build2_stIat raj.khem at gmail dot com
2015-03-19 10:17 ` [Bug ipa/65465] [5 Regression] " rguenth at gcc dot gnu.org
2015-03-19 10:20 ` jakub at gcc dot gnu.org
2015-03-19 15:20 ` marxin at gcc dot gnu.org
2015-03-19 17:45 ` marxin at gcc dot gnu.org
2015-03-19 18:14 ` marxin 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).