public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/94607] New: ice in execute_todo, at passes.c:2034
@ 2020-04-15 13:14 dcb314 at hotmail dot com
2020-04-15 13:16 ` [Bug go/94607] " rguenth at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: dcb314 at hotmail dot com @ 2020-04-15 13:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94607
Bug ID: 94607
Summary: ice in execute_todo, at passes.c:2034
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
Assignee: ian at airs dot com
Reporter: dcb314 at hotmail dot com
CC: cmang at google dot com
Target Milestone: ---
A trunk version of gccgo does this
$ /home/dcb/gcc/results.20200415B/bin/gccgo -O3 -march=native
./go.go-torture/execute/array-2.go
during GIMPLE pass: aprefetch
./go.go-torture/execute/array-2.go: In function ‘main.fn’:
./go.go-torture/execute/array-2.go:3:1: internal compiler error: in
execute_todo, at passes.c:2034
3 | func fn(a []int) int {
| ^
0x7142f9 execute_todo
../../trunk.git/gcc/passes.c:2034
Native is AMD FX-8350, a Piledriver architecture.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug go/94607] ice in execute_todo, at passes.c:2034
2020-04-15 13:14 [Bug go/94607] New: ice in execute_todo, at passes.c:2034 dcb314 at hotmail dot com
@ 2020-04-15 13:16 ` rguenth at gcc dot gnu.org
2020-04-15 13:21 ` dcb314 at hotmail dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-04-15 13:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94607
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Possibly just -fprefetch-loop-arrays is required then (not really maintained,
not really used)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug go/94607] ice in execute_todo, at passes.c:2034
2020-04-15 13:14 [Bug go/94607] New: ice in execute_todo, at passes.c:2034 dcb314 at hotmail dot com
2020-04-15 13:16 ` [Bug go/94607] " rguenth at gcc dot gnu.org
@ 2020-04-15 13:21 ` dcb314 at hotmail dot com
2020-04-15 13:54 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: dcb314 at hotmail dot com @ 2020-04-15 13:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94607
--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
Only -O2 -fprefetch-loop-arrays is needed to trigger the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug go/94607] ice in execute_todo, at passes.c:2034
2020-04-15 13:14 [Bug go/94607] New: ice in execute_todo, at passes.c:2034 dcb314 at hotmail dot com
2020-04-15 13:16 ` [Bug go/94607] " rguenth at gcc dot gnu.org
2020-04-15 13:21 ` dcb314 at hotmail dot com
@ 2020-04-15 13:54 ` jakub at gcc dot gnu.org
2020-04-15 20:01 ` cvs-commit at gcc dot gnu.org
2020-04-15 20:19 ` ian at airs dot com
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-04-15 13:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94607
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
2020-04-15 Jakub Jelinek <jakub@redhat.com>
PR go/94607
* go-gcc.cc (Gcc_backend::Gcc_backend): Set DECL_IS_NOVOPS on
BUILT_IN_PREFETCH decl.
--- gcc/go/go-gcc.cc.jj 2020-01-12 11:54:36.630410135 +0100
+++ gcc/go/go-gcc.cc 2020-04-15 15:52:15.243624553 +0200
@@ -804,6 +804,7 @@ Gcc_backend::Gcc_backend()
const_ptr_type_node,
NULL_TREE),
false, false);
+ DECL_IS_NOVOPS(builtin_decl_explicit(BUILT_IN_PREFETCH)) = 1;
// The compiler uses __builtin_unreachable for cases that cannot
// occur.
fixes this.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug go/94607] ice in execute_todo, at passes.c:2034
2020-04-15 13:14 [Bug go/94607] New: ice in execute_todo, at passes.c:2034 dcb314 at hotmail dot com
` (2 preceding siblings ...)
2020-04-15 13:54 ` jakub at gcc dot gnu.org
@ 2020-04-15 20:01 ` cvs-commit at gcc dot gnu.org
2020-04-15 20:19 ` ian at airs dot com
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-04-15 20:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94607
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Ian Lance Taylor <ian@gcc.gnu.org>:
https://gcc.gnu.org/g:eef00439e6723e089e74cd374474e0eac0a9f513
commit r10-7741-geef00439e6723e089e74cd374474e0eac0a9f513
Author: Ian Lance Taylor <iant@golang.org>
Date: Wed Apr 15 12:59:52 2020 -0700
Go Gcc_backend class: mark prefetch as novops
PR go/94607
* go-gcc.cc (class Gcc_backend): Define builtin_const,
builtin_noreturn, builtin_novops.
(Gcc_backend::define_builtin): Change const_p and noreturn_p
parameters to a single flags parameter. Change all callers.
(Gcc_backend::Gcc_backend): Pass novops for prefetch.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug go/94607] ice in execute_todo, at passes.c:2034
2020-04-15 13:14 [Bug go/94607] New: ice in execute_todo, at passes.c:2034 dcb314 at hotmail dot com
` (3 preceding siblings ...)
2020-04-15 20:01 ` cvs-commit at gcc dot gnu.org
@ 2020-04-15 20:19 ` ian at airs dot com
4 siblings, 0 replies; 6+ messages in thread
From: ian at airs dot com @ 2020-04-15 20:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94607
Ian Lance Taylor <ian at airs dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Ian Lance Taylor <ian at airs dot com> ---
Thanks. Fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-04-15 20:19 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-15 13:14 [Bug go/94607] New: ice in execute_todo, at passes.c:2034 dcb314 at hotmail dot com
2020-04-15 13:16 ` [Bug go/94607] " rguenth at gcc dot gnu.org
2020-04-15 13:21 ` dcb314 at hotmail dot com
2020-04-15 13:54 ` jakub at gcc dot gnu.org
2020-04-15 20:01 ` cvs-commit at gcc dot gnu.org
2020-04-15 20:19 ` 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).