http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49231
Summary: #pragma omp parallel for never returns Product: gcc Version: 4.4.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp AssignedTo: unassig...@gcc.gnu.org ReportedBy: parviz_farib...@mentor.com Created attachment 24396 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24396 The attached file re-produces the probem that I have reported above Hi, The attached program when compiled using gcc 4.4.3 produces the following output and never returns : ... ===> Fpga: 865, Thread: 6 ===> Fpga: 866, Thread: 6 ===> Fpga: 867, Thread: 6 ===> Fpga: 868, Thread: 6 ===> Fpga: 869, Thread: 6 ===> Fpga: 870, Thread: 6 ===> Fpga: 871, Thread: 6 ===> Fpga: 872, Thread: 6 ===> Fpga: 873, Thread: 6 ===> Fpga: 874, Thread: 6 I have to kill the process to make it exit. The same program when compiled using gcc 4.3.3 and run on the same machine works fine and produces the correct output. I compile and run the program on a redhat 4 linux machine with the following specs: mawhp2:/home/parvizf/tmp=> uname -a Linux mawhp2 2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:33:05 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux mawhp2:/home/parvizf/tmp=> cat /etc/redhat-release Red Hat Enterprise Linux WS release 4 (Nahant Update 8) Thanks in advance for your help. -Parviz