[Bug libstdc++/19495] basic_string::_M_rep() can produce an unnaturally aligned pointer to _Rep

amodra at bigpond dot net dot au gcc-bugzilla@gcc.gnu.org
Wed Jan 19 06:28:00 GMT 2005


------- Additional Comments From amodra at bigpond dot net dot au  2005-01-19 06:28 -------
The reason for the bus error is the __exchange_and_add decrement of _M_refcount.
 On powerpc, lwarx and stwcx. must have an aligned effective address.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   GCC host triplet|powerpc-linux               |powerpc*-linux
 GCC target triplet|powerpc-linux               |powerpc*-linux
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-19 06:28:02
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19495



More information about the Gcc-bugs mailing list