public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/94903] New: internal compiler error: in assign_temp, at function.c:982
@ 2020-05-01 13:31 anbu1024.me at gmail dot com
2020-05-04 6:25 ` [Bug c/94903] [8/9 Regression] " rguenth at gcc dot gnu.org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: anbu1024.me at gmail dot com @ 2020-05-01 13:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94903
Bug ID: 94903
Summary: internal compiler error: in assign_temp, at
function.c:982
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: anbu1024.me at gmail dot com
Target Milestone: ---
$ cat reduced.c
extern struct S var ;
void foo ( )
{
asm volatile ( "" : "=r" ( var ) ) ;
}
--------------------------------------------------------------------------------
$ gcc-9 --version
gcc (GCC) 9.3.1 20200425
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--------------------------------------------------------------------------------
$ gcc-9 reduced.c
during RTL pass: expand
reduced.c: In function ‘foo’:
reduced.c:6:2: internal compiler error: in assign_temp, at function.c:982
6 | asm volatile ( "" : "=r" ( var ) ) ;
| ^~~
0x5b5f1e assign_temp(tree_node*, int, int)
../../gcc-9-20200425/gcc/function.c:982
0x6e81e1 expand_asm_stmt
../../gcc-9-20200425/gcc/cfgexpand.c:3196
0x6ebc95 expand_gimple_stmt_1
../../gcc-9-20200425/gcc/cfgexpand.c:3688
0x6ebc95 expand_gimple_stmt
../../gcc-9-20200425/gcc/cfgexpand.c:3850
0x6f0b9f expand_gimple_basic_block
../../gcc-9-20200425/gcc/cfgexpand.c:5890
0x6f2f2e execute
../../gcc-9-20200425/gcc/cfgexpand.c:6513
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
--------------------------------------------------------------------------------
$ gcc-8 --version
gcc (GCC) 8.4.1 20200424
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--------------------------------------------------------------------------------
$ gcc-8 reduced.c
during RTL pass: expand
reduced.c: In function ‘foo’:
reduced.c:6:2: internal compiler error: in assign_temp, at function.c:977
asm volatile ( "" : "=r" ( var ) ) ;
^~~
0x5b7eca assign_temp(tree_node*, int, int)
../../gcc-8-20200424/gcc/function.c:977
0x6d51e6 expand_asm_stmt
../../gcc-8-20200424/gcc/cfgexpand.c:3097
0x6d9077 expand_gimple_stmt_1
../../gcc-8-20200424/gcc/cfgexpand.c:3635
0x6d9077 expand_gimple_stmt
../../gcc-8-20200424/gcc/cfgexpand.c:3804
0x6db37f expand_gimple_basic_block
../../gcc-8-20200424/gcc/cfgexpand.c:5837
0x6e08a6 execute
../../gcc-8-20200424/gcc/cfgexpand.c:6443
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
--------------------------------------------------------------------------------
$ gcc-7.4.0 --version
gcc (GCC) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--------------------------------------------------------------------------------
$ gcc-7.4.0 reduced.c
reduced.c: In function ‘foo’:
reduced.c:6:2: internal compiler error: in assign_temp, at function.c:968
asm volatile ( "" : "=r" ( var ) ) ;
^~~
0x7db8b1 assign_temp(tree_node*, int, int)
../../gcc-7.4.0/gcc/function.c:968
0x6aa146 expand_asm_stmt
../../gcc-7.4.0/gcc/cfgexpand.c:3036
0x6addc7 expand_gimple_stmt_1
../../gcc-7.4.0/gcc/cfgexpand.c:3568
0x6addc7 expand_gimple_stmt
../../gcc-7.4.0/gcc/cfgexpand.c:3737
0x6af37f expand_gimple_basic_block
../../gcc-7.4.0/gcc/cfgexpand.c:5744
0x6b44c6 execute
../../gcc-7.4.0/gcc/cfgexpand.c:6357
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/94903] [8/9 Regression] internal compiler error: in assign_temp, at function.c:982
2020-05-01 13:31 [Bug c/94903] New: internal compiler error: in assign_temp, at function.c:982 anbu1024.me at gmail dot com
@ 2020-05-04 6:25 ` rguenth at gcc dot gnu.org
2020-05-04 9:20 ` jakub at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-05-04 6:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94903
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |10.0, 4.8.1
Last reconfirmed| |2020-05-04
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Target Milestone|--- |8.5
Keywords| |accepts-invalid,
| |ice-on-invalid-code
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Trunk was fixed:
t.c: In function ‘foo’:
t.c:5:4: error: impossible constraint in ‘asm’
5 | asm volatile ( "" : "=r" ( var ) ) ;
| ^~~
t.c:5:4: error: non-memory output 0 must stay in memory
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/94903] [8/9 Regression] internal compiler error: in assign_temp, at function.c:982
2020-05-01 13:31 [Bug c/94903] New: internal compiler error: in assign_temp, at function.c:982 anbu1024.me at gmail dot com
2020-05-04 6:25 ` [Bug c/94903] [8/9 Regression] " rguenth at gcc dot gnu.org
@ 2020-05-04 9:20 ` jakub at gcc dot gnu.org
2020-05-04 9:29 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-05-04 9:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94903
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This got fixed with r10-4402-g5f6705b7b57c0461766f784d6d495986163692bb
aka PR92352. And because it was ice-on-invalid, it wasn't backported.
Started to ICE with r6-6108-g451773378f6808ce2b1e1d4eaed40b164ad590da
Richard, if you think I should backport this, I can.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/94903] [8/9 Regression] internal compiler error: in assign_temp, at function.c:982
2020-05-01 13:31 [Bug c/94903] New: internal compiler error: in assign_temp, at function.c:982 anbu1024.me at gmail dot com
2020-05-04 6:25 ` [Bug c/94903] [8/9 Regression] " rguenth at gcc dot gnu.org
2020-05-04 9:20 ` jakub at gcc dot gnu.org
@ 2020-05-04 9:29 ` rguenth at gcc dot gnu.org
2021-05-14 9:53 ` [Bug c/94903] [9 " jakub at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-05-04 9:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94903
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Feel free to backport, it certainly doesn't have high priority.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/94903] [9 Regression] internal compiler error: in assign_temp, at function.c:982
2020-05-01 13:31 [Bug c/94903] New: internal compiler error: in assign_temp, at function.c:982 anbu1024.me at gmail dot com
` (2 preceding siblings ...)
2020-05-04 9:29 ` rguenth at gcc dot gnu.org
@ 2021-05-14 9:53 ` jakub at gcc dot gnu.org
2021-06-01 8:17 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-05-14 9:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94903
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|8.5 |9.4
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8 branch is being closed.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/94903] [9 Regression] internal compiler error: in assign_temp, at function.c:982
2020-05-01 13:31 [Bug c/94903] New: internal compiler error: in assign_temp, at function.c:982 anbu1024.me at gmail dot com
` (3 preceding siblings ...)
2021-05-14 9:53 ` [Bug c/94903] [9 " jakub at gcc dot gnu.org
@ 2021-06-01 8:17 ` rguenth at gcc dot gnu.org
2021-07-19 17:19 ` pinskia at gcc dot gnu.org
2022-05-27 8:52 ` rguenth at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01 8:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94903
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.4 |9.5
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/94903] [9 Regression] internal compiler error: in assign_temp, at function.c:982
2020-05-01 13:31 [Bug c/94903] New: internal compiler error: in assign_temp, at function.c:982 anbu1024.me at gmail dot com
` (4 preceding siblings ...)
2021-06-01 8:17 ` rguenth at gcc dot gnu.org
@ 2021-07-19 17:19 ` pinskia at gcc dot gnu.org
2022-05-27 8:52 ` rguenth at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-19 17:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94903
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gjl at gcc dot gnu.org
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 80573 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/94903] [9 Regression] internal compiler error: in assign_temp, at function.c:982
2020-05-01 13:31 [Bug c/94903] New: internal compiler error: in assign_temp, at function.c:982 anbu1024.me at gmail dot com
` (5 preceding siblings ...)
2021-07-19 17:19 ` pinskia at gcc dot gnu.org
@ 2022-05-27 8:52 ` rguenth at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27 8:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94903
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.5 |10.0
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed in GCC 10.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-05-27 8:52 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-01 13:31 [Bug c/94903] New: internal compiler error: in assign_temp, at function.c:982 anbu1024.me at gmail dot com
2020-05-04 6:25 ` [Bug c/94903] [8/9 Regression] " rguenth at gcc dot gnu.org
2020-05-04 9:20 ` jakub at gcc dot gnu.org
2020-05-04 9:29 ` rguenth at gcc dot gnu.org
2021-05-14 9:53 ` [Bug c/94903] [9 " jakub at gcc dot gnu.org
2021-06-01 8:17 ` rguenth at gcc dot gnu.org
2021-07-19 17:19 ` pinskia at gcc dot gnu.org
2022-05-27 8:52 ` rguenth at gcc dot gnu.org
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).