public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/65568] New: ptrmem8.C:9:9: internal compiler error: in build_ptrmemfunc, at cp/typeck.c:7940
@ 2015-03-25 18:53 rainer@emrich-ebersheim.de
  2015-03-26 11:00 ` [Bug target/65568] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rainer@emrich-ebersheim.de @ 2015-03-25 18:53 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 65568
           Summary: ptrmem8.C:9:9: internal compiler error: in
                    build_ptrmemfunc, at cp/typeck.c:7940
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rainer@emrich-ebersheim.de

Running the g++ testsuite I get the following ICE:

Executing on host:
/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/gcc/testsuite/g++/../../xg++
-B/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/gcc/testsuite/g++/../../
/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/g++.dg/other/ptrmem8.C
 -fno-diagnostics-show-caret -fdiagnostics-color=never  -nostdinc++
-I/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32
-I/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/x86_64-w64-mingw32/libstdc++-v3/include
-I/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/libstdc++-v3/libsupc++
-I/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/libstdc++-v3/include/backward
-I/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/libstdc++-v3/testsuite/util
-fmessage-length=0  -std=c++98  -pedantic-errors -Wno-long-long  -S   -o
ptrmem8.s    (timeout = 300)
spawn
/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/gcc/testsuite/g++/../../xg++
-B/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/gcc/testsuite/g++/../../
/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/g++.dg/other/ptrmem8.C
-fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++
-I/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32
-I/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/x86_64-w64-mingw32/libstdc++-v3/include
-I/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/libstdc++-v3/libsupc++
-I/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/libstdc++-v3/include/backward
-I/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/libstdc++-v3/testsuite/util
-fmessage-length=0 -std=c++98 -pedantic-errors -Wno-long-long -S -o ptrmem8.s
D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/g++.dg/other/ptrmem8.C:
In function 'void foo(void (A::*)())':
D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/g++.dg/other/ptrmem8.C:9:9:
internal compiler error: in build_ptrmemfunc, at cp/typeck.c:7940
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
compiler exited with status 1
output is:
D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/g++.dg/other/ptrmem8.C:
In function 'void foo(void (A::*)())':
D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/g++.dg/other/ptrmem8.C:9:9:
internal compiler error: in build_ptrmemfunc, at cp/typeck.c:7940
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

FAIL: g++.dg/other/ptrmem8.C  -std=c++98 (internal compiler error)


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

* [Bug target/65568] ptrmem8.C:9:9: internal compiler error: in build_ptrmemfunc, at cp/typeck.c:7940
  2015-03-25 18:53 [Bug other/65568] New: ptrmem8.C:9:9: internal compiler error: in build_ptrmemfunc, at cp/typeck.c:7940 rainer@emrich-ebersheim.de
@ 2015-03-26 11:00 ` rguenth at gcc dot gnu.org
  2015-03-26 11:35 ` ktietz at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-03-26 11:00 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2015-03-26
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Can you run manually and provide a backtrace?


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

* [Bug target/65568] ptrmem8.C:9:9: internal compiler error: in build_ptrmemfunc, at cp/typeck.c:7940
  2015-03-25 18:53 [Bug other/65568] New: ptrmem8.C:9:9: internal compiler error: in build_ptrmemfunc, at cp/typeck.c:7940 rainer@emrich-ebersheim.de
  2015-03-26 11:00 ` [Bug target/65568] " rguenth at gcc dot gnu.org
@ 2015-03-26 11:35 ` ktietz at gcc dot gnu.org
  2021-07-29 19:34 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ktietz at gcc dot gnu.org @ 2015-03-26 11:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Issue is related to -fms-extensions.  This option is for mingw targets on by
default.  By the following patch issue in testsuite gets solved (it makes sense
to apply this patch for such testcases, as here indeed -fno-ms-extensions is
tested).  
The point - as already noticed and spoken with Jason - that some C++-extensions
are buggy in C++-FE.

Index: ptrmem8.C
===================================================================
--- ptrmem8.C   (Revision 221690)
+++ ptrmem8.C   (Arbeitskopie)
@@ -1,5 +1,6 @@
 // PR c++/33844
 // { dg-do compile }
+// { dg-additional-options "-fno-ms-extensions" { target *-*-mingw* } }

 struct A {};


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

* [Bug target/65568] ptrmem8.C:9:9: internal compiler error: in build_ptrmemfunc, at cp/typeck.c:7940
  2015-03-25 18:53 [Bug other/65568] New: ptrmem8.C:9:9: internal compiler error: in build_ptrmemfunc, at cp/typeck.c:7940 rainer@emrich-ebersheim.de
  2015-03-26 11:00 ` [Bug target/65568] " rguenth at gcc dot gnu.org
  2015-03-26 11:35 ` ktietz at gcc dot gnu.org
@ 2021-07-29 19:34 ` pinskia at gcc dot gnu.org
  2021-07-29 19:35 ` pinskia at gcc dot gnu.org
  2022-12-24 20:32 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-29 19:34 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

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

* [Bug target/65568] ptrmem8.C:9:9: internal compiler error: in build_ptrmemfunc, at cp/typeck.c:7940
  2015-03-25 18:53 [Bug other/65568] New: ptrmem8.C:9:9: internal compiler error: in build_ptrmemfunc, at cp/typeck.c:7940 rainer@emrich-ebersheim.de
                   ` (2 preceding siblings ...)
  2021-07-29 19:34 ` pinskia at gcc dot gnu.org
@ 2021-07-29 19:35 ` pinskia at gcc dot gnu.org
  2022-12-24 20:32 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-29 19:35 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vladimir.kokovic at gmail dot com

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 97825 has been marked as a duplicate of this bug. ***

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

* [Bug target/65568] ptrmem8.C:9:9: internal compiler error: in build_ptrmemfunc, at cp/typeck.c:7940
  2015-03-25 18:53 [Bug other/65568] New: ptrmem8.C:9:9: internal compiler error: in build_ptrmemfunc, at cp/typeck.c:7940 rainer@emrich-ebersheim.de
                   ` (3 preceding siblings ...)
  2021-07-29 19:35 ` pinskia at gcc dot gnu.org
@ 2022-12-24 20:32 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-24 20:32 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nightstrike at gmail dot com

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 108207 has been marked as a duplicate of this bug. ***

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

end of thread, other threads:[~2022-12-24 20:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-25 18:53 [Bug other/65568] New: ptrmem8.C:9:9: internal compiler error: in build_ptrmemfunc, at cp/typeck.c:7940 rainer@emrich-ebersheim.de
2015-03-26 11:00 ` [Bug target/65568] " rguenth at gcc dot gnu.org
2015-03-26 11:35 ` ktietz at gcc dot gnu.org
2021-07-29 19:34 ` pinskia at gcc dot gnu.org
2021-07-29 19:35 ` pinskia at gcc dot gnu.org
2022-12-24 20:32 ` pinskia 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).