Skip to content

Commit

Permalink
powerpc: Fix macro usage of htm builtins
Browse files Browse the repository at this point in the history
Some extraneous semicolons were included in a
recent patch which causes a build failure with
newer compilers.
  • Loading branch information
Paul E. Murphy authored and Tulio Magno Quites Machado Filho committed Jan 22, 2016
1 parent fba91f1 commit af8ea0f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>

* sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
semicolon.
(__libc_tend): Likewise.
(__libc_tabort): Likewise.

2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>

* sysdeps/nios2/libm-test-ulps: Update.
Expand Down
6 changes: 3 additions & 3 deletions sysdeps/unix/sysv/linux/powerpc/htm.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@

# ifdef __TM_FENCE__
/* New GCC behavior. */
# define __libc_tbegin(R) __builtin_tbegin (R);
# define __libc_tend(R) __builtin_tend (R);
# define __libc_tabort(R) __builtin_tabort (R);
# define __libc_tbegin(R) __builtin_tbegin (R)
# define __libc_tend(R) __builtin_tend (R)
# define __libc_tabort(R) __builtin_tabort (R)
# else
/* Workaround an old GCC behavior. Earlier releases of GCC 4.9 and 5.0,
didn't use to treat __builtin_tbegin, __builtin_tend and
Expand Down

0 comments on commit af8ea0f

Please sign in to comment.