public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/60288] gccgo crashes compiling '*func_ptr(0)'
[not found] <bug-60288-4@http.gcc.gnu.org/bugzilla/>
@ 2014-02-20 14:48 ` ian at airs dot com
2014-02-20 15:21 ` ian at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 4+ messages in thread
From: ian at airs dot com @ 2014-02-20 14:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60288
--- Comment #2 from Ian Lance Taylor <ian at airs dot com> ---
I don't think there is any parsing issue with the omitted error on line 5.
It's just that gccgo converts *&x to x for any x, and forgets to test that x
must be addressable.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug go/60288] gccgo crashes compiling '*func_ptr(0)'
[not found] <bug-60288-4@http.gcc.gnu.org/bugzilla/>
2014-02-20 14:48 ` [Bug go/60288] gccgo crashes compiling '*func_ptr(0)' ian at airs dot com
@ 2014-02-20 15:21 ` ian at gcc dot gnu.org
2014-02-20 15:21 ` ian at airs dot com
2014-02-21 8:51 ` vogt at linux dot vnet.ibm.com
3 siblings, 0 replies; 4+ messages in thread
From: ian at gcc dot gnu.org @ 2014-02-20 15:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60288
--- Comment #3 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Thu Feb 20 15:20:26 2014
New Revision: 207960
URL: http://gcc.gnu.org/viewcvs?rev=207960&root=gcc&view=rev
Log:
PR go/60288
compiler: Avoid crash, give error for *&x when x is not addressable.
Modified:
trunk/gcc/go/gofrontend/expressions.cc
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug go/60288] gccgo crashes compiling '*func_ptr(0)'
[not found] <bug-60288-4@http.gcc.gnu.org/bugzilla/>
2014-02-20 14:48 ` [Bug go/60288] gccgo crashes compiling '*func_ptr(0)' ian at airs dot com
2014-02-20 15:21 ` ian at gcc dot gnu.org
@ 2014-02-20 15:21 ` ian at airs dot com
2014-02-21 8:51 ` vogt at linux dot vnet.ibm.com
3 siblings, 0 replies; 4+ messages in thread
From: ian at airs dot com @ 2014-02-20 15:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60288
Ian Lance Taylor <ian at airs dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Ian Lance Taylor <ian at airs dot com> ---
Fixed. Thanks for reporting it.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug go/60288] gccgo crashes compiling '*func_ptr(0)'
[not found] <bug-60288-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2014-02-20 15:21 ` ian at airs dot com
@ 2014-02-21 8:51 ` vogt at linux dot vnet.ibm.com
3 siblings, 0 replies; 4+ messages in thread
From: vogt at linux dot vnet.ibm.com @ 2014-02-21 8:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60288
Dominik Vogt <vogt at linux dot vnet.ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #5 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
Fix for both symptoms verified.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-02-21 8:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-60288-4@http.gcc.gnu.org/bugzilla/>
2014-02-20 14:48 ` [Bug go/60288] gccgo crashes compiling '*func_ptr(0)' ian at airs dot com
2014-02-20 15:21 ` ian at gcc dot gnu.org
2014-02-20 15:21 ` ian at airs dot com
2014-02-21 8:51 ` vogt at linux dot vnet.ibm.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).