public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libitm/52854] New: [x32] libitm failures on x32
@ 2012-04-03 19:25 hjl.tools at gmail dot com
  2012-04-03 19:45 ` [Bug libitm/52854] " hjl.tools at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2012-04-03 19:25 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52854

             Bug #: 52854
           Summary: [x32] libitm failures on x32
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libitm
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com


On Linux/x32, there are 2 testsuite failures:

FAIL: libitm.c/cancel.c execution test
FAIL: libitm.c/stackundo.c execution test

libitm.c/cancel.c looks like

Breakpoint 1, main ()
    at /export/gnu/import/git/gcc/libitm/testsuite/libitm.c/cancel.c:14
14    {
(gdb) next
17      __transaction_atomic {
(gdb) 
15      a = b = 0;
(gdb) 
17      __transaction_atomic {
(gdb) 
18        a = 1;
(gdb) 
19        __transaction_atomic {
(gdb) 
20          b = 1;
(gdb) 
21          __transaction_cancel;
(gdb) 
24      if (a != 1 || b != 0)
(gdb) 
26      if (_ITM_inTransaction() != outsideTransaction)
(gdb) 
29      __transaction_atomic [[outer]] {
(gdb) 
30        a = 2;
(gdb) 
31        __transaction_atomic {
(gdb) 
44          b = 2;
(gdb) 
45          __transaction_cancel [[outer]];
(gdb) 

Program received signal SIGSEGV, Segmentation fault.
0x00000020 in ?? ()
(gdb)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libitm/52854] [x32] libitm failures on x32
  2012-04-03 19:25 [Bug libitm/52854] New: [x32] libitm failures on x32 hjl.tools at gmail dot com
@ 2012-04-03 19:45 ` hjl.tools at gmail dot com
  2012-04-04 15:49 ` hjl at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2012-04-03 19:45 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52854

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-p
                   |                            |atches/2012-04/msg00122.htm
                   |                            |l

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2012-04-03 19:44:58 UTC ---
A patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2012-04/msg00122.html


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libitm/52854] [x32] libitm failures on x32
  2012-04-03 19:25 [Bug libitm/52854] New: [x32] libitm failures on x32 hjl.tools at gmail dot com
  2012-04-03 19:45 ` [Bug libitm/52854] " hjl.tools at gmail dot com
@ 2012-04-04 15:49 ` hjl at gcc dot gnu.org
  2012-04-04 15:53 ` hjl at gcc dot gnu.org
  2012-04-04 21:22 ` ubizjak at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl at gcc dot gnu.org @ 2012-04-04 15:49 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52854

--- Comment #2 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2012-04-04 15:49:31 UTC ---
Author: hjl
Date: Wed Apr  4 15:49:23 2012
New Revision: 186140

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186140
Log:
Use long long in gtm_jmpbuf for x86-64

2012-04-04  H.J. Lu  <hongjiu.lu@intel.com>

    PR libitm/52854
    * config/x86/target.h (gtm_jmpbuf): Replace long with long long
    for x86-64.

Modified:
    trunk/libitm/ChangeLog
    trunk/libitm/config/x86/target.h


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libitm/52854] [x32] libitm failures on x32
  2012-04-03 19:25 [Bug libitm/52854] New: [x32] libitm failures on x32 hjl.tools at gmail dot com
  2012-04-03 19:45 ` [Bug libitm/52854] " hjl.tools at gmail dot com
  2012-04-04 15:49 ` hjl at gcc dot gnu.org
@ 2012-04-04 15:53 ` hjl at gcc dot gnu.org
  2012-04-04 21:22 ` ubizjak at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl at gcc dot gnu.org @ 2012-04-04 15:53 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52854

--- Comment #3 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2012-04-04 15:51:23 UTC ---
Author: hjl
Date: Wed Apr  4 15:51:15 2012
New Revision: 186141

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186141
Log:
Use long long in gtm_jmpbuf for x86-64

2012-04-04  H.J. Lu  <hongjiu.lu@intel.com>

    Backported from mainline
    2012-04-04  H.J. Lu  <hongjiu.lu@intel.com>

    PR libitm/52854
    * config/x86/target.h (gtm_jmpbuf): Replace long with long long
    for x86-64.

Modified:
    branches/gcc-4_7-branch/libitm/ChangeLog
    branches/gcc-4_7-branch/libitm/config/x86/target.h


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libitm/52854] [x32] libitm failures on x32
  2012-04-03 19:25 [Bug libitm/52854] New: [x32] libitm failures on x32 hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2012-04-04 15:53 ` hjl at gcc dot gnu.org
@ 2012-04-04 21:22 ` ubizjak at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: ubizjak at gmail dot com @ 2012-04-04 21:22 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52854

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x32
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.7.1

--- Comment #4 from Uros Bizjak <ubizjak at gmail dot com> 2012-04-04 21:22:19 UTC ---
Fixed.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-04-04 21:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-03 19:25 [Bug libitm/52854] New: [x32] libitm failures on x32 hjl.tools at gmail dot com
2012-04-03 19:45 ` [Bug libitm/52854] " hjl.tools at gmail dot com
2012-04-04 15:49 ` hjl at gcc dot gnu.org
2012-04-04 15:53 ` hjl at gcc dot gnu.org
2012-04-04 21:22 ` ubizjak at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).