re PR target/65730 (xtensa: ICE in libstdc++-v3/include/bits/atomic_base.h: In functi...
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 20 May 2015 18:56:14 +0000 (18:56 +0000)
committerMax Filippov <jcmvbkbc@gcc.gnu.org>
Wed, 20 May 2015 18:56:14 +0000 (18:56 +0000)
commit91767ed11af18ab39fc7a85850ff4908036e416b
tree3dfe36f601c5749c06ae110f47e03b2d0782edb6
parenteb3243e854017b4db99c2e29f9f440ea1630d98b
re PR target/65730 (xtensa: ICE in libstdc++-v3/include/bits/atomic_base.h: In function ‘bool std::atomic_flag_test_and_set_explicit(std::__atomic_flag_base*, std::memory_order)’)

Fix PR target/65730

2015-05-20  Max Filippov  <jcmvbkbc@gmail.com>
gcc/
* config/xtensa/xtensa.c (init_alignment_context): Replace MULT
by BITS_PER_UNIT with ASHIFT by exact_log2 (BITS_PER_UNIT).

From-SVN: r223452
gcc/ChangeLog
gcc/config/xtensa/xtensa.c