public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14033] New: tree check: expected class 't', have 'x' (error_mark) in initialize_inlined_parameters, at tree-inline.c:829
@ 2004-02-05 21:48 hans dot buchmann at fhso dot ch
  2004-02-05 21:57 ` [Bug c++/14033] [3.3/3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: hans dot buchmann at fhso dot ch @ 2004-02-05 21:48 UTC (permalink / raw)
  To: gcc-bugs

compiling the code

---------------------------------------------------
# 1 "<built-in>"
# 1 "<command line>"
# 1 "//home/buchmann/cvs/eo3s/src/generic/util/lang/bug.cc"
class Tag;

class Block
{
 public:
  Block& select_(Tag tag);
};


Block& Block::select_(Tag tag)
{
 return *this;
}

class Tag
{
 public:
          Tag();
 virtual ~Tag();
 Tag& operator|(Tag);
};

class Parser
{
 Parser();
};


Parser::Parser()
{
 Block b;
 b.select_(
             Tag()
     |Tag()
           );
}

---------------------------------------------------

with


---------------------------------------------------
/home/buchmann/cvs/eo3s/htc/bin/g++ \
        -O3\
	-c -o util/lang/parse-experiments-bug.o\
	//home/buchmann/cvs/eo3s/src/generic/util/lang/bug.cc

---------------------------------------------------

produces the output:

//home/buchmann/cvs/eo3s/src/generic/util/lang/bug.cc: In member function
`Block& Block::select_(Tag)':
//home/buchmann/cvs/eo3s/src/generic/util/lang/bug.cc:11: error: `tag' has
incomplete type
//home/buchmann/cvs/eo3s/src/generic/util/lang/bug.cc:1: error: forward
declaration of `struct Tag'
In file included from //home/buchmann/cvs/eo3s/src/generic/util/lang/bug.cc:32:
//home/buchmann/cvs/eo3s/src/generic/util/lang/bug.cc: In constructor
`Parser::Parser()':
//home/buchmann/cvs/eo3s/src/generic/util/lang/bug.cc:11: internal compiler
error: tree check: expected class 't', have 'x' (error_mark) in
initialize_inlined_parameters, at tree-inline.c:829
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Compiler version g++ -v

Reading specs from
/home/buchmann/cvs/host/gcc-3.4/bin/../lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Configured with: /home/buchmann/cvs/dist/gcc-3.4-20040114/configure -v
--prefix=/home/buchmann/cvs/host/gcc-3.4/ --enable-languages=c,c++ --with-newlib
Thread model: posix
gcc version 3.4.0 20040114 (experimental)

Best regards 

Hans Buchmann

-- 
           Summary: tree check: expected class 't', have 'x' (error_mark) in
                    initialize_inlined_parameters, at tree-inline.c:829
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hans dot buchmann at fhso dot ch
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2004-02-22 16:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-05 21:48 [Bug c++/14033] New: tree check: expected class 't', have 'x' (error_mark) in initialize_inlined_parameters, at tree-inline.c:829 hans dot buchmann at fhso dot ch
2004-02-05 21:57 ` [Bug c++/14033] [3.3/3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
2004-02-06 17:44 ` giovannibajo at libero dot it
2004-02-06 18:21 ` giovannibajo at libero dot it
2004-02-06 19:29 ` giovannibajo at libero dot it
2004-02-07  2:08 ` cvs-commit at gcc dot gnu dot org
2004-02-07  2:11 ` cvs-commit at gcc dot gnu dot org
2004-02-07  9:43 ` cvs-commit at gcc dot gnu dot org
2004-02-07  9:44 ` cvs-commit at gcc dot gnu dot org
2004-02-07  9:45 ` [Bug c++/14033] [3.3 " giovannibajo at libero dot it
2004-02-22 16:42 ` cvs-commit at gcc dot gnu dot org
2004-02-22 16:43 ` gdr 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).