OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [opt/] [longbranch1.C] - Diff between revs 154 and 816

Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
// PR c++/5964
// PR c++/5964
// This testcase failed to link on sparc -m64 -O0, because instruction
// This testcase failed to link on sparc -m64 -O0, because instruction
// lengths were incorrectly computed
// lengths were incorrectly computed
// { dg-do link }
// { dg-do link }
// { dg-options "-O0" }
// { dg-options "-O0" }
#define makecode for (int i = 1; i < 1000; ++i) i *= 3
#define makecode for (int i = 1; i < 1000; ++i) i *= 3
#define muchcode \
#define muchcode \
        makecode; makecode; makecode; makecode; makecode; makecode; \
        makecode; makecode; makecode; makecode; makecode; makecode; \
        makecode; makecode; makecode; makecode; makecode; makecode; \
        makecode; makecode; makecode; makecode; makecode; makecode; \
        makecode; makecode; makecode; makecode; makecode; makecode; \
        makecode; makecode; makecode; makecode; makecode; makecode; \
        makecode; makecode; makecode; makecode; makecode; makecode
        makecode; makecode; makecode; makecode; makecode; makecode
#define verymuchcode \
#define verymuchcode \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode; \
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode
        muchcode; muchcode; muchcode; muchcode; muchcode; muchcode
int
int
main (int argc, char **argv)
main (int argc, char **argv)
{
{
loop:
loop:
  verymuchcode;
  verymuchcode;
  delete[] argv;
  delete[] argv;
  goto loop;
  goto loop;
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.