public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jamborm at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/42336] [4.5 Regression] ICE with pointer-to-member-function argument in template function with -fipa-sra
Date: Tue, 09 Feb 2010 09:46:00 -0000	[thread overview]
Message-ID: <20100209094643.8921.qmail@sourceware.org> (raw)
In-Reply-To: <bug-42336-17896@http.gcc.gnu.org/bugzilla/>



------- Comment #27 from jamborm at gcc dot gnu dot org  2010-02-09 09:46 -------
(In reply to comment #22)
> (In reply to comment #18)
> > Well, just pretending that a particular parameter never existed isn't 
> > acceptable from a debugging standpoint; I think we need to have a 
> > separate modified decl which points back to the original unmodified decl 
> > with DECL_ABSTRACT_ORIGIN.
> > 
> > Beyond that, it might be possible to avoid much copying by just moving 
> > the function body over from the original decl to the modified one.
> 
> That hints at a possible fix?  Instead of versioning the function just
> version the DECL (thus basically perform the DECL creation part of
> versioning only).  It requires fixing up call stmts of course, but that
> shouldn't be too hard.
> 
> Martin - can you try this?
> 

I'll see what I can do.


-- 

jamborm at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jamborm at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2009-12-15 21:54:02         |2010-02-09 09:46:42
               date|                            |


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


  parent reply	other threads:[~2010-02-09  9:46 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-08 22:48 [Bug c++/42336] New: [c++0x] ICE with pointer-to-member-function decltype argument in template function aaz at althenia dot net
2009-12-09  9:53 ` [Bug c++/42336] " paolo dot carlini at oracle dot com
2009-12-10  0:08 ` aaz at althenia dot net
2009-12-15  1:47 ` jason at gcc dot gnu dot org
2009-12-15  9:22 ` paolo dot carlini at oracle dot com
2009-12-15 11:29 ` paolo dot carlini at oracle dot com
2009-12-15 11:48 ` dodji at seketeli dot org
2009-12-15 20:04 ` jason at gcc dot gnu dot org
2009-12-15 21:54 ` jason at gcc dot gnu dot org
2009-12-15 22:25 ` [Bug c++/42336] ICE with pointer-to-member-function " jason at gcc dot gnu dot org
2009-12-21 23:06 ` [Bug c++/42336] [4.5 Regression] " reichelt at gcc dot gnu dot org
2010-01-02 16:01 ` rguenth at gcc dot gnu dot org
2010-01-07 18:16 ` jamborm at gcc dot gnu dot org
2010-01-07 21:18 ` jason at gcc dot gnu dot org
2010-01-08 12:54 ` rguenth at gcc dot gnu dot org
2010-01-08 13:23 ` jamborm at gcc dot gnu dot org
2010-01-10 22:51 ` hubicka at gcc dot gnu dot org
2010-01-10 22:56 ` rguenth at gcc dot gnu dot org
2010-01-10 23:42 ` hubicka at gcc dot gnu dot org
2010-01-12 19:46 ` jason at redhat dot com
2010-01-19 10:27 ` rguenth at gcc dot gnu dot org
2010-01-19 10:28 ` [Bug c++/42336] [4.5 Regression] ICE with pointer-to-member-function argument in template function with -fipa-sra rguenth at gcc dot gnu dot org
2010-01-19 20:10 ` jason at gcc dot gnu dot org
2010-01-20 18:59 ` rguenth at gcc dot gnu dot org
2010-01-29 14:31 ` dodji at gcc dot gnu dot org
2010-01-29 15:49 ` dodji at seketeli dot org
2010-02-03  0:02 ` jason at gcc dot gnu dot org
2010-02-07  4:49 ` hjl at gcc dot gnu dot org
2010-02-09  9:46 ` jamborm at gcc dot gnu dot org [this message]
2010-02-22 13:18 ` rguenth 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=20100209094643.8921.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).