https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91758
--- Comment #9 from Martin Liška ---
(In reply to Eric Botcazou from comment #8)
> > I've got it. It's a usage of an uninitialize member variable in a class:
> > https://bugs.llvm.org/show_bug.cgi?id=40547#c38
>
> Thanks for catching this!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91758
--- Comment #8 from Eric Botcazou ---
> I've got it. It's a usage of an uninitialize member variable in a class:
> https://bugs.llvm.org/show_bug.cgi?id=40547#c38
Thanks for catching this!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91758
--- Comment #6 from Martin Liška ---
> @Eric, @Jakub, @Richard: Aren't we missing something similar with the store
> merging of bool:1 bit fields?
> I can see the cast to 'unsigned char' from 'bool' in GIMPLE. Both should be
> 1B and
> so that
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91758
Martin Liška changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91758
--- Comment #4 from Martin Liška ---
So no, the affective change is:
D.1259546.IndirectRealign = SR.6335_125;
D.1259546.InReg = SR.6336_130;
_163 = (unsigned char) SR.6335_125;
_50 = (unsigned char) SR.6336_130;
_140 = _50 << 1;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91758
--- Comment #3 from Martin Liška ---
So that's what I have:
1) reduced LLVM test-case:
$ cat /tmp/llvm-project/clang/test/CodeGen/lanai-regparm.c
void f2(int a) __attribute((regparm(0)));
void f0() {
f2(1);
}
2) I applied the following local
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91758
Martin Liška changed:
What|Removed |Added
Status|WAITING |ASSIGNED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91758
Eric Botcazou changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|