public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60579] New: Segmentation fault on variadic 'using' within variadic template class
@ 2014-03-19  7:34 charlie at charliedyson dot net
  2014-03-19  8:34 ` [Bug c++/60579] " jakub at gcc dot gnu.org
  2014-12-12 19:06 ` paolo.carlini at oracle dot com
  0 siblings, 2 replies; 3+ messages in thread
From: charlie at charliedyson dot net @ 2014-03-19  7:34 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60579

            Bug ID: 60579
           Summary: Segmentation fault on variadic 'using' within variadic
                    template class
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: charlie at charliedyson dot net

The following causes a segfault on gcc 4.8.1 and earlier versions:

template <typename... Args>
struct X
{
  template <typename Head, typename... Tail>
  using First = Head;

  using Y = First<Args...>;
};

Steps to reproduce: http://goo.gl/bBYNJU (GCC Explorer)


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

* [Bug c++/60579] Segmentation fault on variadic 'using' within variadic template class
  2014-03-19  7:34 [Bug c++/60579] New: Segmentation fault on variadic 'using' within variadic template class charlie at charliedyson dot net
@ 2014-03-19  8:34 ` jakub at gcc dot gnu.org
  2014-12-12 19:06 ` paolo.carlini at oracle dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-03-19  8:34 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60579

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This got fixed with r201469 on the trunk.


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

* [Bug c++/60579] Segmentation fault on variadic 'using' within variadic template class
  2014-03-19  7:34 [Bug c++/60579] New: Segmentation fault on variadic 'using' within variadic template class charlie at charliedyson dot net
  2014-03-19  8:34 ` [Bug c++/60579] " jakub at gcc dot gnu.org
@ 2014-12-12 19:06 ` paolo.carlini at oracle dot com
  1 sibling, 0 replies; 3+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-12-12 19:06 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.9.0

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Closing then.


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

end of thread, other threads:[~2014-12-12 19:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-19  7:34 [Bug c++/60579] New: Segmentation fault on variadic 'using' within variadic template class charlie at charliedyson dot net
2014-03-19  8:34 ` [Bug c++/60579] " jakub at gcc dot gnu.org
2014-12-12 19:06 ` paolo.carlini at oracle dot com

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