This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/14015] New: large stack frame long double ice


/* powerpc64-linux-gcc -S -mlong-double-128

unrecognizable insn:
(insn 125 124 43 0x40065640 (set (mem/s/j:DI (plus:DI (plus:DI (reg/f:DI 31 r31)
                    (reg:DI 0 r0 [136]))
                (const_int 8 [0x8])) [0 x.ld+8 S8 A64])
        (reg:DI 10 r10 [orig:9+8 ] [9])) -1 (nil)
    (nil))
 */

struct big_one {
  double d[4100];
  long double ld;
};

long double var_arg (int n, ...)
{
  struct big_one x;
  __builtin_va_list ap;
  __builtin_va_start (ap, n);
  while (--n >= 0)
    x.ld = __builtin_va_arg (ap, long double);
  __builtin_va_end (ap);
  return x.ld;
}

-- 
           Summary: large stack frame long double ice
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amodra at bigpond dot net dot au
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc64-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14015


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]