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

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