This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/67281] HTM builtins aren't treated as compiler barriers on powerpc


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67281

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
There is no memory access in your testcase at all. Since the variables are all
local variables and nothing takes the address, it can be moved out of the loop
as no other thread can cause that to fail.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]