[Bug hsa/81713] BIT_FIELD_REF produced by Brig FE do not pass new verification

2017-09-13 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81713

--- Comment #6 from Aldy Hernandez  ---
Author: aldyh
Date: Wed Sep 13 16:29:11 2017
New Revision: 252293

URL: https://gcc.gnu.org/viewcvs?rev=252293&root=gcc&view=rev
Log:
Fix PR 81713
 * brigfrontend/brig-basic-inst-handler.cc: replace build_int_cst with
   bitsize_int in building BIT_FIELD_REF.
 * brigfrontend/brig-code-entry-handler.cc: likewise.

Modified:
branches/range-gen2/gcc/brig/ChangeLog
branches/range-gen2/gcc/brig/brigfrontend/brig-basic-inst-handler.cc
branches/range-gen2/gcc/brig/brigfrontend/brig-code-entry-handler.cc

[Bug hsa/81713] BIT_FIELD_REF produced by Brig FE do not pass new verification

2017-08-07 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81713

Martin Jambor  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Martin Jambor  ---
Thank you, this is now fixed.

[Bug hsa/81713] BIT_FIELD_REF produced by Brig FE do not pass new verification

2017-08-04 Thread visit0r at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81713

--- Comment #4 from visit0r at gcc dot gnu.org ---
Author: visit0r
Date: Fri Aug  4 15:50:14 2017
New Revision: 250874

URL: https://gcc.gnu.org/viewcvs?rev=250874&root=gcc&view=rev
Log:
Fix PR 81713
 * brigfrontend/brig-basic-inst-handler.cc: replace build_int_cst with
   bitsize_int in building BIT_FIELD_REF.
 * brigfrontend/brig-code-entry-handler.cc: likewise.


Modified:
trunk/gcc/brig/ChangeLog
trunk/gcc/brig/brigfrontend/brig-basic-inst-handler.cc
trunk/gcc/brig/brigfrontend/brig-code-entry-handler.cc

[Bug hsa/81713] BIT_FIELD_REF produced by Brig FE do not pass new verification

2017-08-04 Thread pekka.jaaskelainen at parmance dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81713

--- Comment #3 from Pekka Jääskeläinen  
---
Committed in r250874.

[Bug hsa/81713] BIT_FIELD_REF produced by Brig FE do not pass new verification

2017-08-04 Thread pekka.jaaskelainen at parmance dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81713

--- Comment #2 from Pekka Jääskeläinen  
---
https://github.com/linehill/gccbrig/commit/feab8a56be8cbe3b95f4dd121e7db4306f75655e.patch
 I will commit this a bit later unless you wish to fix it sooner.

[Bug hsa/81713] BIT_FIELD_REF produced by Brig FE do not pass new verification

2017-08-04 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81713

Martin Jambor  changed:

   What|Removed |Added

 CC||pekka.jaaskelainen@parmance
   ||.com

--- Comment #1 from Martin Jambor  ---
Adding Pekka to CC who might fix this quicker than me.