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

[Bug middle-end/36106] #pragma omp atomic issues with floating point types



------- Comment #5 from jakub at gcc dot gnu dot org  2008-05-07 07:28 -------
Subject: Bug 36106

Author: jakub
Date: Wed May  7 07:28:14 2008
New Revision: 135027

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135027
Log:
        PR middle-end/36106
        * omp-low.c (expand_omp_atomic_pipeline): Load value using the
        integral type rather than floating point, then VIEW_CONVERT_EXPR
        to the floating point type.

        * testsuite/libgomp.c/atomic-5.c: New test.
        * testsuite/libgomp.c/atomic-6.c: New test.
        * testsuite/libgomp.c/autopar-1.c: New test.

Added:
    trunk/libgomp/testsuite/libgomp.c/atomic-5.c
    trunk/libgomp/testsuite/libgomp.c/atomic-6.c
    trunk/libgomp/testsuite/libgomp.c/autopar-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/omp-low.c
    trunk/libgomp/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36106


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