This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/48152] Bootstrap failure for x86_64-w64-mingw32 due ICE
- 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, 16 Mar 2011 18:50:07 +0000
- Subject: [Bug middle-end/48152] Bootstrap failure for x86_64-w64-mingw32 due ICE
- Auto-submitted: auto-generated
- References: <bug-48152-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48152
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-16 18:49:54 UTC ---
Reproduced with:
struct A
{
A ();
~A ();
char buf[16];
virtual void bar (int, A, int);
};
void
foo (A *p)
{
A a;
p->bar (6, a, 7);
}
using x86_64-linux -> x86_64-mingw32 cross and -O2 -g.
Apparently TYPE_ARG_TYPES contains the original source types rather than how it
is actually passed by invisible reference, will need to figure out where
expand_call adjusts this and do something similar in prepare_call_arguments.