This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GCC freezing for a Multiply Chain
- From: <Balaji dot Iyer at gtri dot gatech dot edu>
- To: <gcc at gcc dot gnu dot org>
- Date: Mon, 15 Feb 2010 12:03:57 -0500
- Subject: 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.