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

--- Comment #26 from Gopi Kumar Bulusu <gopi at sankhya dot com> ---
Created attachment 61904
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61904&action=edit
Revised patch

With this patch g++ compiler can be used to build programs.

In particular - this libstdc++ test case (which failed build/execution without
the patch) builds and runs correctly after the patch

PASS: 29_atomics/atomic_flag/clear/1.cc  -std=gnu++17 execution test

This revised patch works with both xl-barrel-shift and no-xl-barrel-shift
options and handles correct shift calculation for big endian target

Reply via email to