public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/42135] New: FAIL: libgomp.graphite/force-parallel-2.c execution test
@ 2009-11-21 20:58 dominiq at lps dot ens dot fr
2009-11-24 6:51 ` Sebastian Pop
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: dominiq at lps dot ens dot fr @ 2009-11-21 20:58 UTC (permalink / raw)
To: gcc-bugs
Since revision 150792, the test libgomp.graphite/force-parallel-2.c (introduced
in revision 150755) fails on *-apple-darwin9. AFAICT the array x[10000][10000]
is allocated in stack and is too big for the 64Mb hard limit on darwin. One
solution could be to replace 10000 with 4000. Also the following patch works.
--- /opt/gcc/_gcc_clean/libgomp/testsuite/libgomp.graphite/graphite.exp
2009-08-14 19:16:39.000000000 +0200
+++ /opt/gcc/gcc-4.5-work/libgomp/testsuite/libgomp.graphite/graphite.exp
2009-11-20 16:32:46.000000000 +0100
@@ -33,10 +33,24 @@ if ![check_effective_target_fgraphite] {
}
# Flags for force-parallel-*.c testcases.
-set PARALLEL_CFLAGS "-ansi -pedantic-errors -O2 \
--ftree-parallelize-loops=4 -floop-parallelize-all \
--fdump-tree-parloops-details -fdump-tree-optimized \
--fno-loop-strip-mine -fdump-tree-graphite-all"
+if { ![istarget *-*-darwin*] } {
+ set PARALLEL_CFLAGS "-ansi -pedantic-errors -O2 \
+ -ftree-parallelize-loops=4 -floop-parallelize-all \
+ -fdump-tree-parloops-details -fdump-tree-optimized \
+ -fno-loop-strip-mine -fdump-tree-graphite-all"
+ } elseif { ![is-effective-target lp64] } {
+ set PARALLEL_CFLAGS "-ansi -pedantic-errors -O2 \
+ -ftree-parallelize-loops=4 -floop-parallelize-all \
+ -fdump-tree-parloops-details -fdump-tree-optimized \
+ -fno-loop-strip-mine -fdump-tree-graphite-all \
+ -Wl,-stack_size,0x20000000,-stack_addr,0xa0000000"
+ } else {
+ set PARALLEL_CFLAGS "-ansi -pedantic-errors -O2 \
+ -ftree-parallelize-loops=4 -floop-parallelize-all \
+ -fdump-tree-parloops-details -fdump-tree-optimized \
+ -fno-loop-strip-mine -fdump-tree-graphite-all \
+ -Wl,-stack_size,0x20000000"
+ }
# Initialize `dg'.
dg-init
What is the best solution? or is there a better one?
--
Summary: FAIL: libgomp.graphite/force-parallel-2.c execution test
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dominiq at lps dot ens dot fr
GCC build triplet: *-apple-darwin9
GCC host triplet: *-apple-darwin9
GCC target triplet: *-apple-darwin9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42135
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bug testsuite/42135] New: FAIL: libgomp.graphite/force-parallel-2.c execution test
2009-11-21 20:58 [Bug testsuite/42135] New: FAIL: libgomp.graphite/force-parallel-2.c execution test dominiq at lps dot ens dot fr
@ 2009-11-24 6:51 ` Sebastian Pop
2009-11-24 6:52 ` [Bug testsuite/42135] " sebpop at gmail dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Sebastian Pop @ 2009-11-24 6:51 UTC (permalink / raw)
To: gcc-bugzilla; +Cc: gcc-bugs
On Sat, Nov 21, 2009 at 14:57, dominiq at lps dot ens dot fr
<gcc-bugzilla@gcc.gnu.org> wrote:
> Since revision 150792, the test libgomp.graphite/force-parallel-2.c (introduced
> in revision 150755) fails on *-apple-darwin9. AFAICT the array x[10000][10000]
> is allocated in stack and is too big for the 64Mb hard limit on darwin. One
> solution could be to replace 10000 with 4000. Also the following patch works.
Please update the size of arrays.
Thanks,
Sebastian
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug testsuite/42135] FAIL: libgomp.graphite/force-parallel-2.c execution test
2009-11-21 20:58 [Bug testsuite/42135] New: FAIL: libgomp.graphite/force-parallel-2.c execution test dominiq at lps dot ens dot fr
2009-11-24 6:51 ` Sebastian Pop
@ 2009-11-24 6:52 ` sebpop at gmail dot com
2009-11-24 7:17 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: sebpop at gmail dot com @ 2009-11-24 6:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from sebpop at gmail dot com 2009-11-24 06:51 -------
Subject: Re: New: FAIL: libgomp.graphite/force-parallel-2.c
execution test
On Sat, Nov 21, 2009 at 14:57, dominiq at lps dot ens dot fr
<gcc-bugzilla@gcc.gnu.org> wrote:
> Since revision 150792, the test libgomp.graphite/force-parallel-2.c (introduced
> in revision 150755) fails on *-apple-darwin9. AFAICT the array x[10000][10000]
> is allocated in stack and is too big for the 64Mb hard limit on darwin. One
> solution could be to replace 10000 with 4000. Also the following patch works.
Please update the size of arrays.
Thanks,
Sebastian
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42135
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug testsuite/42135] FAIL: libgomp.graphite/force-parallel-2.c execution test
2009-11-21 20:58 [Bug testsuite/42135] New: FAIL: libgomp.graphite/force-parallel-2.c execution test dominiq at lps dot ens dot fr
2009-11-24 6:51 ` Sebastian Pop
2009-11-24 6:52 ` [Bug testsuite/42135] " sebpop at gmail dot com
@ 2009-11-24 7:17 ` jakub at gcc dot gnu dot org
2009-12-18 7:38 ` spop at gcc dot gnu dot org
2009-12-18 7:38 ` spop at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-11-24 7:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jakub at gcc dot gnu dot org 2009-11-24 07:17 -------
4000 is still too much. The usual stack size limit on Linux is 8MB, on cygwin
it is I think even just 2MB. So it would need to be 500 instead of 10000.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42135
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug testsuite/42135] FAIL: libgomp.graphite/force-parallel-2.c execution test
2009-11-21 20:58 [Bug testsuite/42135] New: FAIL: libgomp.graphite/force-parallel-2.c execution test dominiq at lps dot ens dot fr
` (2 preceding siblings ...)
2009-11-24 7:17 ` jakub at gcc dot gnu dot org
@ 2009-12-18 7:38 ` spop at gcc dot gnu dot org
2009-12-18 7:38 ` spop at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-18 7:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from spop at gcc dot gnu dot org 2009-12-18 07:38 -------
Subject: Bug 42135
Author: spop
Date: Fri Dec 18 07:38:06 2009
New Revision: 155337
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155337
Log:
Fix PR42135.
2009-12-18 Jack Howarth <howarth@bromo.med.uc.edu>
PR testsuite/42135
* libgomp.graphite/force-parallel-2.c: Reduce array size.
Modified:
trunk/libgomp/ChangeLog
trunk/libgomp/testsuite/libgomp.graphite/force-parallel-2.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42135
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug testsuite/42135] FAIL: libgomp.graphite/force-parallel-2.c execution test
2009-11-21 20:58 [Bug testsuite/42135] New: FAIL: libgomp.graphite/force-parallel-2.c execution test dominiq at lps dot ens dot fr
` (3 preceding siblings ...)
2009-12-18 7:38 ` spop at gcc dot gnu dot org
@ 2009-12-18 7:38 ` spop at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-18 7:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from spop at gcc dot gnu dot org 2009-12-18 07:38 -------
Fixed.
--
spop at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42135
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-12-18 7:38 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-21 20:58 [Bug testsuite/42135] New: FAIL: libgomp.graphite/force-parallel-2.c execution test dominiq at lps dot ens dot fr
2009-11-24 6:51 ` Sebastian Pop
2009-11-24 6:52 ` [Bug testsuite/42135] " sebpop at gmail dot com
2009-11-24 7:17 ` jakub at gcc dot gnu dot org
2009-12-18 7:38 ` spop at gcc dot gnu dot org
2009-12-18 7:38 ` spop 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).