Summary: | ptrmem8.C:9:9: internal compiler error: in build_ptrmemfunc, at cp/typeck.c:7940 | ||
---|---|---|---|
Product: | gcc | Reporter: | Rainer Emrich <rainer> |
Component: | target | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | NEW --- | ||
Severity: | normal | CC: | ktietz, nightstrike, vladimir.kokovic |
Priority: | P3 | Keywords: | ice-on-valid-code |
Version: | 5.0 | ||
Target Milestone: | --- | ||
See Also: |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86825 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83756 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65573 |
||
Host: | x86_64-w64-mingw32 | Target: | x86_64-w64-mingw32 |
Build: | x86_64-w64-mingw32 | Known to work: | |
Known to fail: | Last reconfirmed: | 2015-03-26 00:00:00 |
Description
Rainer Emrich
2015-03-25 18:28:45 UTC
Can you run manually and provide a backtrace? 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 {}; *** Bug 97825 has been marked as a duplicate of this bug. *** *** Bug 108207 has been marked as a duplicate of this bug. *** |