public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60432] New: Member pointer resolution within class definition causes segmentation fault
@ 2014-03-05 17:22 jpelletier at jumptrading dot com
  2014-03-05 17:27 ` [Bug c++/60432] " jpelletier at jumptrading dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jpelletier at jumptrading dot com @ 2014-03-05 17:22 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60432
           Summary: Member pointer resolution within class definition
                    causes segmentation fault
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jpelletier at jumptrading dot com


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

* [Bug c++/60432] Member pointer resolution within class definition causes segmentation fault
  2014-03-05 17:22 [Bug c++/60432] New: Member pointer resolution within class definition causes segmentation fault jpelletier at jumptrading dot com
@ 2014-03-05 17:27 ` jpelletier at jumptrading dot com
  2014-03-05 17:28 ` jpelletier at jumptrading dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jpelletier at jumptrading dot com @ 2014-03-05 17:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from jpelletier at jumptrading dot com ---
Created attachment 32277
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32277&action=edit
full error output


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

* [Bug c++/60432] Member pointer resolution within class definition causes segmentation fault
  2014-03-05 17:22 [Bug c++/60432] New: Member pointer resolution within class definition causes segmentation fault jpelletier at jumptrading dot com
  2014-03-05 17:27 ` [Bug c++/60432] " jpelletier at jumptrading dot com
@ 2014-03-05 17:28 ` jpelletier at jumptrading dot com
  2014-03-05 17:29 ` jpelletier at jumptrading dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jpelletier at jumptrading dot com @ 2014-03-05 17:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from jpelletier at jumptrading dot com ---
The following code causes a segmentation fault:

#include <tuple>

struct A
{
 int a;
 static constexpr int A::*p = &A::a;
};

%g++ -std=c++11 -c member.cc
member.cc:6:35: internal compiler error: Segmentation fault
  static constexpr int A::*p = &A::a;
                                   ^


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

* [Bug c++/60432] Member pointer resolution within class definition causes segmentation fault
  2014-03-05 17:22 [Bug c++/60432] New: Member pointer resolution within class definition causes segmentation fault jpelletier at jumptrading dot com
  2014-03-05 17:27 ` [Bug c++/60432] " jpelletier at jumptrading dot com
  2014-03-05 17:28 ` jpelletier at jumptrading dot com
@ 2014-03-05 17:29 ` jpelletier at jumptrading dot com
  2014-03-05 19:07 ` redi at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jpelletier at jumptrading dot com @ 2014-03-05 17:29 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from jpelletier at jumptrading dot com ---
Created attachment 32278
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32278&action=edit
preprocessed file


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

* [Bug c++/60432] Member pointer resolution within class definition causes segmentation fault
  2014-03-05 17:22 [Bug c++/60432] New: Member pointer resolution within class definition causes segmentation fault jpelletier at jumptrading dot com
                   ` (2 preceding siblings ...)
  2014-03-05 17:29 ` jpelletier at jumptrading dot com
@ 2014-03-05 19:07 ` redi at gcc dot gnu.org
  2014-06-06  9:58 ` paolo.carlini at oracle dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2014-03-05 19:07 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.9.0

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The #include is not required to reproduce the bug.

It is already fixed for GCC 4.9.0


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

* [Bug c++/60432] Member pointer resolution within class definition causes segmentation fault
  2014-03-05 17:22 [Bug c++/60432] New: Member pointer resolution within class definition causes segmentation fault jpelletier at jumptrading dot com
                   ` (3 preceding siblings ...)
  2014-03-05 19:07 ` redi at gcc dot gnu.org
@ 2014-06-06  9:58 ` paolo.carlini at oracle dot com
  2014-06-06 10:01 ` paolo.carlini at oracle dot com
  2014-06-06 10:01 ` paolo at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-06-06  9:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Let's add the testcase and close the bug.


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

* [Bug c++/60432] Member pointer resolution within class definition causes segmentation fault
  2014-03-05 17:22 [Bug c++/60432] New: Member pointer resolution within class definition causes segmentation fault jpelletier at jumptrading dot com
                   ` (5 preceding siblings ...)
  2014-06-06 10:01 ` paolo.carlini at oracle dot com
@ 2014-06-06 10:01 ` paolo at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: paolo at gcc dot gnu.org @ 2014-06-06 10:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Fri Jun  6 10:00:55 2014
New Revision: 211312

URL: http://gcc.gnu.org/viewcvs?rev=211312&root=gcc&view=rev
Log:
2014-06-06  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/60432
    * g++.dg/cpp0x/constexpr-60432.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-60432.C
Modified:
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c++/60432] Member pointer resolution within class definition causes segmentation fault
  2014-03-05 17:22 [Bug c++/60432] New: Member pointer resolution within class definition causes segmentation fault jpelletier at jumptrading dot com
                   ` (4 preceding siblings ...)
  2014-06-06  9:58 ` paolo.carlini at oracle dot com
@ 2014-06-06 10:01 ` paolo.carlini at oracle dot com
  2014-06-06 10:01 ` paolo at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-06-06 10:01 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Known to work|                            |4.10.0
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.9.0

--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Done.


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

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

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-05 17:22 [Bug c++/60432] New: Member pointer resolution within class definition causes segmentation fault jpelletier at jumptrading dot com
2014-03-05 17:27 ` [Bug c++/60432] " jpelletier at jumptrading dot com
2014-03-05 17:28 ` jpelletier at jumptrading dot com
2014-03-05 17:29 ` jpelletier at jumptrading dot com
2014-03-05 19:07 ` redi at gcc dot gnu.org
2014-06-06  9:58 ` paolo.carlini at oracle dot com
2014-06-06 10:01 ` paolo.carlini at oracle dot com
2014-06-06 10:01 ` paolo 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).