public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/35739]  New: [4.3/4.4 regression] ICE with _Decimal128 and va_list
@ 2008-03-28 19:03 reichelt at gcc dot gnu dot org
  2008-03-28 19:04 ` [Bug c/35739] " reichelt at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-03-28 19:03 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-04-16 16:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-28 19:03 [Bug c/35739] New: [4.3/4.4 regression] ICE with _Decimal128 and va_list reichelt at gcc dot gnu dot org
2008-03-28 19:04 ` [Bug c/35739] " reichelt at gcc dot gnu dot org
2008-03-30 20:53 ` pinskia at gcc dot gnu dot org
2008-04-01  9:19 ` jakub at gcc dot gnu dot org
2008-04-01 11:12 ` reichelt at gcc dot gnu dot org
2008-04-02 16:21 ` jakub at gcc dot gnu dot org
2008-04-15  9:35 ` jakub at gcc dot gnu dot org
2008-04-15 18:59 ` jakub at gcc dot gnu dot org
2008-04-16 16:03 ` jakub at gcc dot gnu dot org
2008-04-16 16:11 ` jakub at gcc dot gnu dot org
2008-04-16 16:12 ` jakub at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).