public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/64836] New: go.test/test/fixedbugs/issue4348.go FAILs
@ 2015-01-28 14:23 ro at gcc dot gnu.org
  2015-01-28 14:25 ` [Bug go/64836] " ro at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2015-01-28 14:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64836

            Bug ID: 64836
           Summary: go.test/test/fixedbugs/issue4348.go FAILs
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: ro at gcc dot gnu.org
                CC: cmang at google dot com
              Host: i386-pc-solaris2.1[01], i686-unknown-linux-gnu,
                    sparc-sun-solaris2.1[01]
            Target: i386-pc-solaris2.1[01], i686-unknown-linux-gnu,
                    sparc-sun-solaris2.1[01]
             Build: i386-pc-solaris2.1[01], i686-unknown-linux-gnu,
                    sparc-sun-solaris2.1[01]

In a 32-bit-default compiler, the 64-bit go.test/test/fixedbugs/issue4348.go
test
FAILs on Solaris/x86, Linux/x86, and Solaris SPARC:

FAIL: go.test/test/fixedbugs/issue4348.go   -O  (test for excess errors)

Excess errors:
/vol/gcc/src/hg/trunk/local/gcc/testsuite/go.test/test/fixedbugs/issue4348.go:20:8:
error: array bound overflows

  Rainer


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug go/64836] go.test/test/fixedbugs/issue4348.go FAILs
  2015-01-28 14:23 [Bug go/64836] New: go.test/test/fixedbugs/issue4348.go FAILs ro at gcc dot gnu.org
@ 2015-01-28 14:25 ` ro at gcc dot gnu.org
  2015-02-03  3:34 ` ian at gcc dot gnu.org
  2015-02-03  3:46 ` ian at airs dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2015-01-28 14:25 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64836

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug go/64836] go.test/test/fixedbugs/issue4348.go FAILs
  2015-01-28 14:23 [Bug go/64836] New: go.test/test/fixedbugs/issue4348.go FAILs ro at gcc dot gnu.org
  2015-01-28 14:25 ` [Bug go/64836] " ro at gcc dot gnu.org
@ 2015-02-03  3:34 ` ian at gcc dot gnu.org
  2015-02-03  3:46 ` ian at airs dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ian at gcc dot gnu.org @ 2015-02-03  3:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64836

--- Comment #1 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Tue Feb  3 03:33:21 2015
New Revision: 220364

URL: https://gcc.gnu.org/viewcvs?rev=220364&root=gcc&view=rev
Log:
    PR go/64836
    PR go/64838

compiler: Use int64_t for backend type size and alignment.

Fixes 32-bit host 64-bit target cross-compilation.

    * go-gcc.cc (Gcc_backend::type_size): Change return type to
    int64_t.
    (Gcc_backend::type_alignment): Likewise.
    (Gcc_backend::type_field_alignment): Likewise.
    (Gcc_backend::type_field_offset): Likewise.
    (Gcc_backend::implicit_variable): Change alignment parameter type
    to int64_t.

Modified:
    trunk/gcc/go/ChangeLog
    trunk/gcc/go/go-gcc.cc
    trunk/gcc/go/gofrontend/backend.h
    trunk/gcc/go/gofrontend/expressions.cc
    trunk/gcc/go/gofrontend/expressions.h
    trunk/gcc/go/gofrontend/gogo.cc
    trunk/gcc/go/gofrontend/gogo.h
    trunk/gcc/go/gofrontend/types.cc
    trunk/gcc/go/gofrontend/types.h


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug go/64836] go.test/test/fixedbugs/issue4348.go FAILs
  2015-01-28 14:23 [Bug go/64836] New: go.test/test/fixedbugs/issue4348.go FAILs ro at gcc dot gnu.org
  2015-01-28 14:25 ` [Bug go/64836] " ro at gcc dot gnu.org
  2015-02-03  3:34 ` ian at gcc dot gnu.org
@ 2015-02-03  3:46 ` ian at airs dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ian at airs dot com @ 2015-02-03  3:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64836

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Ian Lance Taylor <ian at airs dot com> ---
Should be fixed.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-03  3:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-28 14:23 [Bug go/64836] New: go.test/test/fixedbugs/issue4348.go FAILs ro at gcc dot gnu.org
2015-01-28 14:25 ` [Bug go/64836] " ro at gcc dot gnu.org
2015-02-03  3:34 ` ian at gcc dot gnu.org
2015-02-03  3:46 ` ian at airs dot com

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).