This is the mail archive of the gcc-patches@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]

Re: [tree-ssa] SSA->normal shuffle


In message <1069425614.11003.893.camel@p4>, Andrew MacLeod writes:
 >On Fri, 2003-11-21 at 09:35, Andrew MacLeod wrote:
 >
 >> Anwyay, here's the patch. It bootstrapped on x86 and caused no
 >> differences in testruns. Im checking it in momentarily.
 >
 >btw, in case no one has noticed, a make check-gcc on a stage 1 compiler
 >has one less failure than a make check on a boostrapped stage3 compiler.
 >The bootstrapped compiler fails:
 >
 >< FAIL: gcc.dg/20020425-1.c (test for excess errors)
 >---
 >> PASS: gcc.dg/20020425-1.c (test for excess errors)
 >
 >with a segmentation fault I beleive. 
 >
 >I dont know how long this has been going on, but I think its been a very
 >long time. I seem to vaguely recall tripping over it in passing a few
 >months ago, but promptly forgot about it.
Well, this one is dependent on things like how much memory/swap space you
have.  So I doubt it's directly related to your change:

/* PR c/2161: parser stack overflow.  */
/* { dg-do compile } */
 
#define ONE     else if (0) { }
#define TEN     ONE ONE ONE ONE ONE ONE ONE ONE ONE ONE
#define HUN     TEN TEN TEN TEN TEN TEN TEN TEN TEN TEN
#define THOU    HUN HUN HUN HUN HUN HUN HUN HUN HUN HUN
 
void foo()
{
  if (0) { }
  /* 11,000 else if's.  */
  THOU THOU THOU THOU THOU THOU THOU THOU THOU THOU THOU
}

jeff


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