From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28308 invoked by alias); 28 Jul 2010 12:04:41 -0000 Received: (qmail 25955 invoked by alias); 28 Jul 2010 12:04:26 -0000 Date: Wed, 28 Jul 2010 12:04:00 -0000 Message-ID: <20100728120426.25954.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/45106] casting of variadic function pointers to normal function pointers causes segfaults on 64bit systems In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rhaschke at techfak dot uni-bielefeld dot de" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg03080.txt.bz2 ------- Comment #4 from rhaschke at techfak dot uni-bielefeld dot de 2010-07-28 12:04 ------- Subject: Re: casting of variadic function pointers to normal function pointers causes segfaults on 64bit systems I was afraid of this answer. However in my application, I have no clue which type of function pointer is transferred. Thus, I should always cast to the variadic function pointer in order to define the %al register? Cheers, Robert -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45106