[Bug libitm/64360] libitm.c/stackundo.c fails with -fpic
hjl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 15 18:03:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64360
--- Comment #2 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Thu Jan 15 18:03:20 2015
New Revision: 219673
URL: https://gcc.gnu.org/viewcvs?rev=219673&root=gcc&view=rev
Log:
Make test2/test1 static in libitm.c/stackundo.c
libitm.c/stackundo.c fails with -fpic since test1 and test2 may be
preempted with -fpic. This patch makes those 2 functions static.
PR libitm/64360
* libitm.c/stackundo.c (test2): Make it static.
(test1): Likewise.
Modified:
trunk/libitm/ChangeLog
trunk/libitm/testsuite/libitm.c/stackundo.c
More information about the Gcc-bugs
mailing list