public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/58530] New: crash in get_combined_adhoc_loc
@ 2013-09-25 13:59 dcb314 at hotmail dot com
  2013-09-25 14:18 ` [Bug tree-optimization/58530] [4.9 Regression] " mpolacek at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dcb314 at hotmail dot com @ 2013-09-25 13:59 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58530
           Summary: crash in get_combined_adhoc_loc
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com

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

I just tried to compile package activemq-cpp-3.7.1-1 with gcc 4.9 trunk
dated 20130925. It said

activemq/commands/ActiveMQBytesMessage.cpp:91:39: internal compiler error:
Aborted
     message->copyDataStructure( this );
                                       ^
0xb0715f crash_signal
    ../../src/trunk/gcc/toplev.c:335
0x1022779 get_combined_adhoc_loc(line_maps*, unsigned int, void*)
    ../../src/trunk/libcpp/line-map.c:106
0xb6417c copy_phis_for_bb
    ../../src/trunk/gcc/tree-inline.c:2093
0xb6417c copy_cfg_body
    ../../src/trunk/gcc/tree-inline.c:2446
0xb6417c copy_body
    ../../src/trunk/gcc/tree-inline.c:2625
0xb69823 expand_call_inline
    ../../src/trunk/gcc/tree-inline.c:4234
0xb69823 gimple_expand_calls_inline
    ../../src/trunk/gcc/tree-inline.c:4341
0xb69823 optimize_inline_calls(tree_node*)
    ../../src/trunk/gcc/tree-inline.c:4496
0xf8a38b inline_transform(cgraph_node*)
    ../../src/trunk/gcc/ipa-inline-transform.c:436
0xa5b199 execute_one_ipa_transform_pass
    ../../src/trunk/gcc/passes.c:2039
0xa5b199 execute_all_ipa_transforms()
    ../../src/trunk/gcc/passes.c:2079
0x7f3df0 expand_function
    ../../src/trunk/gcc/cgraphunit.c:1743
0x7f5e4e expand_all_functions
    ../../src/trunk/gcc/cgraphunit.c:1855
0x7f5e4e compile()
    ../../src/trunk/gcc/cgraphunit.c:2192
0x7f6439 finalize_compilation_unit()
    ../../src/trunk/gcc/cgraphunit.c:2269
0x60083d cp_write_global_declarations()
    ../../src/trunk/gcc/cp/decl2.c:4360
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.

Preprocessed source code attached. Flag -O3 required.


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

* [Bug tree-optimization/58530] [4.9 Regression] crash in get_combined_adhoc_loc
  2013-09-25 13:59 [Bug c++/58530] New: crash in get_combined_adhoc_loc dcb314 at hotmail dot com
@ 2013-09-25 14:18 ` mpolacek at gcc dot gnu.org
  2013-09-25 14:27 ` mpolacek at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-09-25 14:18 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-09-25
                 CC|                            |mpolacek at gcc dot gnu.org
          Component|c++                         |tree-optimization
   Target Milestone|---                         |4.9.0
            Summary|crash in                    |[4.9 Regression] crash in
                   |get_combined_adhoc_loc      |get_combined_adhoc_loc
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.


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

* [Bug tree-optimization/58530] [4.9 Regression] crash in get_combined_adhoc_loc
  2013-09-25 13:59 [Bug c++/58530] New: crash in get_combined_adhoc_loc dcb314 at hotmail dot com
  2013-09-25 14:18 ` [Bug tree-optimization/58530] [4.9 Regression] " mpolacek at gcc dot gnu.org
@ 2013-09-25 14:27 ` mpolacek at gcc dot gnu.org
  2013-09-25 19:31 ` markus at trippelsdorf dot de
  2014-10-31 18:05 ` dcb314 at hotmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-09-25 14:27 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r202592.


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

* [Bug tree-optimization/58530] [4.9 Regression] crash in get_combined_adhoc_loc
  2013-09-25 13:59 [Bug c++/58530] New: crash in get_combined_adhoc_loc dcb314 at hotmail dot com
  2013-09-25 14:18 ` [Bug tree-optimization/58530] [4.9 Regression] " mpolacek at gcc dot gnu.org
  2013-09-25 14:27 ` mpolacek at gcc dot gnu.org
@ 2013-09-25 19:31 ` markus at trippelsdorf dot de
  2014-10-31 18:05 ` dcb314 at hotmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: markus at trippelsdorf dot de @ 2013-09-25 19:31 UTC (permalink / raw)
  To: gcc-bugs

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

Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markus at trippelsdorf dot de

--- Comment #3 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
Reduced:

class B {
public:
  B(...);
};
class C {
  virtual C *m_fn1() const;
};
class D {
public:
  virtual ~D();
};
class G : D, public C {};
class F : G {
  F *m_fn1() const;
};
C *b;
F *F::m_fn1() const {
  if (dynamic_cast<const F *>(b))
    B();
}


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

* [Bug tree-optimization/58530] [4.9 Regression] crash in get_combined_adhoc_loc
  2013-09-25 13:59 [Bug c++/58530] New: crash in get_combined_adhoc_loc dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2013-09-25 19:31 ` markus at trippelsdorf dot de
@ 2014-10-31 18:05 ` dcb314 at hotmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: dcb314 at hotmail dot com @ 2014-10-31 18:05 UTC (permalink / raw)
  To: gcc-bugs

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

David Binderman <dcb314 at hotmail dot com> changed:

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

--- Comment #5 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to David Binderman from comment #4)
> Seems to be fixed by 20131009, revision 203302

And it's come back again recently. Only -O2, not -O3, required this time.

bug120.cc
activemq/commands/ActiveMQBytesMessage.cpp: In member function ‘bool
activemq::commands::ActiveMQMessageTemplate<T>::propertyExists(const string&)
const [with T = cms::BytesMessage; std::string = std::basic_string<char>]’:
activemq/commands/ActiveMQBytesMessage.cpp:668:1: internal compiler error:
Segmentation fault
0xc00a5c crash_signal(int)
    ../../src/trunk/gcc/toplev.c:356
0xce3aaa bb_seq_addr(basic_block_def*)
    ../../src/trunk/gcc/gimple.h:1393
0xce3aaa gsi_start_bb(basic_block_def*)
    ../../src/trunk/gcc/gimple-iterator.h:118
0xce3aaa fold_all_stmts(function*)
    ../../src/trunk/gcc/tree-ssa-forwprop.c:3570
0xce3aaa (anonymous namespace)::pass_forwprop::execute(function*)
    ../../src/trunk/gcc/tree-ssa-forwprop.c:3903
Please submit a full bug report,

I think there may be some value in making sure that the source code
of all new bug reports, before reduction, compiles ok at -O2 or maybe -O3.
>From gcc-bugs-return-465505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 31 18:05:09 2014
Return-Path: <gcc-bugs-return-465505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18121 invoked by alias); 31 Oct 2014 18:05:08 -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 18080 invoked by uid 48); 31 Oct 2014 18:05:04 -0000
From: "y.gribov at samsung dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/63694] [5.0 Regression] Build error compiling asan.c: strtoull undeclared
Date: Fri, 31 Oct 2014 18:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: y.gribov at samsung dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-63694-4-EwkzOfWGIX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63694-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63694-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-10/txt/msg02526.txt.bz2
Content-length: 239

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

--- Comment #5 from Yury Gribov <y.gribov at samsung dot com> ---
John, would you mind sending a (tested) patch to gcc-patches? I only have
access to Linux systems which are irrelevant.


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

end of thread, other threads:[~2014-10-31 17:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-25 13:59 [Bug c++/58530] New: crash in get_combined_adhoc_loc dcb314 at hotmail dot com
2013-09-25 14:18 ` [Bug tree-optimization/58530] [4.9 Regression] " mpolacek at gcc dot gnu.org
2013-09-25 14:27 ` mpolacek at gcc dot gnu.org
2013-09-25 19:31 ` markus at trippelsdorf dot de
2014-10-31 18:05 ` dcb314 at hotmail dot com

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