public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug middle-end/49147] New: graphite branch ICEs with -fgraphite-opencl-ignore-dep @ 2011-05-24 18:58 spop at gcc dot gnu.org 2011-05-26 7:28 ` [Bug middle-end/49147] " mr.kayrick at gmail dot com ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: spop at gcc dot gnu.org @ 2011-05-24 18:58 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49147 Summary: graphite branch ICEs with -fgraphite-opencl-ignore-dep Product: gcc Version: lno Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned@gcc.gnu.org ReportedBy: spop@gcc.gnu.org Created attachment 24348 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24348 This is the same as gcc.dg/graphite/block-0.c Compiling some testcases from the graphite testsuite, I got an ICE with: cc1 -fgraphite-opencl -fgraphite-opencl-ignore-dep -g -Ofast block-0.c block-0.c: In function ‘foo’: block-0.c:10:1: internal compiler error: Segmentation fault The compiler does not ICE when removing -fgraphite-opencl-ignore-dep ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/49147] graphite branch ICEs with -fgraphite-opencl-ignore-dep 2011-05-24 18:58 [Bug middle-end/49147] New: graphite branch ICEs with -fgraphite-opencl-ignore-dep spop at gcc dot gnu.org @ 2011-05-26 7:28 ` mr.kayrick at gmail dot com 2011-05-26 15:13 ` spop at gcc dot gnu.org 2011-05-26 15:23 ` spop at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: mr.kayrick at gmail dot com @ 2011-05-26 7:28 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49147 Alexey Kravets <mr.kayrick at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mr.kayrick at gmail dot com --- Comment #1 from Alexey Kravets <mr.kayrick at gmail dot com> 2011-05-26 06:46:00 UTC --- Confirmed. This problem is caused by bug in opencl_get_perfect_nested_loop_depth. This functions ignores -fgraphite-opencl-ignore-dep flag while opencl_transform_stmt_list considers this flag. I have a patch for this issue. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/49147] graphite branch ICEs with -fgraphite-opencl-ignore-dep 2011-05-24 18:58 [Bug middle-end/49147] New: graphite branch ICEs with -fgraphite-opencl-ignore-dep spop at gcc dot gnu.org 2011-05-26 7:28 ` [Bug middle-end/49147] " mr.kayrick at gmail dot com @ 2011-05-26 15:13 ` spop at gcc dot gnu.org 2011-05-26 15:23 ` spop at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: spop at gcc dot gnu.org @ 2011-05-26 15:13 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49147 --- Comment #2 from Sebastian Pop <spop at gcc dot gnu.org> 2011-05-26 15:11:52 UTC --- Author: spop Date: Thu May 26 15:11:48 2011 New Revision: 174293 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174293 Log: Fix PR49147: ICE with -fgraphite-opencl-ignore-dep 2011-05-26 Alexey Kravets <kayrick@ispras.ru> PR middle-end/49147 * graphite-opencl-codegen.c (opencl_get_perfect_nested_loop_depth): Use enabled_dependency_in_clast_loop_p instead of dependency_in_clast_loop_p. * graphite-opencl.c (opencl_transform_stmt_list): Ditto. (enabled_dependency_in_clast_loop_p): New. * graphite-opencl.h (enabled_dependency_in_clast_loop_p): Export. * gcc.dg/graphite/pr49147.c: New test. Added: branches/graphite/gcc/testsuite/gcc.dg/graphite/pr49147.c Modified: branches/graphite/gcc/ChangeLog.graphite branches/graphite/gcc/graphite-opencl-codegen.c branches/graphite/gcc/graphite-opencl.c branches/graphite/gcc/graphite-opencl.h ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/49147] graphite branch ICEs with -fgraphite-opencl-ignore-dep 2011-05-24 18:58 [Bug middle-end/49147] New: graphite branch ICEs with -fgraphite-opencl-ignore-dep spop at gcc dot gnu.org 2011-05-26 7:28 ` [Bug middle-end/49147] " mr.kayrick at gmail dot com 2011-05-26 15:13 ` spop at gcc dot gnu.org @ 2011-05-26 15:23 ` spop at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: spop at gcc dot gnu.org @ 2011-05-26 15:23 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49147 Sebastian Pop <spop at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #3 from Sebastian Pop <spop at gcc dot gnu.org> 2011-05-26 15:21:41 UTC --- Fixed. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-05-26 15:22 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-05-24 18:58 [Bug middle-end/49147] New: graphite branch ICEs with -fgraphite-opencl-ignore-dep spop at gcc dot gnu.org 2011-05-26 7:28 ` [Bug middle-end/49147] " mr.kayrick at gmail dot com 2011-05-26 15:13 ` spop at gcc dot gnu.org 2011-05-26 15:23 ` spop 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).