public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/62091] New: ice in before_dom_children
@ 2014-08-11 15:47 dcb314 at hotmail dot com
  2014-08-13  8:32 ` [Bug tree-optimization/62091] [4.10 Regression] " rguenth at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: dcb314 at hotmail dot com @ 2014-08-11 15:47 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 62091
           Summary: ice in before_dom_children
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com

Created attachment 33291
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33291&action=edit
C++ source code

For the attached code, compiled by gcc trunk dated 20140810,
the following crash message is produced

$ ../results/bin/gcc -c -O2 bug159.cc
snmpmsg.cpp: In member function ‘int
Snmp_pp::SnmpMessage::unload(Snmp_pp::Pdu&, Snmp_pp::OctetStr&,
Snmp_pp::snmp_version&, Snmp_pp::OctetStr*, Snmp_pp::OctetStr*, long int*,
Snmp_pp::UdpAddress*, Snmp_pp::Snmp*)’:
snmpmsg.cpp:540:5: internal compiler error: in before_dom_children, at
tree-ssa-pre.c:4411
0xbd423c eliminate_dom_walker::before_dom_children(basic_block_def*)
    ../../src/trunk/gcc/tree-ssa-pre.c:4411
0xf59987 dom_walker::walk(basic_block_def*)
    ../../src/trunk/gcc/domwalk.c:177
0xbd1332 eliminate
    ../../src/trunk/gcc/tree-ssa-pre.c:4526
0xbd253c execute
    ../../src/trunk/gcc/tree-ssa-pre.c:4941
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.
$  

Compiler flag -O2 required.
>From gcc-bugs-return-458173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Aug 11 16:16:40 2014
Return-Path: <gcc-bugs-return-458173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6109 invoked by alias); 11 Aug 2014 16:16:40 -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 6062 invoked by uid 48); 11 Aug 2014 16:16:36 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/62091] ice in before_dom_children
Date: Mon, 11 Aug 2014 16:16: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: 4.10.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc component version target_milestone everconfirmed
Message-ID: <bug-62091-4-hHkUh0hghD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-62091-4@http.gcc.gnu.org/bugzilla/>
References: <bug-62091-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: 2014-08/txt/msg00670.txt.bz2
Content-length: 1286

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-08-11
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |trippels at gcc dot gnu.org
          Component|c++                         |tree-optimization
            Version|4.9.2                       |4.10.0
   Target Milestone|---                         |4.10.0
     Ever confirmed|0                           |1

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Started with r213739.

markus@x4 tmp % cat bug159.cc
class SnmpSyntax
{
public:
  virtual SnmpSyntax *m_fn1 () const;
  ~SnmpSyntax () {}
  virtual SnmpSyntax &operator=(const SnmpSyntax &);
};

class A : public SnmpSyntax
{
public:
  A (int);
  SnmpSyntax *m_fn1 () const {}
  SnmpSyntax &operator=(const SnmpSyntax &);
};
int a;
void fn1 ()
{
  for (;; a++)
    switch (0)
    case 0:
      {
        A b (0);
        SnmpSyntax &c = b;
        c.m_fn1 ();
      }
}


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

end of thread, other threads:[~2014-09-25 20:13 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-11 15:47 [Bug c++/62091] New: ice in before_dom_children dcb314 at hotmail dot com
2014-08-13  8:32 ` [Bug tree-optimization/62091] [4.10 Regression] " rguenth at gcc dot gnu.org
2014-08-13 18:45 ` [Bug tree-optimization/62091] [5 " hubicka at ucw dot cz
2014-08-14 23:36 ` hubicka at gcc dot gnu.org
2014-08-19 14:48 ` dcb314 at hotmail dot com
2014-08-19 16:27 ` dcb314 at hotmail dot com
2014-08-19 18:26 ` jason at gcc dot gnu.org
2014-08-19 18:30 ` jason at gcc dot gnu.org
2014-08-20  1:55 ` jason at gcc dot gnu.org
2014-08-20  2:04 ` jason at gcc dot gnu.org
2014-08-20 16:02 ` hubicka at ucw dot cz
2014-08-20 16:19 ` trippels at gcc dot gnu.org
2014-08-21 13:49 ` hubicka at gcc dot gnu.org
2014-09-25 20:13 ` hubicka 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).