public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/63505] New: [4.8/4.9 Regression] ICE with -fdebug-types-section in should_move_die_to_comdat, at dwarf2out.c:6702
@ 2014-10-10 11:23 doko at gcc dot gnu.org
  2014-11-19 13:30 ` [Bug other/63505] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: doko at gcc dot gnu.org @ 2014-10-10 11:23 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63505
           Summary: [4.8/4.9 Regression] ICE with -fdebug-types-section in
                    should_move_die_to_comdat, at dwarf2out.c:6702
           Product: gcc
           Version: 4.9.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org

this might be related to PR57664 and/or PR53860 (but the latter was closed),
seen on today's 4.8 and 4.9 branches, but not on trunk.

test case reduced from https://bugs.debian.org/764624

$ cat test.cc
template <typename _Predicate> struct A {
  _Predicate _M_pred;
  template <typename _Iterator> bool operator()(_Iterator) { return _M_pred; }
};
template <typename _Predicate> A<_Predicate> __pred_iter(_Predicate) {}

class B {
public:
  int begin();
  int end();
};
template <typename _ForwardIterator, typename _Predicate>
void __remove_if(_ForwardIterator, _Predicate p2) {
  _ForwardIterator __first;
  p2(__first);
}

template <typename _ForwardIterator, typename _Predicate>
void remove_if(_ForwardIterator, _ForwardIterator p2, _Predicate p3) {
  __remove_if(p2, __pred_iter(p3));
}

void tidy_container() {
  B env_container;
  if (false)
    remove_if(env_container.begin(), env_container.end(), [] {});
}

$ g++ -std=gnu++0x -c -g -fdebug-types-section test.cc 
test.cc:27:1: internal compiler error: in should_move_die_to_comdat, at
dwarf2out.c:6702
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.


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

* [Bug other/63505] [4.8/4.9 Regression] ICE with -fdebug-types-section in should_move_die_to_comdat, at dwarf2out.c:6702
  2014-10-10 11:23 [Bug other/63505] New: [4.8/4.9 Regression] ICE with -fdebug-types-section in should_move_die_to_comdat, at dwarf2out.c:6702 doko at gcc dot gnu.org
@ 2014-11-19 13:30 ` rguenth at gcc dot gnu.org
  2014-12-10 13:13 ` [Bug debug/63505] " rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-19 13:30 UTC (permalink / raw)
  To: gcc-bugs

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

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

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


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

* [Bug debug/63505] [4.8/4.9 Regression] ICE with -fdebug-types-section in should_move_die_to_comdat, at dwarf2out.c:6702
  2014-10-10 11:23 [Bug other/63505] New: [4.8/4.9 Regression] ICE with -fdebug-types-section in should_move_die_to_comdat, at dwarf2out.c:6702 doko at gcc dot gnu.org
  2014-11-19 13:30 ` [Bug other/63505] " rguenth at gcc dot gnu.org
@ 2014-12-10 13:13 ` rguenth at gcc dot gnu.org
  2014-12-19 13:39 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-12-10 13:13 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-12-10
          Component|other                       |debug
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.


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

* [Bug debug/63505] [4.8/4.9 Regression] ICE with -fdebug-types-section in should_move_die_to_comdat, at dwarf2out.c:6702
  2014-10-10 11:23 [Bug other/63505] New: [4.8/4.9 Regression] ICE with -fdebug-types-section in should_move_die_to_comdat, at dwarf2out.c:6702 doko at gcc dot gnu.org
  2014-11-19 13:30 ` [Bug other/63505] " rguenth at gcc dot gnu.org
  2014-12-10 13:13 ` [Bug debug/63505] " rguenth at gcc dot gnu.org
@ 2014-12-19 13:39 ` jakub at gcc dot gnu.org
  2015-06-23  8:21 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-12-19 13:39 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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


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

* [Bug debug/63505] [4.8/4.9 Regression] ICE with -fdebug-types-section in should_move_die_to_comdat, at dwarf2out.c:6702
  2014-10-10 11:23 [Bug other/63505] New: [4.8/4.9 Regression] ICE with -fdebug-types-section in should_move_die_to_comdat, at dwarf2out.c:6702 doko at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-12-19 13:39 ` jakub at gcc dot gnu.org
@ 2015-06-23  8:21 ` rguenth at gcc dot gnu.org
  2015-06-26 20:10 ` [Bug debug/63505] [4.9 " jakub at gcc dot gnu.org
  2015-06-26 20:36 ` jakub at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-23  8:21 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
The gcc-4_8-branch is being closed, re-targeting regressions to 4.9.3.


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

* [Bug debug/63505] [4.9 Regression] ICE with -fdebug-types-section in should_move_die_to_comdat, at dwarf2out.c:6702
  2014-10-10 11:23 [Bug other/63505] New: [4.8/4.9 Regression] ICE with -fdebug-types-section in should_move_die_to_comdat, at dwarf2out.c:6702 doko at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2015-06-23  8:21 ` rguenth at gcc dot gnu.org
@ 2015-06-26 20:10 ` jakub at gcc dot gnu.org
  2015-06-26 20:36 ` jakub at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:10 UTC (permalink / raw)
  To: gcc-bugs

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

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


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

* [Bug debug/63505] [4.9 Regression] ICE with -fdebug-types-section in should_move_die_to_comdat, at dwarf2out.c:6702
  2014-10-10 11:23 [Bug other/63505] New: [4.8/4.9 Regression] ICE with -fdebug-types-section in should_move_die_to_comdat, at dwarf2out.c:6702 doko at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2015-06-26 20:10 ` [Bug debug/63505] [4.9 " jakub at gcc dot gnu.org
@ 2015-06-26 20:36 ` jakub at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:36 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.9.3                       |4.9.4


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

end of thread, other threads:[~2015-06-26 20:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-10 11:23 [Bug other/63505] New: [4.8/4.9 Regression] ICE with -fdebug-types-section in should_move_die_to_comdat, at dwarf2out.c:6702 doko at gcc dot gnu.org
2014-11-19 13:30 ` [Bug other/63505] " rguenth at gcc dot gnu.org
2014-12-10 13:13 ` [Bug debug/63505] " rguenth at gcc dot gnu.org
2014-12-19 13:39 ` jakub at gcc dot gnu.org
2015-06-23  8:21 ` rguenth at gcc dot gnu.org
2015-06-26 20:10 ` [Bug debug/63505] [4.9 " jakub at gcc dot gnu.org
2015-06-26 20:36 ` jakub 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).