This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/35739] New: [4.3/4.4 regression] ICE with _Decimal128 and va_list
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Mar 2008 19:03:05 -0000
- Subject: [Bug c/35739] New: [4.3/4.4 regression] ICE with _Decimal128 and va_list
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following valid code snippet triggers an ICE since GCC 4.3.0
when compiled with "-fmudflap -O":
=========================================
_Decimal128 foo(int n, ...)
{
int i;
_Decimal128 j;
__builtin_va_list va;
__builtin_va_start(va,n);
for (i = 0; i < n; i++)
j += __builtin_va_arg(va,_Decimal128);
__builtin_va_end(va);
return j;
}
=========================================
bug.c: In function 'foo':
bug.c:2: error: invalid operand to binary operator
<retval>
bug.c:2: internal compiler error: verify_stmts failed
Please submit a full bug report, [etc.]
--
Summary: [4.3/4.4 regression] ICE with _Decimal128 and va_list
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, monitored
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35739