--- Comment #5 from ubizjak at gmail dot com 2008-05-09 09:12 ---
Probably duplicate of or at least related to PR35215 ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36129
--- Comment #6 from ubizjak at gmail dot com 2008-05-09 11:13 ---
Something interesting:
In atomic_kind_types.F.085t.copyprop3, we have:
bb 76:
D.2711_888 = *atomic_kind_38(D);
D.2731_889 = D.2711_888-element_symbol[1]{lb: 1 sz: 1};
__builtin_memcpy (element_symbol[1]{lb: 1 sz:
--- Comment #7 from ubizjak at gmail dot com 2008-05-09 11:18 ---
-fdump-tree-fab-details:
;; Function read_atomic_kind (__atomic_kind_types_MOD_read_atomic_kind)
Simplified
__builtin_memset (element_symbol[2]{lb: 1 sz: 1}, 32, 1);
to
(void) 0;
--
--- Comment #8 from ubizjak at gmail dot com 2008-05-09 11:48 ---
Patch in testing:
Index: tree-ssa-ccp.c
===
--- tree-ssa-ccp.c (revision 135108)
+++ tree-ssa-ccp.c (working copy)
@@ -2916,6 +2916,9 @@
--- Comment #9 from ubizjak at gmail dot com 2008-05-09 11:50 ---
*** Bug 35215 has been marked as a duplicate of this bug. ***
--
ubizjak at gmail dot com changed:
What|Removed |Added
--
jv244 at cam dot ac dot uk changed:
What|Removed |Added
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36129
--- Comment #4 from jv244 at cam dot ac dot uk 2008-05-06 12:08 ---
older gcc versions (tested 4.2.3 and 4.3.0) seem to work fine
--
jv244 at cam dot ac dot uk changed:
What|Removed |Added