[Bug c/45106] New: casting of variadic function pointers to normal function pointers causes segfaults on 64bit systems
robert dot haschke at uni-bielefeld dot de
gcc-bugzilla@gcc.gnu.org
Wed Jul 28 11:47:00 GMT 2010
Casting a variadic function pointer to normal function pointer (with adequate
number and type of arguments) causes a segfault, when the function is called.
Vice versa (casting normal function pointer to variadic function) works fine.
The problem only occurs for 64bit builds. Casting works nice in all directions
for 32bit builds.
--
Summary: casting of variadic function pointers to normal function
pointers causes segfaults on 64bit systems
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: robert dot haschke at uni-bielefeld dot de
GCC build triplet: x86_64-linux-gnu
GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45106
More information about the Gcc-bugs
mailing list