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++/63515] New: unused templated member can be instatiated


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

            Bug ID: 63515
           Summary: unused templated member can be instatiated
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: luka.rahne at gmail dot com

Created attachment 33694
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33694&action=edit
source that fails

I was working on curried functions and came across some unusual behaviour.
(compilation fails with error)

I have trimmed some code and put relevant comments in source.

compiler: g++ 5.0 -> commit 9bf79212ecec2245e66156c2b18d8a76a0187b04
flags:  -O3  -Wall -Wextra -std=c++11


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