https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88273
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=86827 --- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- Based on the text of the warning this looks similar to pr86827 except that I don't see it with the powerpc64-linux or x86_64-linux compilers and I don't have a powerpc cross-compiler handy at the moment. I do see several other warnings for the test case. Not sure if they have any bearing on the reported problem but they do imply the test case is invalid (valid test cases are preferable when reporting problems other than ICE). pr88273.c:3:1: warning: no semicolon at end of struct or union 3 | } b, c; | ^ pr88273.c:4:1: warning: data definition has no type or storage class 4 | d, e; | ^ pr88273.c:4:1: warning: type defaults to ‘int’ in declaration of ‘d’ [-Wimplicit-int] pr88273.c:4:4: warning: type defaults to ‘int’ in declaration of ‘e’ [-Wimplicit-int] 4 | d, e; | ^ pr88273.c:5:8: warning: return type defaults to ‘int’ [-Wimplicit-int] 5 | inline f(void *g, int h, int p3) { | ^ pr88273.c: In function ‘f’: pr88273.c:9:20: warning: passing argument 1 of ‘__builtin_memcpy’ makes pointer from integer without a cast [-Wint-conversion] 9 | __builtin_memcpy(e, g, copy); | ^ | | | int pr88273.c:9:20: note: expected ‘void *’ but argument is of type ‘int’ pr88273.c: At top level: pr88273.c:12:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 12 | j() { | ^ pr88273.c: In function ‘j’: pr88273.c:16:3: warning: no semicolon at end of struct or union 16 | } vrsave; | ^