public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/43069]  New: ICE: tree check: expected tree that contains ‘decl minimal’ structure, have ‘overload’ in set_decl_namespace, at cp/name-lookup.c:3105
@ 2010-02-15  0:51 zsojka at seznam dot cz
  2010-02-16 22:51 ` [Bug c++/43069] [4.5 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'overload' " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2010-02-15  0:51 UTC (permalink / raw)
  To: gcc-bugs

Command line:
g++ testcase.cpp

------ testcase.cpp ------
namespace std {
  template < typename >
  void swap ();
}
template std::swap
--------------------------

Tested revisions:
r156745 - crash
r153685 - crash
4.4 r156256 - OK

Output - 4.4:
$ /mnt/svn/gcc-4_4/binary-156256-enable-checking/bin/g++ testcase.cpp
testcase.cpp:5: error: ISO C++ forbids declaration of &#8216;swap&#8217; with
no type
testcase.cpp:5: error: explicit instantiation of non-template &#8216;int
std::swap&#8217;
testcase.cpp:5: error: expected &#8216;;&#8217; at end of input

Output - trunk:
$ /mnt/svn/gcc-trunk/binary-156745-lto/bin/g++ testcase.cpp
testcase.cpp:5:15: error: ISO C++ forbids declaration of &#8216;swap&#8217;
with no type
testcase.cpp:5:15: internal compiler error: tree check: expected tree that
contains &#8216;decl minimal&#8217; structure, have &#8216;overload&#8217; in
set_decl_namespace, at cp/name-lookup.c:3105
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE: tree check: expected tree that contains &#8216;decl
                    minimal&#8217; structure, have &#8216;overload&#8217; in
                    set_decl_namespace, at cp/name-lookup.c:3105
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz


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


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

end of thread, other threads:[~2010-02-23 17:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-15  0:51 [Bug c++/43069] New: ICE: tree check: expected tree that contains &#8216;decl minimal&#8217; structure, have &#8216;overload&#8217; in set_decl_namespace, at cp/name-lookup.c:3105 zsojka at seznam dot cz
2010-02-16 22:51 ` [Bug c++/43069] [4.5 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'overload' " pinskia at gcc dot gnu dot org
2010-02-17  3:42 ` hjl dot tools at gmail dot com
2010-02-17 17:34 ` mmitchel at gcc dot gnu dot org
2010-02-17 20:46 ` jason at gcc dot gnu dot org
2010-02-17 22:52 ` jason at gcc dot gnu dot org
2010-02-17 22:57 ` jason at gcc dot gnu dot org
2010-02-23 17:07 ` hjl at gcc dot gnu dot 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).