[Bug middle-end/91131] Bad bitfield coalescing

2019-09-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91131 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug middle-end/91131] Bad bitfield coalescing

2019-09-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91131 --- Comment #15 from Richard Biener --- Author: rguenth Date: Mon Sep 2 12:56:24 2019 New Revision: 275317 URL: https://gcc.gnu.org/viewcvs?rev=275317=gcc=rev Log: 2019-09-02 Richard Biener Backport from mainline 2019-07-19

[Bug middle-end/91131] Bad bitfield coalescing

2019-08-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91131 --- Comment #14 from Richard Biener --- Author: rguenth Date: Fri Aug 30 11:39:19 2019 New Revision: 275100 URL: https://gcc.gnu.org/viewcvs?rev=275100=gcc=rev Log: 2019-08-30 Richard Biener Backport from mainline 2019-08-12

[Bug middle-end/91131] Bad bitfield coalescing

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91131 --- Comment #13 from Richard Biener --- Author: rguenth Date: Wed Jul 31 15:40:36 2019 New Revision: 273939 URL: https://gcc.gnu.org/viewcvs?rev=273939=gcc=rev Log: 2019-07-31 Richard Biener Backport from mainline 2019-07-19

[Bug middle-end/91131] Bad bitfield coalescing

2019-07-11 Thread pdj at knaldgas dot dk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91131 --- Comment #12 from Per Dalgas Jakobsen --- Created attachment 46591 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46591=edit Added more combinations of bitfield sets. Now includes all 8 combinations of zero/non-zero assignments to 3

[Bug middle-end/91131] Bad bitfield coalescing

2019-07-11 Thread pdj at knaldgas dot dk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91131 --- Comment #11 from Per Dalgas Jakobsen --- (In reply to Richard Biener from comment #10) > (In reply to Per Dalgas Jakobsen from comment #9) > > avr-gcc -O3 (and -Os, -O1, -O2): > > sts 0x0064, r1 ; 0x800064 > > ldi r24,

[Bug middle-end/91131] Bad bitfield coalescing

2019-07-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91131 --- Comment #10 from Richard Biener --- (In reply to Per Dalgas Jakobsen from comment #9) > (In reply to Richard Biener from comment #8) > > Fixed on trunk sofar. > > > > Note the non-optimal code-gen probably was a side-effect of us making > >

[Bug middle-end/91131] Bad bitfield coalescing

2019-07-11 Thread pdj at knaldgas dot dk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91131 --- Comment #9 from Per Dalgas Jakobsen --- (In reply to Richard Biener from comment #8) > Fixed on trunk sofar. > > Note the non-optimal code-gen probably was a side-effect of us making > three volatile accesses out of one. On x86 I now see >

[Bug middle-end/91131] Bad bitfield coalescing

2019-07-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91131 Richard Biener changed: What|Removed |Added Known to work||10.0 Known to fail|10.0

[Bug middle-end/91131] Bad bitfield coalescing

2019-07-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91131 --- Comment #7 from Richard Biener --- Author: rguenth Date: Thu Jul 11 07:32:04 2019 New Revision: 273376 URL: https://gcc.gnu.org/viewcvs?rev=273376=gcc=rev Log: 2019-07-11 Richard Biener PR middle-end/91131 * gimplify.c

[Bug middle-end/91131] Bad bitfield coalescing

2019-07-11 Thread pdj at knaldgas dot dk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91131 --- Comment #6 from Per Dalgas Jakobsen --- (In reply to Richard Biener from comment #3) > note your use of packed might end up doing more than one store depending > on the architecture. If you mean that a packed structure beyond the data-width

[Bug middle-end/91131] Bad bitfield coalescing

2019-07-10 Thread pdj at knaldgas dot dk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91131 --- Comment #5 from Per Dalgas Jakobsen --- (In reply to Richard Biener from comment #2) > So your complaint is that > > struct Reg_T { > unsigned int a : 3; > unsigned int b : 1; > unsigned int c : 4; > }

[Bug middle-end/91131] Bad bitfield coalescing

2019-07-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91131 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/91131] Bad bitfield coalescing

2019-07-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91131 --- Comment #3 from Richard Biener --- Index: gcc/gimplify.c === --- gcc/gimplify.c (revision 273355) +++ gcc/gimplify.c (working copy) @@ -5005,7 +5004,7 @@

[Bug middle-end/91131] Bad bitfield coalescing

2019-07-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91131 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/91131] Bad bitfield coalescing

2019-07-10 Thread pdj at knaldgas dot dk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91131 --- Comment #1 from Per Dalgas Jakobsen --- Created attachment 46585 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46585=edit MWE: Preprocessed C-file