[Bug target/85056] [nvptx] wrong declaration of external arrays

2018-04-03 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85056 --- Comment #6 from cesar at gcc dot gnu.org --- Author: cesar Date: Tue Apr 3 14:04:22 2018 New Revision: 259032 URL: https://gcc.gnu.org/viewcvs?rev=259032=gcc=rev Log: PR target/85056 Backport from mainline 2018-03-27 Cesar

[Bug target/85056] [nvptx] wrong declaration of external arrays

2018-03-30 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85056 --- Comment #5 from cesar at gcc dot gnu.org --- Author: cesar Date: Fri Mar 30 15:47:23 2018 New Revision: 258978 URL: https://gcc.gnu.org/viewcvs?rev=258978=gcc=rev Log: PR target/85056 Backport from mainline 2018-03-27 Cesar

[Bug target/85056] [nvptx] wrong declaration of external arrays

2018-03-27 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85056 cesar at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug target/85056] [nvptx] wrong declaration of external arrays

2018-03-27 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85056 --- Comment #3 from cesar at gcc dot gnu.org --- Author: cesar Date: Tue Mar 27 13:54:03 2018 New Revision: 258885 URL: https://gcc.gnu.org/viewcvs?rev=258885=gcc=rev Log: PR target/85056 gcc/ * config/nvptx/nvptx.c

[Bug target/85056] [nvptx] wrong declaration of external arrays

2018-03-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85056 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/85056] [nvptx] wrong declaration of external arrays

2018-03-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85056 --- Comment #2 from Tom de Vries --- Created attachment 43745 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43745=edit Tentative patch with testcase (In reply to cesar from comment #1) > Created attachment 43744 [details] > WIP patch >

[Bug target/85056] [nvptx] wrong declaration of external arrays

2018-03-23 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85056 --- Comment #1 from cesar at gcc dot gnu.org --- Created attachment 43744 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43744=edit WIP patch It looks like nvptx_assmeble_decl_begin ignores the array type information. This patch records