This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libitm/64360] libitm.c/stackundo.c fails with -fpic
- From: "hjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 15 Jan 2015 18:03:53 +0000
- Subject: [Bug libitm/64360] libitm.c/stackundo.c fails with -fpic
- Auto-submitted: auto-generated
- References: <bug-64360-4 at http dot gcc dot gnu dot org/bugzilla/>
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