public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/95362] New: [11 regression] pr34457-1.c fails on arm since ga746f952abb78af9db28a7f3bce442e113877c9c
@ 2020-05-27 11:32 clyon at gcc dot gnu.org
2020-05-27 11:34 ` [Bug other/95362] [11 regression] pr34457-1.c and pr92088-1.c fail on arm and aarch64 " clyon at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: clyon at gcc dot gnu.org @ 2020-05-27 11:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95362
Bug ID: 95362
Summary: [11 regression] pr34457-1.c fails on arm since
ga746f952abb78af9db28a7f3bce442e113877c9c
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: clyon at gcc dot gnu.org
Target Milestone: ---
Hi,
since ga746f952abb78af9db28a7f3bce442e113877c9c, I've noticed that
pr34457-1.c fails on arm and aarch64:
FAIL: gcc.dg/pr34457-1.c (internal compiler error)
FAIL: gcc.dg/pr34457-1.c (test for excess errors)
Excess errors:
during IPA pass: cp
lto1: internal compiler error: in operator[], at vec.h:867
0x99feed vec<lto_encoder_entry, va_heap, vl_embed>::operator[](unsigned int)
/gcc/vec.h:867
0x99feed vec<lto_encoder_entry, va_heap, vl_ptr>::operator[](unsigned int)
/gcc/vec.h:1433
0x99feed lto_symtab_encoder_deref
/gcc/lto-streamer.h:1173
0x99feed ipa_prop_read_section
/gcc/ipa-prop.c:5060
0x99feed ipa_prop_read_jump_functions()
/gcc/ipa-prop.c:5089
0xaf2fb1 ipa_read_summaries_1
/gcc/passes.c:2837
0x64b9a5 read_cgraph_and_symbols(unsigned int, char const**)
/gcc/lto/lto-common.c:2921
0x62d432 lto_main()
/gcc/lto/lto.c:625
lto-wrapper: fatal error:
/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-linux-gnueabi/gcc3/gcc/xgcc
returned 1 exit status
compilation terminated.
/aci-gcc-fsf/builds/gcc-fsf-gccsrc/tools/arm-none-linux-gnueabi/bin/ld: error:
lto-wrapper failed
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug other/95362] [11 regression] pr34457-1.c and pr92088-1.c fail on arm and aarch64 since ga746f952abb78af9db28a7f3bce442e113877c9c
2020-05-27 11:32 [Bug other/95362] New: [11 regression] pr34457-1.c fails on arm since ga746f952abb78af9db28a7f3bce442e113877c9c clyon at gcc dot gnu.org
@ 2020-05-27 11:34 ` clyon at gcc dot gnu.org
2020-05-27 11:43 ` [Bug lto/95362] [11 regression] pr34457-1.c and pr92088-1.c fail on arm and aarch64 since g:a746f952abb78af9db28a7f3bce442e113877c9c marxin at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: clyon at gcc dot gnu.org @ 2020-05-27 11:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95362
Christophe Lyon <clyon at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[11 regression] pr34457-1.c |[11 regression] pr34457-1.c
|fails on arm since |and pr92088-1.c fail on arm
|ga746f952abb78af9db28a7f3bc |and aarch64 since
|e442e113877c9c |ga746f952abb78af9db28a7f3bc
| |e442e113877c9c
--- Comment #1 from Christophe Lyon <clyon at gcc dot gnu.org> ---
FAIL: gcc.dg/torture/pr92088-1.c -O2 -flto -fno-use-linker-plugin
-flto-partition=none (internal compiler error)
FAIL: gcc.dg/torture/pr92088-1.c -O2 -flto -fno-use-linker-plugin
-flto-partition=none (test for excess errors)
Excess errors:
during IPA pass: cp
lto1: internal compiler error: Segmentation fault
0xbd698f crash_signal
/gcc/toplev.c:328
0x8b9244 unshare_expr_without_location(tree_node*)
/gcc/gimplify.c:1039
0x9926eb ipa_set_jf_constant
/gcc/ipa-prop.c:539
0x99e0b9 ipa_read_jump_function
/gcc/ipa-prop.c:4629
0x99f357 ipa_read_edge_info
/gcc/ipa-prop.c:4909
0x99fb91 ipa_read_node_info
/gcc/ipa-prop.c:4978
0x99fb91 ipa_prop_read_section
/gcc/ipa-prop.c:5062
0x99fb91 ipa_prop_read_jump_functions()
/gcc/ipa-prop.c:5089
0xaf2fb1 ipa_read_summaries_1
/gcc/passes.c:2837
0x64b9a5 read_cgraph_and_symbols(unsigned int, char const**)
/gcc/lto/lto-common.c:2921
0x62d432 lto_main()
/gcc/lto/lto.c:625
lto-wrapper: fatal error:
/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-linux-gnueabi/gcc3/gcc/xgcc
returned 1 exit status
compilation terminated.
collect2: fatal error: lto-wrapper returned 1 exit status
compilation terminated.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/95362] [11 regression] pr34457-1.c and pr92088-1.c fail on arm and aarch64 since g:a746f952abb78af9db28a7f3bce442e113877c9c
2020-05-27 11:32 [Bug other/95362] New: [11 regression] pr34457-1.c fails on arm since ga746f952abb78af9db28a7f3bce442e113877c9c clyon at gcc dot gnu.org
2020-05-27 11:34 ` [Bug other/95362] [11 regression] pr34457-1.c and pr92088-1.c fail on arm and aarch64 " clyon at gcc dot gnu.org
@ 2020-05-27 11:43 ` marxin at gcc dot gnu.org
2020-05-27 12:52 ` marxin at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-05-27 11:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95362
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2020-05-27
Status|UNCONFIRMED |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org
Component|other |lto
CC| |hubicka at gcc dot gnu.org
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/95362] [11 regression] pr34457-1.c and pr92088-1.c fail on arm and aarch64 since g:a746f952abb78af9db28a7f3bce442e113877c9c
2020-05-27 11:32 [Bug other/95362] New: [11 regression] pr34457-1.c fails on arm since ga746f952abb78af9db28a7f3bce442e113877c9c clyon at gcc dot gnu.org
2020-05-27 11:34 ` [Bug other/95362] [11 regression] pr34457-1.c and pr92088-1.c fail on arm and aarch64 " clyon at gcc dot gnu.org
2020-05-27 11:43 ` [Bug lto/95362] [11 regression] pr34457-1.c and pr92088-1.c fail on arm and aarch64 since g:a746f952abb78af9db28a7f3bce442e113877c9c marxin at gcc dot gnu.org
@ 2020-05-27 12:52 ` marxin at gcc dot gnu.org
2020-05-28 7:32 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-05-27 12:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95362
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|arm aarch64 |arm, aarch64, x86_64
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
One can reproduce that on x86_64-linux-gnu as well:
$ cat ice.c
void bar();
int
main(int argc, char **argv) {
struct s {
char b[argc];
};
void nested(struct s x) {}
bar(nested);
return 0;
}
$ gcc -O2 -flto ice.c
during IPA pass: cp
lto1: internal compiler error: in operator[], at vec.h:867
0x665956 vec<ipa_jump_func, va_gc, vl_embed>::operator[](unsigned int)
/home/marxin/Programming/gcc/gcc/vec.h:867
0x665956 ipa_get_ith_jump_func
/home/marxin/Programming/gcc/gcc/ipa-prop.h:825
0x667e38 vec<lto_encoder_entry, va_heap, vl_ptr>::operator[](unsigned int)
/home/marxin/Programming/gcc/gcc/alloc-pool.h:260
0x667e38 lto_symtab_encoder_deref
/home/marxin/Programming/gcc/gcc/lto-streamer.h:1173
0x667e38 ipa_prop_read_section
/home/marxin/Programming/gcc/gcc/ipa-prop.c:5059
0x667e38 ipa_prop_read_jump_functions()
/home/marxin/Programming/gcc/gcc/ipa-prop.c:5089
0xc5299e ipa_read_summaries_1
/home/marxin/Programming/gcc/gcc/passes.c:2837
0x850cec read_cgraph_and_symbols(unsigned int, char const**)
/home/marxin/Programming/gcc/gcc/lto/lto-common.c:2921
0x837a52 lto_main()
/home/marxin/Programming/gcc/gcc/lto/lto.c:625
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.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/95362] [11 regression] pr34457-1.c and pr92088-1.c fail on arm and aarch64 since g:a746f952abb78af9db28a7f3bce442e113877c9c
2020-05-27 11:32 [Bug other/95362] New: [11 regression] pr34457-1.c fails on arm since ga746f952abb78af9db28a7f3bce442e113877c9c clyon at gcc dot gnu.org
` (2 preceding siblings ...)
2020-05-27 12:52 ` marxin at gcc dot gnu.org
@ 2020-05-28 7:32 ` rguenth at gcc dot gnu.org
2020-05-29 10:26 ` cvs-commit at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-05-28 7:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95362
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |11.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/95362] [11 regression] pr34457-1.c and pr92088-1.c fail on arm and aarch64 since g:a746f952abb78af9db28a7f3bce442e113877c9c
2020-05-27 11:32 [Bug other/95362] New: [11 regression] pr34457-1.c fails on arm since ga746f952abb78af9db28a7f3bce442e113877c9c clyon at gcc dot gnu.org
` (3 preceding siblings ...)
2020-05-28 7:32 ` rguenth at gcc dot gnu.org
@ 2020-05-29 10:26 ` cvs-commit at gcc dot gnu.org
2020-08-14 11:37 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-05-29 10:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95362
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jan Hubicka <hubicka@gcc.gnu.org>:
https://gcc.gnu.org/g:11041c3151e30d197d1c2774721db24332eeccef
commit r11-716-g11041c3151e30d197d1c2774721db24332eeccef
Author: Jan Hubicka <jh@suse.cz>
Date: Fri May 29 12:25:48 2020 +0200
Fix streamer desynchornization caused by streamer debugging patch
it turns out I lost one hunk in the patch disabling extra streaming
which causes streamer to go out of sync in the case non-trivial scc
containing the node being streamed appears in local stream (which seems
quite rare since it does not happen during bootstrap).
2020-05-29 Jan Hubicka <hubicka@ucw.cz>
PR lto/95362
* lto-streamer-out.c (lto_output_tree): Disable redundant
streaming.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/95362] [11 regression] pr34457-1.c and pr92088-1.c fail on arm and aarch64 since g:a746f952abb78af9db28a7f3bce442e113877c9c
2020-05-27 11:32 [Bug other/95362] New: [11 regression] pr34457-1.c fails on arm since ga746f952abb78af9db28a7f3bce442e113877c9c clyon at gcc dot gnu.org
` (4 preceding siblings ...)
2020-05-29 10:26 ` cvs-commit at gcc dot gnu.org
@ 2020-08-14 11:37 ` cvs-commit at gcc dot gnu.org
2020-10-16 11:47 ` rguenth at gcc dot gnu.org
2020-10-16 11:47 ` rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-08-14 11:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95362
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Jan Hubicka
<hubicka@gcc.gnu.org>:
https://gcc.gnu.org/g:630474c8904cf797d0ee022d2ab177e25932c1d7
commit r10-8629-g630474c8904cf797d0ee022d2ab177e25932c1d7
Author: Jan Hubicka <jh@suse.cz>
Date: Fri May 29 12:25:48 2020 +0200
Fix streamer desynchornization caused by streamer debugging patch
it turns out I lost one hunk in the patch disabling extra streaming
which causes streamer to go out of sync in the case non-trivial scc
containing the node being streamed appears in local stream (which seems
quite rare since it does not happen during bootstrap).
2020-05-29 Jan Hubicka <hubicka@ucw.cz>
PR lto/95362
* lto-streamer-out.c (lto_output_tree): Disable redundant
streaming.
(cherry picked from commit 11041c3151e30d197d1c2774721db24332eeccef)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/95362] [11 regression] pr34457-1.c and pr92088-1.c fail on arm and aarch64 since g:a746f952abb78af9db28a7f3bce442e113877c9c
2020-05-27 11:32 [Bug other/95362] New: [11 regression] pr34457-1.c fails on arm since ga746f952abb78af9db28a7f3bce442e113877c9c clyon at gcc dot gnu.org
` (5 preceding siblings ...)
2020-08-14 11:37 ` cvs-commit at gcc dot gnu.org
@ 2020-10-16 11:47 ` rguenth at gcc dot gnu.org
2020-10-16 11:47 ` rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-16 11:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95362
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/95362] [11 regression] pr34457-1.c and pr92088-1.c fail on arm and aarch64 since g:a746f952abb78af9db28a7f3bce442e113877c9c
2020-05-27 11:32 [Bug other/95362] New: [11 regression] pr34457-1.c fails on arm since ga746f952abb78af9db28a7f3bce442e113877c9c clyon at gcc dot gnu.org
` (6 preceding siblings ...)
2020-10-16 11:47 ` rguenth at gcc dot gnu.org
@ 2020-10-16 11:47 ` rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-16 11:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95362
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |seurer at linux dot vnet.ibm.com
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 95376 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-10-16 11:47 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27 11:32 [Bug other/95362] New: [11 regression] pr34457-1.c fails on arm since ga746f952abb78af9db28a7f3bce442e113877c9c clyon at gcc dot gnu.org
2020-05-27 11:34 ` [Bug other/95362] [11 regression] pr34457-1.c and pr92088-1.c fail on arm and aarch64 " clyon at gcc dot gnu.org
2020-05-27 11:43 ` [Bug lto/95362] [11 regression] pr34457-1.c and pr92088-1.c fail on arm and aarch64 since g:a746f952abb78af9db28a7f3bce442e113877c9c marxin at gcc dot gnu.org
2020-05-27 12:52 ` marxin at gcc dot gnu.org
2020-05-28 7:32 ` rguenth at gcc dot gnu.org
2020-05-29 10:26 ` cvs-commit at gcc dot gnu.org
2020-08-14 11:37 ` cvs-commit at gcc dot gnu.org
2020-10-16 11:47 ` rguenth at gcc dot gnu.org
2020-10-16 11:47 ` 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).