This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/42336] [4.5 Regression] ICE with pointer-to-member-function argument in template function
- From: "jamborm at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jan 2010 13:23:31 -0000
- Subject: [Bug c++/42336] [4.5 Regression] ICE with pointer-to-member-function argument in template function
- References: <bug-42336-17896@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from jamborm at gcc dot gnu dot org 2010-01-08 13:23 -------
Unfortunately, creating clones within an intraprocedural pass (and IPA-SRA is
an intraprocedural pass from the pass manager point of view) and continuing
optimizing them as the original procedure would currently does not work.
Allowing that would require some substantial changes to the pass manager. I
originally wanted to clone and did try various hacks but all of them were
exceptionally ugly and eventually I gave up. It is of course doable but not
particularly easy, if that was the intent.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42336