https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116299
Andrew Pinski changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116299
--- Comment #8 from Ryan ---
The assembly generated on godbolt for ppc64el is indeed different with the
"volatile" included. It may be the default that -O3 is supposed to aggressively
optimize this away, but the spltting trick works for architec
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116299
--- Comment #7 from Ryan ---
Created attachment 58887
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58887&action=edit
Error in splitting trick when optimizing.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116299
--- Comment #6 from Sam James ---
Please provide preprocessed sources for the bad TU and then try to extract the
issue into a standalone file we can compile & execute.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116299
--- Comment #5 from Ryan ---
Appending.
Compiler Options:
-pedantic -Wall -Wextra -Wpedantic -Wmissing-field-initializers
-Wconversion -Wmissing-prototypes -Wmissing-declarations
-Winit-self -Wnull-dereference -Wwrit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116299
--- Comment #4 from Ryan ---
Ah, sure here you go.
Output of gcc -v:
gcc version 12.2.0 (Debian 12.2.0-14)
Target: powerpc64le-linux-gnu
Thread model: posix
Output of uname -a:
Linux Ryans-CotG 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116299
--- Comment #3 from Andrew Pinski ---
Please read https://gcc.gnu.org/bugs/#need .
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116299
--- Comment #2 from Ryan ---
It is a part of a rather large library.
How much of it do you want?
Here is the full function, in a working condition.
/* TMPL_STATIC_INLINE macro found here.
*/
#include
/*
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116299
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2024-08-08
Status|UNCONFIRM