https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96130
Jakub Jelinek changed:
What|Removed |Added
Assignee|fxue at gcc dot gnu.org|jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96130
--- Comment #10 from CVS Commits ---
The releases/gcc-10 branch has been updated by Jakub Jelinek
:
https://gcc.gnu.org/g:0d03c0ee5213703ec6d9ffa632fa5298d83adaaa
commit r10-8472-g0d03c0ee5213703ec6d9ffa632fa5298d83adaaa
Author: Jakub Jelinek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96130
--- Comment #9 from CVS Commits ---
The master branch has been updated by Jakub Jelinek :
https://gcc.gnu.org/g:776e48e0931db69f158f40e5cb8e15463d879a42
commit r11-2066-g776e48e0931db69f158f40e5cb8e15463d879a42
Author: Jakub Jelinek
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96130
Jakub Jelinek changed:
What|Removed |Added
CC||jpalus+gcc at fastmail dot com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96130
--- Comment #7 from Jakub Jelinek ---
Created attachment 48858
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48858=edit
gcc11-pr96130.patch
So, my fix would be like this (untested except on the testcase so far).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96130
--- Comment #6 from Jakub Jelinek ---
My understanding of the problem is that set_switch_stmt_execution_predicate
figures out that the default: is unreachable (operand is a bitfield with values
0 to 7 and there are cases for all 8) and notes
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96130
--- Comment #5 from Jakub Jelinek ---
Reduced testcase from the other PR which is shorter:
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:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96130
Martin Liška changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96130
Richard Biener changed:
What|Removed |Added
Target Milestone|--- |10.2
Priority|P3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96130
--- Comment #3 from Martin Liška ---
Started with r10-3199-g351e7c3b5fbd45bd, leaving to Feng.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96130
Martin Liška changed:
What|Removed |Added
Status|ASSIGNED|NEW
Known to work|
11 matches
Mail list logo