public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/52819] New: ICE: tree check: expected tree that contains 'decl minimal' structure, have 'nop_expr' in decl_linkage, at cp/tree.c:3136
@ 2012-04-01 12:10 gessos.paul at yahoo dot gr
  2013-01-26 10:59 ` [Bug c++/52819] " paolo.carlini at oracle dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: gessos.paul at yahoo dot gr @ 2012-04-01 12:10 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52819
           Summary: ICE: tree check: expected tree that contains 'decl
                    minimal' structure, have 'nop_expr' in decl_linkage,
                    at cp/tree.c:3136
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gessos.paul@yahoo.gr


------- g++ -v -------
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=....../libexec/gcc/x86_64-w64-mingw32
/4.7.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ......./build/gcc/src/configure --target=x86_64-w64-mingw32 --
prefix=/c/bb/vista64-mingw32/mingw-x86-x86_64/build/build/root
--with-sysroot=/c
/bb/vista64-mingw32/mingw-x86-x86_64/build/build/root
--enable-languages=all,obj
-c++ --enable-fully-dynamic-string --disable-multilib
Thread model: win32
gcc version 4.7.0 20111220 (experimental) (GCC)
----------------------

------- g++ -std=c++11 code.cpp -------
typedef void (*cfi)(void*);

void function(int *a) {}

template<cfi Func>
void get() { Func(0); }

int main()
{
    get<(cfi) function>();
    return 0;
}
----------------------------------------


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

* [Bug c++/52819] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'nop_expr' in decl_linkage, at cp/tree.c:3136
  2012-04-01 12:10 [Bug c++/52819] New: ICE: tree check: expected tree that contains 'decl minimal' structure, have 'nop_expr' in decl_linkage, at cp/tree.c:3136 gessos.paul at yahoo dot gr
@ 2013-01-26 10:59 ` paolo.carlini at oracle dot com
  2013-03-09 14:58 ` paolo.carlini at oracle dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-01-26 10:59 UTC (permalink / raw)
  To: gcc-bugs


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pipping at exherbo dot org

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-01-26 10:59:01 UTC ---
*** Bug 53893 has been marked as a duplicate of this bug. ***


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

* [Bug c++/52819] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'nop_expr' in decl_linkage, at cp/tree.c:3136
  2012-04-01 12:10 [Bug c++/52819] New: ICE: tree check: expected tree that contains 'decl minimal' structure, have 'nop_expr' in decl_linkage, at cp/tree.c:3136 gessos.paul at yahoo dot gr
  2013-01-26 10:59 ` [Bug c++/52819] " paolo.carlini at oracle dot com
@ 2013-03-09 14:58 ` paolo.carlini at oracle dot com
  2014-08-16 10:08 ` paolo at gcc dot gnu.org
  2014-08-16 10:12 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-03-09 14:58 UTC (permalink / raw)
  To: gcc-bugs


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler at
                   |                            |googlemail dot com

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-03-09 14:57:44 UTC ---
In mainline we don't ICE anymore on this, we reject it. Can we close it?


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

* [Bug c++/52819] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'nop_expr' in decl_linkage, at cp/tree.c:3136
  2012-04-01 12:10 [Bug c++/52819] New: ICE: tree check: expected tree that contains 'decl minimal' structure, have 'nop_expr' in decl_linkage, at cp/tree.c:3136 gessos.paul at yahoo dot gr
  2013-01-26 10:59 ` [Bug c++/52819] " paolo.carlini at oracle dot com
  2013-03-09 14:58 ` paolo.carlini at oracle dot com
@ 2014-08-16 10:08 ` paolo at gcc dot gnu.org
  2014-08-16 10:12 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo at gcc dot gnu.org @ 2014-08-16 10:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Sat Aug 16 10:07:41 2014
New Revision: 214062

URL: https://gcc.gnu.org/viewcvs?rev=214062&root=gcc&view=rev
Log:
2014-08-16  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/52819
    * g++.dg/template/pr52819.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/template/pr52819.C
Modified:
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c++/52819] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'nop_expr' in decl_linkage, at cp/tree.c:3136
  2012-04-01 12:10 [Bug c++/52819] New: ICE: tree check: expected tree that contains 'decl minimal' structure, have 'nop_expr' in decl_linkage, at cp/tree.c:3136 gessos.paul at yahoo dot gr
                   ` (2 preceding siblings ...)
  2014-08-16 10:08 ` paolo at gcc dot gnu.org
@ 2014-08-16 10:12 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-08-16 10:12 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Known to work|                            |4.8.3, 4.9.1, 5.0
         Resolution|---                         |FIXED

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
I added the testcase and I'm closing the bug.


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

end of thread, other threads:[~2014-08-16 10:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-01 12:10 [Bug c++/52819] New: ICE: tree check: expected tree that contains 'decl minimal' structure, have 'nop_expr' in decl_linkage, at cp/tree.c:3136 gessos.paul at yahoo dot gr
2013-01-26 10:59 ` [Bug c++/52819] " paolo.carlini at oracle dot com
2013-03-09 14:58 ` paolo.carlini at oracle dot com
2014-08-16 10:08 ` paolo at gcc dot gnu.org
2014-08-16 10:12 ` 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).