GCC freezing for a Multiply Chain

Balaji.Iyer@gtri.gatech.edu Balaji.Iyer@gtri.gatech.edu
Mon Feb 15 17:04:00 GMT 2010


Hello Everyone,
	I am creating a benchmark, where I have a following code:

    x1 = a * b
    x2 = x1 * a;
    x3 = x1* x2;
    x4 = x2 * x3;
    x5 = x3 * x4;
    x6 = x5 * x6;
  . . . 
  . . .
   x1000 = x999 * x998;



 When I do this, and compile using -O3/-O2/-O1, the compiler freezes. Am I doing anything wrong? 

GCC Version: 4.2.1
Platform: x86_64 (in macOS Snow Leopard).

I also tested this on a i386 (Red Hat 4.3.2-7) machine with gcc 4.3.2 and I had the same response.

Please CC me in the response since I m not a subscribed member of this mailing list. 

Any help is highly appreciated!

Thanks,


Balaji V. Iyer.



More information about the Gcc mailing list