https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87532
--- Comment #1 from Will Schmidt <willschm at gcc dot gnu.org> --- Created attachment 44797 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44797&action=edit simpler testcase variation Simplified the testcase a bit. comment/uncomment the noinline attribute on the get_auto_n() function to toggle pass/fail. Fails with -O2. on Power8. (probably also power9).