public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug tree-optimization/43023] missing SSA_NAME def for -ftree-loop-distribution in 459.GemsFDTD [not found] <bug-43023-4@http.gcc.gnu.org/bugzilla/> @ 2010-12-08 20:44 ` spop at gcc dot gnu.org 2010-12-09 23:54 ` spop at gcc dot gnu.org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: spop at gcc dot gnu.org @ 2010-12-08 20:44 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43023 Sebastian Pop <spop at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |spop at gcc dot gnu.org |gnu.org | --- Comment #2 from Sebastian Pop <spop at gcc dot gnu.org> 2010-12-08 20:43:49 UTC --- Mine. I can reproduce this on trunk r167554 with ./cc1 -O2 -ftree-loop-distribution -m32 bug.f90 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/43023] missing SSA_NAME def for -ftree-loop-distribution in 459.GemsFDTD [not found] <bug-43023-4@http.gcc.gnu.org/bugzilla/> 2010-12-08 20:44 ` [Bug tree-optimization/43023] missing SSA_NAME def for -ftree-loop-distribution in 459.GemsFDTD spop at gcc dot gnu.org @ 2010-12-09 23:54 ` spop at gcc dot gnu.org 2010-12-10 19:17 ` spop at gcc dot gnu.org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: spop at gcc dot gnu.org @ 2010-12-09 23:54 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43023 --- Comment #3 from Sebastian Pop <spop at gcc dot gnu.org> 2010-12-09 23:54:20 UTC --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00831.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/43023] missing SSA_NAME def for -ftree-loop-distribution in 459.GemsFDTD [not found] <bug-43023-4@http.gcc.gnu.org/bugzilla/> 2010-12-08 20:44 ` [Bug tree-optimization/43023] missing SSA_NAME def for -ftree-loop-distribution in 459.GemsFDTD spop at gcc dot gnu.org 2010-12-09 23:54 ` spop at gcc dot gnu.org @ 2010-12-10 19:17 ` spop at gcc dot gnu.org 2010-12-10 19:49 ` spop at gcc dot gnu.org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: spop at gcc dot gnu.org @ 2010-12-10 19:17 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43023 --- Comment #4 from Sebastian Pop <spop at gcc dot gnu.org> 2010-12-10 19:16:54 UTC --- Author: spop Date: Fri Dec 10 19:16:48 2010 New Revision: 167697 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167697 Log: Fix PR43023: fuse_partitions_with_similar_memory_accesses. 2010-12-10 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/43023 * tree-data-ref.c (mem_write_stride_of_same_size_as_unit_type_p): Removed. (stores_zero_from_loop): Call stmt_stores_zero. * tree-data-ref.h (stmt_stores_zero): New. * tree-loop-distribution.c (generate_memset_zero): Do not return a boolean. Call gcc_assert on stride_of_unit_type_p. (generate_builtin): Call stmt_stores_zero. (rdg_flag_all_uses): Removed. (rdg_flag_similar_memory_accesses): Removed. (build_rdg_partition_for_component): Removed parameter other_stores. Removed call to rdg_flag_similar_memory_accesses. (can_generate_builtin): New. (similar_memory_accesses): New. (fuse_partitions_with_similar_memory_accesses): New. (rdg_build_partitions): Call fuse_partitions_with_similar_memory_accesses. * gfortran.dg/ldist-1.f90: Adjust pattern. * gfortran.dg/ldist-pr43023.f90: New. Added: trunk/gcc/testsuite/gfortran.dg/ldist-pr43023.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/ldist-1.f90 trunk/gcc/tree-data-ref.c trunk/gcc/tree-data-ref.h trunk/gcc/tree-loop-distribution.c ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/43023] missing SSA_NAME def for -ftree-loop-distribution in 459.GemsFDTD [not found] <bug-43023-4@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2010-12-10 19:17 ` spop at gcc dot gnu.org @ 2010-12-10 19:49 ` spop at gcc dot gnu.org 2010-12-23 18:52 ` spop at gcc dot gnu.org 2010-12-23 18:53 ` spop at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: spop at gcc dot gnu.org @ 2010-12-10 19:49 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43023 --- Comment #5 from Sebastian Pop <spop at gcc dot gnu.org> 2010-12-10 19:49:00 UTC --- Backport patch for 4.5 http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00909.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/43023] missing SSA_NAME def for -ftree-loop-distribution in 459.GemsFDTD [not found] <bug-43023-4@http.gcc.gnu.org/bugzilla/> ` (3 preceding siblings ...) 2010-12-10 19:49 ` spop at gcc dot gnu.org @ 2010-12-23 18:52 ` spop at gcc dot gnu.org 2010-12-23 18:53 ` spop at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: spop at gcc dot gnu.org @ 2010-12-23 18:52 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43023 --- Comment #6 from Sebastian Pop <spop at gcc dot gnu.org> 2010-12-23 18:51:55 UTC --- Author: spop Date: Thu Dec 23 18:51:51 2010 New Revision: 168212 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168212 Log: Fix PR43023: fuse_partitions_with_similar_memory_accesses. 2010-12-23 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/43023 * tree-data-ref.c (mem_write_stride_of_same_size_as_unit_type_p): Removed. (stores_zero_from_loop): Call stmt_stores_zero. (stmt_with_adjacent_zero_store_dr_p): New. * tree-data-ref.h (stmt_with_adjacent_zero_store_dr_p): Declared. (stride_of_unit_type_p): New. * tree-loop-distribution.c (generate_memset_zero): Do not return a boolean. Call gcc_assert on stride_of_unit_type_p. (generate_builtin): Call stmt_stores_zero. (rdg_flag_all_uses): Removed. (rdg_flag_similar_memory_accesses): Removed. (build_rdg_partition_for_component): Removed parameter other_stores. Removed call to rdg_flag_similar_memory_accesses. (can_generate_builtin): New. (similar_memory_accesses): New. (fuse_partitions_with_similar_memory_accesses): New. (rdg_build_partitions): Call fuse_partitions_with_similar_memory_accesses. * gfortran.dg/ldist-1.f90: Adjust pattern. * gfortran.dg/ldist-pr43023.f90: New. Added: branches/gcc-4_5-branch/gcc/testsuite/gfortran.dg/ldist-pr43023.f90 Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/gfortran.dg/ldist-1.f90 branches/gcc-4_5-branch/gcc/tree-data-ref.c branches/gcc-4_5-branch/gcc/tree-data-ref.h branches/gcc-4_5-branch/gcc/tree-loop-distribution.c ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/43023] missing SSA_NAME def for -ftree-loop-distribution in 459.GemsFDTD [not found] <bug-43023-4@http.gcc.gnu.org/bugzilla/> ` (4 preceding siblings ...) 2010-12-23 18:52 ` spop at gcc dot gnu.org @ 2010-12-23 18:53 ` spop at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: spop at gcc dot gnu.org @ 2010-12-23 18:53 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43023 Sebastian Pop <spop at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #7 from Sebastian Pop <spop at gcc dot gnu.org> 2010-12-23 18:53:01 UTC --- Fixed. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/43023] New: missing SSA_NAME def for -ftree-loop-distribution in 459.GemsFDTD @ 2010-02-10 17:54 janis at gcc dot gnu dot org 2010-02-10 18:25 ` [Bug tree-optimization/43023] " rguenth at gcc dot gnu dot org 0 siblings, 1 reply; 7+ messages in thread From: janis at gcc dot gnu dot org @ 2010-02-10 17:54 UTC (permalink / raw) To: gcc-bugs [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1981 bytes --] GCC trunk gets an internal compiler error when building SPEC CPU2006 test 459.GemsFDTD on powerpc64-linux with "-O2 -ftree-loop-distribution" for either -m32 or -m64, as demonstrated by this minimized testcase: ----------------------------------------------------------------- MODULE NFT_mod implicit none integer :: Nangle real:: Z0 real, dimension(:,:), allocatable :: Angle real, dimension(:), allocatable :: exth, ezth, hxth, hyth, hyphi CONTAINS SUBROUTINE NFT_Init() real :: th, fi integer :: n do n = 1,Nangle th = Angle(n,1) fi = Angle(n,2) exth(n) = cos(fi)*cos(th) ezth(n) = -sin(th) hxth(n) = -sin(fi) hyth(n) = cos(fi) hyphi(n) = -sin(fi) end do END SUBROUTINE NFT_Init END MODULE NFT_mod ----------------------------------------------------------------- elm3b149% /home/janis/tools/gcc-trunk-anonsvn/bin/gfortran -c -O2 -ftree-loop-distribution bug.f90 bug.f90: In function nft_init: bug.f90:11:0: error: missing definition for SSA_NAME: D.772_61 in statement: # .MEM_98 = VDEF <.MEM_83> (*pretmp.25_71)[D.772_61] = D.775_97; bug.f90:11:0: internal compiler error: verify_ssa failed Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. The testcase and GemsFTDT compile correctly with GCC 4.4.2. The failure starts with this patch: http://gcc.gnu.org/viewcvs?view=rev&rev=151761 r151761 | matz | 2009-09-16 16:12:18 +0000 (Wed, 16 Sep 2009) -- Summary: missing SSA_NAME def for -ftree-loop-distribution in 459.GemsFDTD Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: janis at gcc dot gnu dot org GCC target triplet: powerpc64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43023 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/43023] missing SSA_NAME def for -ftree-loop-distribution in 459.GemsFDTD 2010-02-10 17:54 [Bug tree-optimization/43023] New: " janis at gcc dot gnu dot org @ 2010-02-10 18:25 ` rguenth at gcc dot gnu dot org 0 siblings, 0 replies; 7+ messages in thread From: rguenth at gcc dot gnu dot org @ 2010-02-10 18:25 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from rguenth at gcc dot gnu dot org 2010-02-10 18:24 ------- Confirmed on i?86. Latent bug in loop-distribution. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |spop at gcc dot gnu dot org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 GCC target triplet|powerpc64-linux |powerpc64-linux, i?86-linux Last reconfirmed|0000-00-00 00:00:00 |2010-02-10 18:24:55 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43023 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-12-23 18:53 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-43023-4@http.gcc.gnu.org/bugzilla/> 2010-12-08 20:44 ` [Bug tree-optimization/43023] missing SSA_NAME def for -ftree-loop-distribution in 459.GemsFDTD spop at gcc dot gnu.org 2010-12-09 23:54 ` spop at gcc dot gnu.org 2010-12-10 19:17 ` spop at gcc dot gnu.org 2010-12-10 19:49 ` spop at gcc dot gnu.org 2010-12-23 18:52 ` spop at gcc dot gnu.org 2010-12-23 18:53 ` spop at gcc dot gnu.org 2010-02-10 17:54 [Bug tree-optimization/43023] New: " janis at gcc dot gnu dot org 2010-02-10 18:25 ` [Bug tree-optimization/43023] " rguenth at gcc dot gnu dot 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).