public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/64858] New: [5 Regression] Libreoffice build failure caused by ICF crash
@ 2015-01-29 14:11 trippels at gcc dot gnu.org
  2015-01-29 14:55 ` [Bug ipa/64858] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-01-29 14:11 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64858
           Summary: [5 Regression] Libreoffice build failure caused by ICF
                    crash
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org

trippels@gcc2-power8 ~ % cat xpathobject.ii
template <class reference_type> class A
{
  reference_type *m_pBody;
public:
  A (const A &) { m_pBody->acquire (); }
};
class B;
class C
{
protected:
  B *_pInterface;
};
template <class interface_type> class I : C
{
public:
  I (interface_type *);
};
class B
{
public:
  virtual void acquire ();
};
class D
{
protected:
  void acquire ();
};
template <class Ifc1> class J : D, public Ifc1
{
  void
  acquire ()
  {
    D::acquire ();
  }
};
class K : B
{
};
class L;
class F
{
  A<L> m_pDocument;
  F (A<L> const &, int &&);
};
class XUnoTunnel;
class XEventTarget;
template <class, class> class WeakImplHelper3 : D, B
{
  void
  acquire ()
  {
    D::acquire ();
  }
};
template <class> class G
{
public:
  void
  acquire ()
  {
    WeakImplHelper3<XUnoTunnel, XEventTarget> ();
  }
};
struct H
{
  H ()
      : mxAttribList (new J<B>), mxCurrentHandler (0), mxDocHandler (0),
        mxTokenHandler (0)
  {
  }
  I<J<B> > mxAttribList;
  I<int> mxCurrentHandler;
  I<int> mxDocHandler;
  I<int> mxTokenHandler;
};
class L : public G<int>
{
};
class M : public J<K>
{
public:
  M ();
};
template <class interface_type> I<interface_type>::I (interface_type *p1)
{
  B *a = static_cast<B *> (static_cast<void *> (p1));
  _pInterface = a;
  _pInterface->acquire ();
}
F::F (A<L> const &p1, int &&) : m_pDocument (p1) { I<K> (new M); }


trippels@gcc2-power8 ~ % g++ -O2 -std=gnu++11 -c xpathobject.ii
xpathobject.ii:90:66: internal compiler error: Segmentation fault
 F::F (A<L> const &p1, int &&) : m_pDocument (p1) { I<K> (new M); }
                                                                  ^
0x10a141eb crash_signal
        ../../gcc/gcc/toplev.c:383
0x11070c88 tree_check(tree_node*, char const*, int, char const*, tree_code)
        ../../gcc/gcc/tree.h:2845
0x11070c88 ipa_icf::sem_function::init()
        ../../gcc/gcc/ipa-icf.c:786
0x11074923 ipa_icf::sem_item_optimizer::parse_nonsingleton_classes()
        ../../gcc/gcc/ipa-icf.c:1865
0x1107c353 ipa_icf::sem_item_optimizer::execute()
        ../../gcc/gcc/ipa-icf.c:1721
0x1107d173 ipa_icf_driver
        ../../gcc/gcc/ipa-icf.c:2461
0x1107d173 ipa_icf::pass_ipa_icf::execute(function*)
        ../../gcc/gcc/ipa-icf.c:2509
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug ipa/64858] [5 Regression] Libreoffice build failure caused by ICF crash
  2015-01-29 14:11 [Bug ipa/64858] New: [5 Regression] Libreoffice build failure caused by ICF crash trippels at gcc dot gnu.org
@ 2015-01-29 14:55 ` rguenth at gcc dot gnu.org
  2015-01-30  7:05 ` trippels at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-01-29 14:55 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.0


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

* [Bug ipa/64858] [5 Regression] Libreoffice build failure caused by ICF crash
  2015-01-29 14:11 [Bug ipa/64858] New: [5 Regression] Libreoffice build failure caused by ICF crash trippels at gcc dot gnu.org
  2015-01-29 14:55 ` [Bug ipa/64858] " rguenth at gcc dot gnu.org
@ 2015-01-30  7:05 ` trippels at gcc dot gnu.org
  2015-02-06 16:32 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-01-30  7:05 UTC (permalink / raw)
  To: gcc-bugs

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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
           Priority|P3                          |P1


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

* [Bug ipa/64858] [5 Regression] Libreoffice build failure caused by ICF crash
  2015-01-29 14:11 [Bug ipa/64858] New: [5 Regression] Libreoffice build failure caused by ICF crash trippels at gcc dot gnu.org
  2015-01-29 14:55 ` [Bug ipa/64858] " rguenth at gcc dot gnu.org
  2015-01-30  7:05 ` trippels at gcc dot gnu.org
@ 2015-02-06 16:32 ` jakub at gcc dot gnu.org
  2015-02-06 16:57 ` trippels at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-06 16:32 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-02-06
                 CC|                            |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r216305.


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

* [Bug ipa/64858] [5 Regression] Libreoffice build failure caused by ICF crash
  2015-01-29 14:11 [Bug ipa/64858] New: [5 Regression] Libreoffice build failure caused by ICF crash trippels at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2015-02-06 16:32 ` jakub at gcc dot gnu.org
@ 2015-02-06 16:57 ` trippels at gcc dot gnu.org
  2015-02-06 18:05 ` jakub at gcc dot gnu.org
  2015-02-09 10:32 ` marxin at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-02-06 16:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Patch was already posted. It was approved by Jeff today.


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

* [Bug ipa/64858] [5 Regression] Libreoffice build failure caused by ICF crash
  2015-01-29 14:11 [Bug ipa/64858] New: [5 Regression] Libreoffice build failure caused by ICF crash trippels at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2015-02-06 16:57 ` trippels at gcc dot gnu.org
@ 2015-02-06 18:05 ` jakub at gcc dot gnu.org
  2015-02-09 10:32 ` marxin at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-06 18:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Right, thanks for the notice.  And, my debugging of this lead to quite similar
patch and that is pretty much what ipa-pure-const.c does too.


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

* [Bug ipa/64858] [5 Regression] Libreoffice build failure caused by ICF crash
  2015-01-29 14:11 [Bug ipa/64858] New: [5 Regression] Libreoffice build failure caused by ICF crash trippels at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2015-02-06 18:05 ` jakub at gcc dot gnu.org
@ 2015-02-09 10:32 ` marxin at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2015-02-09 10:32 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 3211 bytes --]

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

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

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

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed in r220531.
>From gcc-bugs-return-476440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 09 10:37:33 2015
Return-Path: <gcc-bugs-return-476440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7769 invoked by alias); 9 Feb 2015 10:37:33 -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 7698 invoked by uid 48); 9 Feb 2015 10:37:30 -0000
From: "juergen.reuter at desy dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/64980] New: [5.0 regression] ICE in trans-expr.c
Date: Mon, 09 Feb 2015 10:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: juergen.reuter at desy dot de
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 attachments.created
Message-ID: <bug-64980-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-02/txt/msg00773.txt.bz2
Content-length: 977

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

            Bug ID: 64980
           Summary: [5.0 regression] ICE in trans-expr.c
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: juergen.reuter at desy dot de

Created attachment 34701
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id4701&actioníit
File that triggers the ICE

The following code leads to internal compiler error with the message:

$ gfortran -c muli_trapezium.f90
muli_trapezium.f90:139:0:

             (node%get_d_value() / 2 - node%get_r_value_array ()))
 1
internal compiler error: in gfc_conv_component_ref, at
fortran/trans-expr.c:1954

muli_trapezium.f90:139:0: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)

I'm using gcc 5.0 (svn revision 220505).


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

end of thread, other threads:[~2015-02-09 10:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-29 14:11 [Bug ipa/64858] New: [5 Regression] Libreoffice build failure caused by ICF crash trippels at gcc dot gnu.org
2015-01-29 14:55 ` [Bug ipa/64858] " rguenth at gcc dot gnu.org
2015-01-30  7:05 ` trippels at gcc dot gnu.org
2015-02-06 16:32 ` jakub at gcc dot gnu.org
2015-02-06 16:57 ` trippels at gcc dot gnu.org
2015-02-06 18:05 ` jakub at gcc dot gnu.org
2015-02-09 10:32 ` 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).