This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/47714] [4.6 Regression] verify_ssa fails with error: invalid argument to gimple call
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 9 Mar 2011 08:43:45 +0000
- Subject: [Bug tree-optimization/47714] [4.6 Regression] verify_ssa fails with error: invalid argument to gimple call
- Auto-submitted: auto-generated
- References: <bug-47714-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47714
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-09 08:43:32 UTC ---
BTW, if you adjust the testcase (at least not to use explicit DImode type), I'd
say this patch is obvious, thunks never take addresses of its parameters and
whether the original method takes those addresses is irrelevant to thunks.
You could certainly handle TREE_ADDRESSABLE in assemble_thunk by copying siuch
arguments into a temporary, but that would be good just to shut up
verification.