This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/65198] New: [4.9 regression] User-defined literal template inside generic lambda segfaults GCC 5.0


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

            Bug ID: 65198
           Summary: [4.9 regression] User-defined literal template inside
                    generic lambda segfaults GCC 5.0
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jvp4846 at g dot rit.edu

Created attachment 34862
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34862&action=edit
Sample code

The attached code causes a segfault under GCC 5.0*, but compiles successfully
under GCC 4.9.2.

* From the Debian repo. Apologies in advance if this is already fixed or is
just a bug in Debian's binary; I won't have time to self-build GCC anytime
soon. The version is as follows:

g++ (Debian 20150211-1) 5.0.0 20150211 (experimental) [trunk revision 220605]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]