This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15730] New: ICE (segfault) passing 128 bit int trough variable arguments
- From: "hebisch at math dot uni dot wroc dot pl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 May 2004 04:46:38 -0000
- Subject: [Bug target/15730] New: ICE (segfault) passing 128 bit int trough variable arguments
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following program:
typedef __builtin_va_list __gnuc_va_list;
typedef __gnuc_va_list va_list;
typedef int __attribute__ ((mode(TI))) PascalLongestInt;
void f (int global_flags, ...)
{
va_list p;
__builtin_va_start(p,global_flags);
{
long long int num = __builtin_va_arg(p,PascalLongestInt);
}
__builtin_va_end(p);
}
couses a segfault in `cc1' for native x86_64 compiler. I have tried
3.3, 3.4.0 and 3.5.0 20040516 (experimental) with the same result.
--
Summary: ICE (segfault) passing 128 bit int trough variable
arguments
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hebisch at math dot uni dot wroc dot pl
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15730