public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gdr at integrable-solutions dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/22256] diagnostic shows wrong type for cast operator
Date: Thu, 30 Jun 2005 20:56:00 -0000	[thread overview]
Message-ID: <20050630205608.13624.qmail@sourceware.org> (raw)
In-Reply-To: <20050630163052.22256.igodard@pacbell.net>


------- Additional Comments From gdr at integrable-solutions dot net  2005-06-30 20:56 -------
Subject: Re:  diagnostic shows wrong type

"bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| Confirmed. Also happens with 3.3.x. 

I think this happens because when the C++ front-end finds that a
declaration is erroneous, it sets its TREE_TYPE to  "int", presumably
thinking that a default type should be "int".

-- Gaby


-- 


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


  parent reply	other threads:[~2005-06-30 20:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-30 16:30 [Bug c++/22256] New: diagnostic shows wrong type igodard at pacbell dot net
2005-06-30 17:14 ` [Bug c++/22256] " bangerth at dealii dot org
2005-06-30 17:15 ` bangerth at dealii dot org
2005-06-30 17:45 ` [Bug c++/22256] diagnostic shows wrong type for cast operator pinskia at gcc dot gnu dot org
2005-06-30 20:56 ` gdr at integrable-solutions dot net [this message]
2005-06-30 21:48 ` igodard at pacbell dot net
2005-06-30 22:11   ` Gabriel Dos Reis
2005-06-30 22:11 ` gdr at integrable-solutions dot net
     [not found] <bug-22256-6594@http.gcc.gnu.org/bugzilla/>
2007-08-06 11:52 ` pcarlini at suse dot de

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050630205608.13624.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).