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

GCC freezing for a Multiply Chain


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.


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