public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/66121] New: internal compiler error: in strip_typedefs, at cp/tree.c:1369
@ 2015-05-12 11:16 dennis.demidov at gmail dot com
  2015-05-14 12:03 ` [Bug c++/66121] " mpolacek at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dennis.demidov at gmail dot com @ 2015-05-12 11:16 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 66121
           Summary: internal compiler error: in strip_typedefs, at
                    cp/tree.c:1369
           Product: gcc
           Version: 5.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dennis.demidov at gmail dot com
  Target Milestone: ---

Created attachment 35527
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35527&action=edit
The preprocessed code stripped with the delta tool.

The following code (reduced from [vexcl](https://github.com/ddemidov/vexcl)
library) leads to an internal compiler error:

$ cat strip_typedefs_ice.cpp
#include <memory>
typedef int32_t cl_int __attribute__((aligned(4)));
struct buffer_unmapper {
    void operator()(cl_int* ptr) const {
    }
};
typedef std::unique_ptr<cl_int[], buffer_unmapper> mapped_array;

$ g++ -c -std=c++11 strip_typedefs_ice.cpp                                      
strip_typedefs_ice.cpp:7:50: internal compiler error: in strip_typedefs, at
cp/tree.c:1369
 typedef std::unique_ptr<cl_int[], buffer_unmapper> mapped_array;
                                                  ^


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

* [Bug c++/66121] internal compiler error: in strip_typedefs, at cp/tree.c:1369
  2015-05-12 11:16 [Bug c++/66121] New: internal compiler error: in strip_typedefs, at cp/tree.c:1369 dennis.demidov at gmail dot com
@ 2015-05-14 12:03 ` mpolacek at gcc dot gnu.org
  2015-06-29  8:21 ` [Bug c++/66121] [5 Regression] " rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-05-14 12:03 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-05-14
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed on trunk with r222529.


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

* [Bug c++/66121] [5 Regression] internal compiler error: in strip_typedefs, at cp/tree.c:1369
  2015-05-12 11:16 [Bug c++/66121] New: internal compiler error: in strip_typedefs, at cp/tree.c:1369 dennis.demidov at gmail dot com
  2015-05-14 12:03 ` [Bug c++/66121] " mpolacek at gcc dot gnu.org
@ 2015-06-29  8:21 ` rguenth at gcc dot gnu.org
  2015-06-30 10:36 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-29  8:21 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
      Known to work|                            |4.9.2, 6.0
   Target Milestone|---                         |5.2
            Summary|internal compiler error: in |[5 Regression] internal
                   |strip_typedefs, at          |compiler error: in
                   |cp/tree.c:1369              |strip_typedefs, at
                   |                            |cp/tree.c:1369
      Known to fail|                            |5.1.0

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Still a regression for GCC 5 (works with 4.9.2 for me and indeed fixed on
trunk).


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

* [Bug c++/66121] [5 Regression] internal compiler error: in strip_typedefs, at cp/tree.c:1369
  2015-05-12 11:16 [Bug c++/66121] New: internal compiler error: in strip_typedefs, at cp/tree.c:1369 dennis.demidov at gmail dot com
  2015-05-14 12:03 ` [Bug c++/66121] " mpolacek at gcc dot gnu.org
  2015-06-29  8:21 ` [Bug c++/66121] [5 Regression] " rguenth at gcc dot gnu.org
@ 2015-06-30 10:36 ` rguenth at gcc dot gnu.org
  2015-07-16  9:13 ` rguenth at gcc dot gnu.org
  2015-08-17 16:06 ` jason at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-30 10:36 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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

* [Bug c++/66121] [5 Regression] internal compiler error: in strip_typedefs, at cp/tree.c:1369
  2015-05-12 11:16 [Bug c++/66121] New: internal compiler error: in strip_typedefs, at cp/tree.c:1369 dennis.demidov at gmail dot com
                   ` (2 preceding siblings ...)
  2015-06-30 10:36 ` rguenth at gcc dot gnu.org
@ 2015-07-16  9:13 ` rguenth at gcc dot gnu.org
  2015-08-17 16:06 ` jason at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-07-16  9:13 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.2                         |5.3

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 5.2 is being released, adjusting target milestone to 5.3.


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

* [Bug c++/66121] [5 Regression] internal compiler error: in strip_typedefs, at cp/tree.c:1369
  2015-05-12 11:16 [Bug c++/66121] New: internal compiler error: in strip_typedefs, at cp/tree.c:1369 dennis.demidov at gmail dot com
                   ` (3 preceding siblings ...)
  2015-07-16  9:13 ` rguenth at gcc dot gnu.org
@ 2015-08-17 16:06 ` jason at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2015-08-17 16:06 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jason at gcc dot gnu.org
         Resolution|---                         |FIXED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed for 5.3 as well.


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

end of thread, other threads:[~2015-08-17 16:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-12 11:16 [Bug c++/66121] New: internal compiler error: in strip_typedefs, at cp/tree.c:1369 dennis.demidov at gmail dot com
2015-05-14 12:03 ` [Bug c++/66121] " mpolacek at gcc dot gnu.org
2015-06-29  8:21 ` [Bug c++/66121] [5 Regression] " rguenth at gcc dot gnu.org
2015-06-30 10:36 ` rguenth at gcc dot gnu.org
2015-07-16  9:13 ` rguenth at gcc dot gnu.org
2015-08-17 16:06 ` jason 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).