public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/96150] New: [10/11 Regression] ICE in analyze_function_body on switch since r10-3199
@ 2020-07-10 13:31 jakub at gcc dot gnu.org
2020-07-10 13:31 ` [Bug ipa/96150] " jakub at gcc dot gnu.org
2020-07-10 13:38 ` marxin at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-07-10 13:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96150
Bug ID: 96150
Summary: [10/11 Regression] ICE in analyze_function_body on
switch since r10-3199
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
CC: marxin at gcc dot gnu.org
Target Milestone: ---
The following testcase at -O2 (-O1 and higher) since
r10-3199-g351e7c3b5fbd45bde3efb601f7fee9a31c4f2063
in
rh1855742.i: In function ‘foo’:
rh1855742.i:23:1: internal compiler error: Segmentation fault
23 | }
| ^
0x1300ff4 crash_signal
../../gcc/toplev.c:328
0xf34e3e analyze_function_body
../../gcc/ipa-fnsummary.c:2802
0xf35974 compute_fn_summary(cgraph_node*, bool)
../../gcc/ipa-fnsummary.c:2974
0xf39486 inline_analyze_function(cgraph_node*)
../../gcc/ipa-fnsummary.c:4078
0xf39663 ipa_fn_summary_generate
../../gcc/ipa-fnsummary.c:4121
0x1182288 execute_ipa_summary_passes(ipa_opt_pass_d*)
../../gcc/passes.c:2191
0xbca2f3 ipa_passes
../../gcc/cgraphunit.c:2646
0xbca696 symbol_table::compile()
../../gcc/cgraphunit.c:2756
0xbcac42 symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:3003
struct S { unsigned j : 3; };
int k, l, m;
void
foo (struct S x)
{
while (l != 5)
switch (x.j)
{
case 1:
case 3:
case 4:
case 6:
case 2:
case 5:
l = m;
case 7:
case 0:
k = 0;
default:
break;
}
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug ipa/96150] [10/11 Regression] ICE in analyze_function_body on switch since r10-3199
2020-07-10 13:31 [Bug ipa/96150] New: [10/11 Regression] ICE in analyze_function_body on switch since r10-3199 jakub at gcc dot gnu.org
@ 2020-07-10 13:31 ` jakub at gcc dot gnu.org
2020-07-10 13:38 ` marxin at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-07-10 13:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96150
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
Keywords| |ice-on-valid-code
CC| |fxue at gcc dot gnu.org,
| |hubicka at gcc dot gnu.org,
| |jamborm at gcc dot gnu.org
Last reconfirmed| |2020-07-10
Ever confirmed|0 |1
Target Milestone|--- |10.2
Status|UNCONFIRMED |NEW
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug ipa/96150] [10/11 Regression] ICE in analyze_function_body on switch since r10-3199
2020-07-10 13:31 [Bug ipa/96150] New: [10/11 Regression] ICE in analyze_function_body on switch since r10-3199 jakub at gcc dot gnu.org
2020-07-10 13:31 ` [Bug ipa/96150] " jakub at gcc dot gnu.org
@ 2020-07-10 13:38 ` marxin at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-07-10 13:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96150
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Dup.
*** This bug has been marked as a duplicate of bug 96130 ***
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-07-10 13:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-10 13:31 [Bug ipa/96150] New: [10/11 Regression] ICE in analyze_function_body on switch since r10-3199 jakub at gcc dot gnu.org
2020-07-10 13:31 ` [Bug ipa/96150] " jakub at gcc dot gnu.org
2020-07-10 13:38 ` marxin 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).