This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/22017] [3.4/4.0/4.1/4.2 Regression] Error to pass struct parameter when compile with -mrtd



------- Comment #11 from rguenth at gcc dot gnu dot org  2006-02-16 13:25 -------
The problem is we cannot simply use (implicit_)built_in_decl[BUILT_IN_MEMCPY]
here
either because that one is still the internal one, and if annotating our memcpy
decl with __attribute__((__cdecl__)) we warn:

/tmp/t.c:2: warning: conflicting types for built-in function ?memcpy?

and keep our one in (implicit_)built_in_decl[BUILT_IN_MEMCPY], still creating
the user overridden one.  But I have no idea how to get our hands on it here.

Still it looks like init_block_move_fn is completely wonky.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]