public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/114583] New: go.test/test/fixedbugs/issue4562.go FAILs
@ 2024-04-04 13:50 ro at gcc dot gnu.org
  2024-05-02 20:24 ` [Bug go/114583] " ian at airs dot com
  0 siblings, 1 reply; 2+ messages in thread
From: ro at gcc dot gnu.org @ 2024-04-04 13:50 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 114583
           Summary: go.test/test/fixedbugs/issue4562.go FAILs
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: ro at gcc dot gnu.org
  Target Milestone: ---
            Target: sparc-sun-solaris2.11

go.test/test/fixedbugs/issue4562.go FAILs on 32-bit Solaris/SPARC:

panic: runtime error: invalid memory address or nil pointer dereference
[recovered]
        panic: crashed at line 20, wanted line 22
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x0]

goroutine 1 [running]:
main.expectError
       
/vol/gcc/src/hg/master/local/gcc/testsuite/go.test/test/fixedbugs/issue4562.go:33
panic
        /vol/gcc/src/hg/master/local/libgo/go/runtime/panic.go:708
main.main
       
/vol/gcc/src/hg/master/local/gcc/testsuite/go.test/test/fixedbugs/issue4562.go:20

gdb shows

Thread 5 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
main.main ()
    at
/vol/gcc/src/hg/master/local/gcc/testsuite/go.test/test/fixedbugs/issue4562.go:22
22              switch pT.val { // error should be here - line 22
(gdb) bt
#0  main.main ()
    at
/vol/gcc/src/hg/master/local/gcc/testsuite/go.test/test/fixedbugs/issue4562.go:22
(gdb) cont
Continuing.
SIGSEGV: segmentation violation
PC=0x13be8 m=0 sigcode=0

goroutine 1 [running]:
main.main
       
/vol/gcc/src/hg/master/local/gcc/testsuite/go.test/test/fixedbugs/issue4562.go:20

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

* [Bug go/114583] go.test/test/fixedbugs/issue4562.go FAILs
  2024-04-04 13:50 [Bug go/114583] New: go.test/test/fixedbugs/issue4562.go FAILs ro at gcc dot gnu.org
@ 2024-05-02 20:24 ` ian at airs dot com
  0 siblings, 0 replies; 2+ messages in thread
From: ian at airs dot com @ 2024-05-02 20:24 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #1 from Ian Lance Taylor <ian at airs dot com> ---
Appears to be the same problem at PR 114582.

*** This bug has been marked as a duplicate of bug 114582 ***

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

end of thread, other threads:[~2024-05-02 20:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-04 13:50 [Bug go/114583] New: go.test/test/fixedbugs/issue4562.go FAILs ro at gcc dot gnu.org
2024-05-02 20:24 ` [Bug go/114583] " 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).