[Bug debug/51471] [4.7 Regression] gcc.c-torture/execute/20040811-1.c and gcc.c-torture/execute/vla-dealloc-1.c fails at -O3 -g on mips64-linux-gnu

2011-12-12 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51471 vries at gcc dot gnu.org changed: What|Removed |Added CC||vries at gcc dot gnu.org

[Bug tree-optimization/51491] ccp when converting from alloca should add a CLOBBER to right before __builtin_stack_restore

2011-12-12 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51491 vries at gcc dot gnu.org changed: What|Removed |Added CC||rguenther at suse dot de

[Bug tree-optimization/51491] ccp when converting from alloca should add a CLOBBER to right before __builtin_stack_restore

2011-12-12 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51491 --- Comment #4 from vries at gcc dot gnu.org 2011-12-12 21:25:58 UTC --- f1.c vs. f.c: ... int g(int*);int g(int*); int f1(void) |int f(void) {{ int tt = 0; int tt = 0; int t = 4

[Bug tree-optimization/51491] ccp when converting from alloca should add a CLOBBER to right before __builtin_stack_restore

2011-12-12 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51491 --- Comment #5 from vries at gcc dot gnu.org 2011-12-12 21:33:03 UTC --- Created attachment 26061 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26061 tentative patch Using this tentative patch, now also f in f.c.149t.optimized ha

[Bug tree-optimization/51491] ccp when converting from alloca should add a CLOBBER to right before __builtin_stack_restore

2011-12-13 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51491 --- Comment #7 from vries at gcc dot gnu.org 2011-12-13 15:00:35 UTC --- Created attachment 26070 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26070 update tentative patch now testing on x86_64

[Bug debug/51471] [4.7 Regression] gcc.c-torture/execute/20040811-1.c and gcc.c-torture/execute/vla-dealloc-1.c fails at -O3 -g on mips64-linux-gnu

2011-12-14 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51471 vries at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at redhat dot com

[Bug tree-optimization/51491] ccp when converting from alloca should add a CLOBBER to right before __builtin_stack_restore

2011-12-17 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51491 --- Comment #9 from vries at gcc dot gnu.org 2011-12-17 11:39:53 UTC --- Author: vries Date: Sat Dec 17 11:39:49 2011 New Revision: 182433 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182433 Log: 2011-12-17 Tom de Vries

[Bug tree-optimization/51491] ccp when converting from alloca should add a CLOBBER to right before __builtin_stack_restore

2011-12-17 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51491 --- Comment #8 from vries at gcc dot gnu.org 2011-12-17 11:39:47 UTC --- Author: vries Date: Sat Dec 17 11:39:43 2011 New Revision: 182432 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182432 Log: 2011-12-17 Tom de Vries

[Bug tree-optimization/51491] ccp when converting from alloca should add a CLOBBER to right before __builtin_stack_restore

2011-12-17 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51491 vries at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug rtl-optimization/51271] [4.7 Regression] ICE in in maybe_record_trace_start, at dwarf2cfi.c:2244

2011-12-17 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51271 --- Comment #14 from vries at gcc dot gnu.org 2011-12-17 12:49:21 UTC --- Created attachment 26119 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26119 res_hconf.c.221r.mach, using Andrew's patch (In reply to comment #13) > I thi

[Bug rtl-optimization/51271] [4.7 Regression] ICE in in maybe_record_trace_start, at dwarf2cfi.c:2244

2011-12-19 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51271 --- Comment #15 from vries at gcc dot gnu.org 2011-12-19 13:17:23 UTC --- > given this definition, maybe insn 141 should be marked as frame-related, since > it restores a reg in the epilogue. It seems to be the other way round: insn

[Bug debug/51471] [4.7 Regression] gcc.c-torture/execute/20040811-1.c and gcc.c-torture/execute/vla-dealloc-1.c fails at -O3 -g on mips64-linux-gnu

2011-12-19 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51471 --- Comment #13 from vries at gcc dot gnu.org 2011-12-19 13:23:41 UTC --- (In reply to comment #11) > This is the patch which I am testing: > Index: genatt

[Bug debug/51471] [4.7 Regression] gcc.c-torture/execute/20040811-1.c and gcc.c-torture/execute/vla-dealloc-1.c fails at -O3 -g on mips64-linux-gnu

2012-01-04 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51471 --- Comment #15 from vries at gcc dot gnu.org 2012-01-04 21:43:29 UTC --- (In reply to comment #14) > (In reply to comment #13) > > AFAIU, the only thing causing problems is frame-related insns being > > speculated. > > Yes

[Bug c++/51773] New: error building libitm/aatree.cc on ARM

2012-01-06 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51773 Bug #: 51773 Summary: error building libitm/aatree.cc on ARM Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P

[Bug c++/51773] error building libitm/aatree.cc on ARM

2012-01-06 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51773 --- Comment #2 from vries at gcc dot gnu.org 2012-01-06 10:51:51 UTC --- Looks related to: + [BZ #13529] + * assert/assert.h (static_assert): Define. + diff --git a/assert/assert.h b/assert/assert.h index 841f435..4022e28 100644

[Bug rtl-optimization/51271] [4.7 Regression] ICE in in maybe_record_trace_start, at dwarf2cfi.c:2244

2012-01-08 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51271 --- Comment #17 from vries at gcc dot gnu.org 2012-01-08 14:12:44 UTC --- Submitted http://gcc.gnu.org/ml/gcc-patches/2012-01/msg00359.html

[Bug debug/51471] [4.7 Regression] gcc.c-torture/execute/20040811-1.c and gcc.c-torture/execute/vla-dealloc-1.c fails at -O3 -g on mips64-linux-gnu

2012-01-08 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51471 --- Comment #17 from vries at gcc dot gnu.org 2012-01-08 14:13:19 UTC --- Submitted http://gcc.gnu.org/ml/gcc-patches/2012-01/msg00363.html

[Bug c++/51773] error building libitm/aatree.cc on ARM

2012-01-09 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51773 vries at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug debug/51471] [4.7 Regression] gcc.c-torture/execute/20040811-1.c and gcc.c-torture/execute/vla-dealloc-1.c fails at -O3 -g on mips64-linux-gnu

2012-01-10 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51471 --- Comment #18 from vries at gcc dot gnu.org 2012-01-10 08:49:50 UTC --- Author: vries Revision: 183038 Modified property: svn:log Modified: svn:log at Tue Jan 10 08:49:45 2012

[Bug rtl-optimization/51271] [4.7 Regression] ICE in in maybe_record_trace_start, at dwarf2cfi.c:2244

2012-01-10 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51271 --- Comment #18 from vries at gcc dot gnu.org 2012-01-10 08:50:45 UTC --- Author: vries Revision: 183052 Modified property: svn:log Modified: svn:log at Tue Jan 10 08:50:40 2012

[Bug rtl-optimization/51271] [4.7 Regression] ICE in in maybe_record_trace_start, at dwarf2cfi.c:2244

2012-01-10 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51271 vries at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug debug/51471] [4.7 Regression] gcc.c-torture/execute/20040811-1.c and gcc.c-torture/execute/vla-dealloc-1.c fails at -O3 -g on mips64-linux-gnu

2012-01-10 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51471 vries at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug middle-end/50283] [4.7 Regression] FAIL: g++.dg/eh/simd-1.C execution test

2012-01-10 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50283 vries at gcc dot gnu.org changed: What|Removed |Added CC||vries at gcc dot gnu.org

[Bug c++/51785] gets not anymore declared

2012-01-10 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51785 vries at gcc dot gnu.org changed: What|Removed |Added CC||vries at gcc dot gnu.org

[Bug middle-end/50283] [4.7 Regression] FAIL: g++.dg/eh/simd-1.C execution test

2012-01-11 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50283 --- Comment #17 from vries at gcc dot gnu.org 2012-01-11 09:45:02 UTC --- >> Either way, we should be able to formulate an assert in scan_trace that >> checks this condition. Do you think that would be useful? > You absolutely

[Bug c++/51785] gets not anymore declared

2012-01-11 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51785 --- Comment #3 from vries at gcc dot gnu.org 2012-01-11 13:00:37 UTC --- This attempt at 'a glibc version check and defining the std::gets prototype in libstdc++' (PR 51773 comment 11) unbreaks the libstdc++ build: ... Index: libstdc++-

[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls

2012-01-17 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879 --- Comment #1 from vries at gcc dot gnu.org 2012-01-18 05:41:34 UTC --- This works for the 3 examples: ... Index: tree-ssa-sccvn.c === --- tree-ssa-sccvn.c (revision 182098) +++ tree

[Bug c++/25973] [4.4/4.5/4.6/4.7 Regression] Wrong warning: control reaches end of non-void function

2012-01-21 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25973 --- Comment #13 from vries at gcc dot gnu.org 2012-01-21 11:34:08 UTC --- Created attachment 26402 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26402 patch to fix problem in comment 4 (In reply to comment #12) > Tom, are you handlin

[Bug tree-optimization/51964] New: Missed tail merging opportunity

2012-01-23 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51964 Bug #: 51964 Summary: Missed tail merging opportunity Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: minor Priority: P3

[Bug tree-optimization/51964] Missed tail merging opportunity

2012-01-23 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51964 --- Comment #1 from vries at gcc dot gnu.org 2012-01-23 13:43:33 UTC --- I have a still rather vague idea that we might value number the uses rather than the defs: assign the same number to uses which use a value in the same way. I don't kno

[Bug c++/25973] [4.4/4.5/4.6/4.7 Regression] Wrong warning: control reaches end of non-void function

2012-01-23 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25973 --- Comment #17 from vries at gcc dot gnu.org 2012-01-23 14:04:07 UTC --- > I tested an earlier version of this patch without any problems, I just need to > retest and submit. Submitted patch: http://gcc.gnu.org/ml/gcc-patches/2012-01/ms

[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls

2012-01-23 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879 --- Comment #5 from vries at gcc dot gnu.org 2012-01-23 14:10:38 UTC --- Created attachment 26430 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26430 Tentative patch 2012-01-23 Tom de Vries PR tree-optimization/51879 tree-

[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls

2012-01-24 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879 vries at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo

[Bug middle-end/40060] [4.5/4.6/4.7 Regression] casts loose alignment info

2012-01-24 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40060 vries at gcc dot gnu.org changed: What|Removed |Added CC||vries at gcc dot gnu.org

[Bug tree-optimization/51990] New: ICE in copy_reference_ops_from_ref

2012-01-24 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51990 Bug #: 51990 Summary: ICE in copy_reference_ops_from_ref Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/51990] ICE in copy_reference_ops_from_ref

2012-01-25 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51990 --- Comment #1 from vries at gcc dot gnu.org 2012-01-25 08:39:23 UTC --- tentative fix: Index: gcc/tree-ssa-sccvn.c === --- gcc/tree-ssa-sccvn.c (revision 183325) +++ gcc/tree-ssa

[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls

2012-01-25 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879 vries at gcc dot gnu.org changed: What|Removed |Added Attachment #26430|0 |1 is obsolete

[Bug tree-optimization/51990] ICE in copy_reference_ops_from_ref

2012-01-25 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51990 --- Comment #3 from vries at gcc dot gnu.org 2012-01-25 10:15:53 UTC --- (In reply to comment #2) > This extension is not even documented, see PR 37428 for more info. > There are at least these 3 examples in the testsuite that us

[Bug tree-optimization/51990] ICE in copy_reference_ops_from_ref

2012-01-25 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51990 vries at gcc dot gnu.org changed: What|Removed |Added Status|NEW |UNCONFIRMED Ever Confirmed

[Bug tree-optimization/51990] ICE in copy_reference_ops_from_ref

2012-01-25 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51990 vries at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED AssignedTo

[Bug middle-end/51998] New: compiler hangs on self-recursive alias attribute

2012-01-25 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51998 Bug #: 51998 Summary: compiler hangs on self-recursive alias attribute Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal P

[Bug middle-end/51998] compiler hangs on self-recursive alias attribute

2012-01-25 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51998 --- Comment #3 from vries at gcc dot gnu.org 2012-01-25 16:33:12 UTC --- (In reply to comment #2) > I think fatal_error is undesirable, you should error on it somewhere and just > drop the alias attribute. Jakub, like this? : ...

[Bug tree-optimization/52009] New: Another missed tail merging opportunity

2012-01-26 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52009 Bug #: 52009 Summary: Another missed tail merging opportunity Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: minor Priority: P

[Bug tree-optimization/51990] ICE in copy_reference_ops_from_ref

2012-01-27 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51990 --- Comment #6 from vries at gcc dot gnu.org 2012-01-27 10:38:32 UTC --- Author: vries Date: Fri Jan 27 10:38:27 2012 New Revision: 183614 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183614 Log: 2012-01-27 Tom de Vries

[Bug tree-optimization/51990] ICE in copy_reference_ops_from_ref

2012-01-27 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51990 --- Comment #7 from vries at gcc dot gnu.org 2012-01-27 10:38:38 UTC --- Author: vries Date: Fri Jan 27 10:38:34 2012 New Revision: 183615 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183615 Log: 2012-01-27 Tom de Vries

[Bug tree-optimization/51990] ICE in copy_reference_ops_from_ref

2012-01-28 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51990 vries at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug middle-end/50283] [4.7 Regression] FAIL: g++.dg/eh/simd-1.C execution test

2012-01-28 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50283 --- Comment #18 from vries at gcc dot gnu.org 2012-01-28 21:00:14 UTC --- Submitted generic patch: http://gcc.gnu.org/ml/gcc-patches/2012-01/msg01540.html

[Bug tree-optimization/52009] Another missed tail merging opportunity

2012-01-30 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52009 --- Comment #1 from vries at gcc dot gnu.org 2012-01-30 09:43:04 UTC --- Value numbering of stores appears to be a bit different than what I expected. pr51879-9.c: ... int z; void foo (void) { z = 5; z = 5; } ... pr51879-9.c.028t.fre

[Bug tree-optimization/52009] Another missed tail merging opportunity

2012-01-30 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52009 --- Comment #2 from vries at gcc dot gnu.org 2012-01-30 20:09:10 UTC --- Created attachment 26518 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26518 tentative patch

[Bug libgomp/88460] New: [nvptx] FAIL: libgomp.c++/for-24.C (internal compiler error)

2018-12-12 Thread vries at gcc dot gnu.org
Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- In more detail: ... lto1: internal compiler error: in input_varpool_node, at lto-cgraph.c:1371^M

[Bug libgomp/88460] [nvptx] FAIL: libgomp.c++/for-24.C (internal compiler error)

2018-12-12 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88460 --- Comment #1 from Tom de Vries --- > Richard Biener changed: > >What|Removed |Added > >Keywords|

[Bug libgomp/88460] [nvptx] FAIL: libgomp.c++/for-24.C (internal compiler error)

2018-12-13 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88460 --- Comment #2 from Tom de Vries --- Jakub, Can you tell whether this is a test-case problem or openmp support problem? Thanks, - Tom

[Bug libgomp/88460] [nvptx] FAIL: libgomp.c++/for-24.C (internal compiler error)

2018-12-13 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88460 --- Comment #4 from Tom de Vries --- (In reply to Jakub Jelinek from comment #3) > That test is huge, can you narrow it to something smaller that still ICEs? > Like, bisect to a single omp target in main and corresponding fN function + > support?

[Bug libgomp/88460] [nvptx] FAIL: libgomp.c++/for-24.C (internal compiler error)

2018-12-13 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88460 --- Comment #6 from Tom de Vries --- (In reply to Jakub Jelinek from comment #5) > Created attachment 45226 [details] > gcc9-pr88460.patch > > Ah, PR86660 reappeared here, copy and tweak from before that testcase has > been adjusted. Tested jus

[Bug libgomp/88460] [nvptx] FAIL: libgomp.c++/for-24.C (internal compiler error)

2018-12-13 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88460 --- Comment #9 from Tom de Vries --- (In reply to Tom de Vries from comment #1) > > Richard Biener changed: > > > >What|Removed |Added > > -

[Bug testsuite/88491] new test case allocfail.sh in r267054 fails if dash is the default shell (/bin/sh)

2018-12-14 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88491 --- Comment #1 from Tom de Vries --- Author: vries Date: Fri Dec 14 09:43:41 2018 New Revision: 267127 URL: https://gcc.gnu.org/viewcvs?rev=267127&root=gcc&view=rev Log: [testsuite] Remove bashism from libbacktrace/allocfail.sh Test-case libbac

[Bug testsuite/88491] new test case allocfail.sh in r267054 fails if dash is the default shell (/bin/sh)

2018-12-14 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88491 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug libgomp/87835] nvptx offloading: libgomp.oacc-c-c++-common/asyncwait-1.c execution test intermittently fails at -O2

2018-12-14 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87835 --- Comment #1 from Tom de Vries --- (In reply to Thomas Schwinge from comment #0) > After r264397 "[nvptx] Remove use of CUDA unified memory in libgomp", I'm > seeing (intermittently only, and only on some systems): > I see the failure reprodu

[Bug libbacktrace/88063] Libbacktrace leak on dwarf read failure

2018-12-27 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88063 --- Comment #14 from Tom de Vries --- Author: vries Date: Fri Dec 28 03:43:26 2018 New Revision: 267443 URL: https://gcc.gnu.org/viewcvs?rev=267443&root=gcc&view=rev Log: [libbacktrace] Fix memory leak in loop in build_address_map When failing

[Bug libbacktrace/88063] Libbacktrace leak on dwarf read failure

2019-01-03 Thread vries at gcc dot gnu.org
|--- |FIXED Assignee|unassigned at gcc dot gnu.org |vries at gcc dot gnu.org Target Milestone|--- |9.0 --- Comment #15 from Tom de Vries --- Patch fixing the problem mentioned in the description committed to trunk. Other problems mentioned

[Bug middle-end/88703] New: oacc_validate_dims allows invalid dimensions

2019-01-04 Thread vries at gcc dot gnu.org
: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- Consider oacc_validate_dims on trunk: ... oacc_validate_dims (tree fn, tree attrs, int *dims, int level, unsigned used) { tree purpose[GOMP_DIM_MAX]; unsigned ix

[Bug target/88706] New: [og8, nvptx, openacc] Inconsistencies when vector length set using vector_length clause or fopenacc-dim

2019-01-05 Thread vries at gcc dot gnu.org
: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- Consider libgomp testcase vred2d-128.c (posted partially here): ... gentest (test1, &quo

[Bug target/88706] [og8, nvptx, openacc] Inconsistencies when vector length set using vector_length clause or fopenacc-dim

2019-01-05 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88706 --- Comment #1 from Tom de Vries --- (In reply to Tom de Vries from comment #0) > I think the same problem exists for the other work around in > nvptx_adjust_parallelism, this one: > ... > /* FIXME: This is overly conservative; worker and vecto

[Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128

2019-01-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 --- Comment #11 from Tom de Vries --- Author: vries Date: Mon Jan 7 08:10:56 2019 New Revision: 267630 URL: https://gcc.gnu.org/viewcvs?rev=267630&root=gcc&view=rev Log: [nvptx] Don't emit barriers for empty loops -- fix When compiling an empt

[Bug target/85486] [og7, nvptx] ref-1.C fails with vector length 128

2019-01-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85486 --- Comment #2 from Tom de Vries --- Author: vries Date: Mon Jan 7 10:01:49 2019 New Revision: 267640 URL: https://gcc.gnu.org/viewcvs?rev=267640&root=gcc&view=rev Log: [nvptx] Force vl32 if calling vector-partitionable routines With PTX_MAX_V

[Bug target/88756] New: [nvptx, openacc] Override too many num_workers in nvptx plugin, instead of erroring out

2019-01-08 Thread vries at gcc dot gnu.org
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- Consider this minimized/modified test-case: ... $ cat libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-1.c

[Bug target/88764] New: [nvptx, libgomp, testsuite] Update testsuite for default vector length larger than 32

2019-01-08 Thread vries at gcc dot gnu.org
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- With the nvptx vector-length patches arriving on trunk, it starts to become important to run the libgomp openacc

[Bug target/88756] [nvptx, openacc] Override too many num_workers in nvptx plugin, instead of erroring out

2019-01-08 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88756 --- Comment #1 from Tom de Vries --- Author: vries Date: Wed Jan 9 00:07:55 2019 New Revision: 267747 URL: https://gcc.gnu.org/viewcvs?rev=267747&root=gcc&view=rev Log: [libgomp, testsuite, openacc] Don't use const int for dimensions Const int

[Bug target/88756] [nvptx, openacc] Override too many num_workers in nvptx plugin, instead of erroring out

2019-01-09 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88756 --- Comment #2 from Tom de Vries --- (In reply to Tom de Vries from comment #0) > For the user, it's somewhat confusing that this passes with warning when > compiling as C++, and fails to execute when compiling as C. > I wonder why we don't do t

[Bug middle-end/88703] oacc_validate_dims allows invalid dimensions

2019-01-12 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88703 --- Comment #1 from Tom de Vries --- Author: vries Date: Sat Jan 12 10:27:12 2019 New Revision: 267877 URL: https://gcc.gnu.org/viewcvs?rev=267877&root=gcc&view=rev Log: [nvptx] Verify dimension limits after applying defaults There's a problem

[Bug libgomp/87835] nvptx offloading: libgomp.oacc-c-c++-common/asyncwait-1.c execution test intermittently fails at -O2

2019-01-12 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87835 --- Comment #2 from Tom de Vries --- (In reply to Tom de Vries from comment #1) > (In reply to Thomas Schwinge from comment #0) > > After r264397 "[nvptx] Remove use of CUDA unified memory in libgomp", I'm > > seeing (intermittently only, and onl

[Bug target/85486] [og7, nvptx] ref-1.C fails with vector length 128

2019-01-12 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85486 --- Comment #3 from Tom de Vries --- Author: vries Date: Sat Jan 12 22:18:50 2019 New Revision: 267894 URL: https://gcc.gnu.org/viewcvs?rev=267894&root=gcc&view=rev Log: [nvptx] Force vl32 if calling vector-partitionable routines -- test-cases

[Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128

2019-01-12 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 --- Comment #12 from Tom de Vries --- Author: vries Date: Sat Jan 12 22:18:39 2019 New Revision: 267893 URL: https://gcc.gnu.org/viewcvs?rev=267893&root=gcc&view=rev Log: [nvptx] Don't emit barriers for empty loops -- test-cases Add test-cases

[Bug middle-end/88852] New: [openacc] Host fallback doesn't create private copy for reduction var on gang clause

2019-01-15 Thread vries at gcc dot gnu.org
IRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- spinoff from PR 80547 - '[7/8/9 Regression] nvptx back end ICE with OpenACC "reduc

[Bug target/80547] [7/8/9 Regression] nvptx back end ICE with OpenACC "reduction(OP:x)", "x = [...]"

2019-01-15 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80547 --- Comment #8 from Tom de Vries --- (In reply to Thomas Schwinge from comment #1) > An additional observation: for host fallback (adding an "if(0)" clause to > both the OpenMP and OpenACC directives, for example), the OpenMP code still > works,

[Bug target/80547] [7/8/9 Regression] nvptx back end ICE with OpenACC "reduction(OP:x)", "x = [...]"

2019-01-15 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80547 --- Comment #9 from Tom de Vries --- Author: vries Date: Tue Jan 15 10:11:16 2019 New Revision: 267934 URL: https://gcc.gnu.org/viewcvs?rev=267934&root=gcc&view=rev Log: [nvptx] Handle assignment to gang-level reduction variable 2019-01-15 Tom

[Bug lto/71499] ICE in LTO1 when attempting NVPTX offloading (-fopenacc)

2019-01-15 Thread vries at gcc dot gnu.org
||vries at gcc dot gnu.org Resolution|--- |FIXED --- Comment #3 from Tom de Vries --- (In reply to Thomas Schwinge from comment #2) > The is the OpenACC variant of OpenMP's PR71535. > > You need to add "#pragma acc routine" f

[Bug libbacktrace/88244] [libbacktrace] Failure to open .gnu_debuglink is silent

2019-01-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88244 --- Comment #1 from Tom de Vries --- Discussed here ( https://gcc.gnu.org/ml/gcc-patches/2019-01/msg00932.html ).

[Bug libbacktrace/82857] libbacktrace: please support binaries stripped with dwz -m (following the .gnu_debugaltlink)

2019-01-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82857 --- Comment #6 from Tom de Vries --- Author: vries Date: Thu Jan 17 00:08:05 2019 New Revision: 267996 URL: https://gcc.gnu.org/viewcvs?rev=267996&root=gcc&view=rev Log: [libbacktrace] Handle DW_FORM_GNU_strp_alt Handle DW_FORM_GNU_strp_alt whi

[Bug libbacktrace/82857] libbacktrace: please support binaries stripped with dwz -m (following the .gnu_debugaltlink)

2019-01-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82857 --- Comment #7 from Tom de Vries --- (In reply to Tom de Vries from comment #6) > Author: vries > Date: Thu Jan 17 00:08:05 2019 > New Revision: 267996 > > URL: https://gcc.gnu.org/viewcvs?rev=267996&root=gcc&view=rev > Log: > [libbacktrace] Han

[Bug libbacktrace/88890] New: libbacktrace on 32-bit system with _FILE_OFFSET_BITS == 64

2019-01-17 Thread vries at gcc dot gnu.org
Priority: P3 Component: libbacktrace Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org CC: ian at gcc dot gnu.org Target Milestone: --- In libbacktrace we use views to load portions of files into memory: ... extern int

[Bug libbacktrace/82857] libbacktrace: please support binaries stripped with dwz -m (following the .gnu_debugaltlink)

2019-01-17 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82857 --- Comment #8 from Tom de Vries --- Author: vries Date: Thu Jan 17 13:42:20 2019 New Revision: 268031 URL: https://gcc.gnu.org/viewcvs?rev=268031&root=gcc&view=rev Log: [libbacktrace] Handle DW_FORM_GNU_ref_alt Handle DW_FORM_GNU_ref_alt which

[Bug libbacktrace/82857] libbacktrace: please support binaries stripped with dwz -m (following the .gnu_debugaltlink)

2019-01-17 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82857 --- Comment #9 from Tom de Vries --- Author: vries Date: Thu Jan 17 13:42:30 2019 New Revision: 268032 URL: https://gcc.gnu.org/viewcvs?rev=268032&root=gcc&view=rev Log: [libbacktrace] Add btest_dwz test-case Add test-case to verify that libbac

[Bug libbacktrace/82857] libbacktrace: please support binaries stripped with dwz -m (following the .gnu_debugaltlink)

2019-01-17 Thread vries at gcc dot gnu.org
|--- |FIXED Assignee|unassigned at gcc dot gnu.org |vries at gcc dot gnu.org Target Milestone|--- |9.0 --- Comment #10 from Tom de Vries --- Patches implementing complete feature and test-case committed, marking resolved-fixed. There'

[Bug libbacktrace/88894] New: [libbacktrace] share abbrevs between units

2019-01-17 Thread vries at gcc dot gnu.org
: libbacktrace Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org CC: ian at gcc dot gnu.org Target Milestone: --- For each compilation unit we parse in build_address_map, we call read_abbrevs, to parse the abbrevs, and store the parsed

[Bug libbacktrace/88894] [libbacktrace] share abbrevs between units

2019-01-17 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88894 Tom de Vries changed: What|Removed |Added Keywords||missed-optimization Severity|no

[Bug target/88939] New: [nvptx, openacc, libgomp] Assertion `!s->map->active' failed for synchronous parallel with abort

2019-01-21 Thread vries at gcc dot gnu.org
UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- Atm, abort-1.c passes like this: ... CheCKpOInT libgomp: cuStreamSynchronize error:

[Bug target/88939] [nvptx, openacc, libgomp] Assertion `!s->map->active' failed for synchronous parallel with abort

2019-01-21 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88939 --- Comment #1 from Tom de Vries --- The usual fix for this sort of problem is to move the map_pop to before the GOMP_PLUGIN_fatal: ... @@ -1365,6 +1365,7 @@ nvptx_exec if (async < acc_async_noval) { r = CUDA_CALL_NOCHECK (cuStream

[Bug target/88939] [nvptx, openacc, libgomp] Assertion `!s->map->active' failed for synchronous parallel with abort

2019-01-21 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88939 --- Comment #2 from Tom de Vries --- Furthermore, because of running into the cudaMemFree error, the process hangs indefinitely with this callstack: ... libgomp: cuStreamSynchronize error: an illegal instruction was encountered libgomp: cuMemFre

[Bug middle-end/88940] New: [openacc, libgomp] cuModuleLoadData error for asynchronous parallel with abort

2019-01-21 Thread vries at gcc dot gnu.org
: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- Consider abort-6.c (the async version of abort-1.c): ... /* { dg-do run } */ #include #include int main (void

[Bug libgomp/88941] New: [nvptx, openacc, libgomp] Assertion `!s->map->active' failed for empty asynchronous parallel

2019-01-21 Thread vries at gcc dot gnu.org
UNCONFIRMED Severity: normal Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- Consider test-case: ... $ cat libgomp/testsuite/libgo

[Bug libgomp/88941] [nvptx, openacc, libgomp] Assertion `!s->map->active' failed for empty asynchronous parallel

2019-01-21 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88941 --- Comment #1 from Tom de Vries --- A patch like this waits for the kernel to finish, and then forces processing the event, so it fixes the failing test-case: ... diff --git a/libgomp/plugin/plugin-nvptx.c b/libgomp/plugin/plugin-nvptx.c index d

[Bug testsuite/88942] New: [openacc, testsuite] lib-82.c does not wait for all streams before calling acc_shutdown

2019-01-21 Thread vries at gcc dot gnu.org
Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- [ Spin-off bug from PR88941 - "[nvptx, openacc, libgomp] Assertion `!s->map->active'

[Bug testsuite/88942] [openacc, testsuite] lib-82.c does not wait for all streams before calling acc_shutdown

2019-01-21 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88942 Tom de Vries changed: What|Removed |Added Keywords||openacc CC|

[Bug libgomp/88941] [nvptx, openacc, libgomp] Assertion `!s->map->active' failed for empty asynchronous parallel

2019-01-21 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88941 --- Comment #2 from Tom de Vries --- (In reply to Tom de Vries from comment #1) > At the acc_shutdown documentation, we read: > .. > - This routine may not be called during execution of an accelerator compute > region. > - If the program attemp

[Bug target/88946] New: [nvptx, openacc, libgomp] cuMemAlloc error for two empty asynchronous parallels

2019-01-21 Thread vries at gcc dot gnu.org
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- Consider test-case: ... /* { dg-do run } */ int main (void) { #pragma acc parallel async ; #pragma acc parallel async

[Bug libgomp/87835] nvptx offloading: libgomp.oacc-c-c++-common/asyncwait-1.c execution test intermittently fails at -O2

2019-01-21 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87835 --- Comment #4 from Tom de Vries --- This minimized test-case (rewritten to avoid the kernels construct, by setting the num_gangs as libgomp would have chosen it for kernels, and making the loop a gang loop): ... /* { dg-do run } */ /* { dg-addi

[Bug target/88981] New: [nvptx, openacc, libgomp] How to handle async regions without corresponding wait

2019-01-22 Thread vries at gcc dot gnu.org
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- Consider this test-case: ... /* { dg-do run } */ #include int main (void) { int a[128]; int N = 128; #pragma acc

[Bug target/88981] [nvptx, openacc, libgomp] How to handle async regions without corresponding wait

2019-01-22 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88981 Tom de Vries changed: What|Removed |Added Keywords||openacc Target|

[Bug target/88981] [nvptx, openacc, libgomp] How to handle async regions without corresponding wait

2019-01-22 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88981 --- Comment #2 from Tom de Vries --- A good thing to note here, when adding #pragma acc wait, the program (compiled with -O0) takes ~10 seconds to finish on my quadro 1200m. Without the pragma acc wait, it still takes 10 seconds. When inspectin

<    1   2   3   4   5   6   7   8   9   10   >