[Bug go/78145] Several go.test tests fail with error: integer constant overflow on 32bit targets

2016-11-01 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78145

Ian Lance Taylor  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Ian Lance Taylor  ---
Fixed.

[Bug go/78145] Several go.test tests fail with error: integer constant overflow on 32bit targets

2016-11-01 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78145

--- Comment #2 from ian at gcc dot gnu.org  ---
Author: ian
Date: Tue Nov  1 13:46:10 2016
New Revision: 241740

URL: https://gcc.gnu.org/viewcvs?rev=241740=gcc=rev
Log:
PR go/78145
compiler: don't put print/println constants into temporaries

It's not necessary, and it breaks setting their type to int64/uint64
when appropriate.

This fixes GCC PR 78145.

Reviewed-on: https://go-review.googlesource.com/32475

Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/gcc/go/gofrontend/expressions.cc

[Bug go/78145] Several go.test tests fail with error: integer constant overflow on 32bit targets

2016-10-28 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78145

Eric Botcazou  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2016-10-28
 CC||ebotcazou at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Eric Botcazou  ---
Confirmed on SPARC.