public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jason at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/43031] [4.5 Regression] internal compiler error: verify_gimple failed after non-trivial conversion error when crosscompiling Firefox
Date: Mon, 15 Feb 2010 22:43:00 -0000	[thread overview]
Message-ID: <20100215224315.12704.qmail@sourceware.org> (raw)
In-Reply-To: <bug-43031-18001@http.gcc.gnu.org/bugzilla/>



------- Comment #4 from jason at gcc dot gnu dot org  2010-02-15 22:43 -------
Right, the stdcall attribute prevents us from using TYPE_CANONICAL, so it's not
clear to useless_type_conversion that the type of &T::A is the same as P::F. 
Specifically, they are distinct because P::F uses a typedef for L, whereas T::A
does not.

I guess we need to insert an explicit conversion, provide TYPE_CANONICAL even
in the presence of strong attributes, or both.


-- 


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


  parent reply	other threads:[~2010-02-15 22:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-11 13:03 [Bug c++/43031] New: [regression] " jacek at codeweavers dot com
2010-02-11 13:08 ` [Bug c++/43031] " jacek at codeweavers dot com
2010-02-11 13:51 ` [Bug c++/43031] [4.5 Regression] " rguenth at gcc dot gnu dot org
2010-02-11 14:47 ` rguenth at gcc dot gnu dot org
2010-02-15  4:04 ` jason at gcc dot gnu dot org
2010-02-15 22:43 ` jason at gcc dot gnu dot org [this message]
2010-02-16  6:05 ` jason at gcc dot gnu dot org
2010-02-16  6:05 ` jason at gcc dot gnu dot org
2010-02-16 13:35 ` jacek at codeweavers dot com
2010-02-17  4:51 ` hjl dot tools at gmail dot com
2010-02-23 17:07 ` hjl at gcc dot gnu dot org

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=20100215224315.12704.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).