This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libitm/64360] libitm.c/stackundo.c fails with -fpic


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]