public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug middle-end/48591] New: OpenMP ICE with atomics on __float128 in 32-bit only i686 cc1 @ 2011-04-13 12:44 jakub at gcc dot gnu.org 2011-04-13 13:12 ` [Bug middle-end/48591] " jakub at gcc dot gnu.org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: jakub at gcc dot gnu.org @ 2011-04-13 12:44 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48591 Summary: OpenMP ICE with atomics on __float128 in 32-bit only i686 cc1 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, openmp Severity: normal Priority: P3 Component: middle-end AssignedTo: jakub@gcc.gnu.org ReportedBy: jakub@gcc.gnu.org extern void abort (void); int main () { __float128 f = 0.0; int i; #pragma omp parallel for reduction(+:f) for (i = 0; i < 128; i++) f++; if (f != 128.0Q) abort (); return 0; } ICEs with -fopenmp in 32-bit i686-linux cc1 (while works fine with x86_64-linux cc1 with -fopenmp -m32). ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/48591] OpenMP ICE with atomics on __float128 in 32-bit only i686 cc1 2011-04-13 12:44 [Bug middle-end/48591] New: OpenMP ICE with atomics on __float128 in 32-bit only i686 cc1 jakub at gcc dot gnu.org @ 2011-04-13 13:12 ` jakub at gcc dot gnu.org 2011-04-13 15:50 ` jakub at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: jakub at gcc dot gnu.org @ 2011-04-13 13:12 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48591 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-13 13:12:19 UTC --- Created attachment 23973 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23973 gcc46-pr48591.patch Untested fix. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/48591] OpenMP ICE with atomics on __float128 in 32-bit only i686 cc1 2011-04-13 12:44 [Bug middle-end/48591] New: OpenMP ICE with atomics on __float128 in 32-bit only i686 cc1 jakub at gcc dot gnu.org 2011-04-13 13:12 ` [Bug middle-end/48591] " jakub at gcc dot gnu.org @ 2011-04-13 15:50 ` jakub at gcc dot gnu.org 2011-04-13 15:52 ` jakub at gcc dot gnu.org 2011-04-13 15:59 ` jakub at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: jakub at gcc dot gnu.org @ 2011-04-13 15:50 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48591 --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-13 15:50:12 UTC --- Author: jakub Date: Wed Apr 13 15:50:02 2011 New Revision: 172379 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172379 Log: PR middle-end/48591 * omp-low.c (expand_omp_atomic_fetch_op): Return false if decl is NULL. (expand_omp_atomic_pipeline): Return false if cmpxchg is NULL. * gcc.dg/gomp/pr48591.c: New test. * testsuite/libgomp.c/pr48591.c: New test. Added: trunk/gcc/testsuite/gcc.dg/gomp/pr48591.c trunk/libgomp/testsuite/libgomp.c/pr48591.c Modified: trunk/gcc/ChangeLog trunk/gcc/omp-low.c trunk/gcc/testsuite/ChangeLog trunk/libgomp/ChangeLog ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/48591] OpenMP ICE with atomics on __float128 in 32-bit only i686 cc1 2011-04-13 12:44 [Bug middle-end/48591] New: OpenMP ICE with atomics on __float128 in 32-bit only i686 cc1 jakub at gcc dot gnu.org 2011-04-13 13:12 ` [Bug middle-end/48591] " jakub at gcc dot gnu.org 2011-04-13 15:50 ` jakub at gcc dot gnu.org @ 2011-04-13 15:52 ` jakub at gcc dot gnu.org 2011-04-13 15:59 ` jakub at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: jakub at gcc dot gnu.org @ 2011-04-13 15:52 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48591 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-13 15:52:22 UTC --- Author: jakub Date: Wed Apr 13 15:52:17 2011 New Revision: 172381 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172381 Log: PR middle-end/48591 * omp-low.c (expand_omp_atomic_fetch_op): Return false if decl is NULL. (expand_omp_atomic_pipeline): Return false if cmpxchg is NULL. * gcc.dg/gomp/pr48591.c: New test. * testsuite/libgomp.c/pr48591.c: New test. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/gomp/pr48591.c branches/gcc-4_6-branch/libgomp/testsuite/libgomp.c/pr48591.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/omp-low.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/libgomp/ChangeLog ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/48591] OpenMP ICE with atomics on __float128 in 32-bit only i686 cc1 2011-04-13 12:44 [Bug middle-end/48591] New: OpenMP ICE with atomics on __float128 in 32-bit only i686 cc1 jakub at gcc dot gnu.org ` (2 preceding siblings ...) 2011-04-13 15:52 ` jakub at gcc dot gnu.org @ 2011-04-13 15:59 ` jakub at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: jakub at gcc dot gnu.org @ 2011-04-13 15:59 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48591 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-13 15:59:18 UTC --- Fixed for 4.6+. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-04-13 15:59 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-04-13 12:44 [Bug middle-end/48591] New: OpenMP ICE with atomics on __float128 in 32-bit only i686 cc1 jakub at gcc dot gnu.org 2011-04-13 13:12 ` [Bug middle-end/48591] " jakub at gcc dot gnu.org 2011-04-13 15:50 ` jakub at gcc dot gnu.org 2011-04-13 15:52 ` jakub at gcc dot gnu.org 2011-04-13 15:59 ` jakub at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).