public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/21095] New: [4.1 regression]: ./gcj-dbtool is in an infinite loop
@ 2005-04-18 21:05 hjl at lucon dot org
  2005-04-18 21:31 ` [Bug target/21095] " hjl at lucon dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hjl at lucon dot org @ 2005-04-18 21:05 UTC (permalink / raw)
  To: gcc-bugs

Something changed over the weekend which causes gcj-dbtool went into
an infinite loop

#1  0x2000000001f218c0 in nanosleep () from /lib/tls/libc.so.6.1
#2  0x2000000001f8e900 in usleep () from /lib/tls/libc.so.6.1
#3  0x2000000000c083d0 in spin (n=5330) at platform.h:102
#4  0x2000000000c08560 in wait_unlocked (he=0x2000000001d06800)
    at /net/gnu/export/gnu/src/gcc/gcc/libjava/java/lang/natObject.cc:627
#5  0x2000000000c092c0 in _Jv_MonitorEnter (obj=Variable "obj" is not available.)
    at /net/gnu/export/gnu/src/gcc/gcc/libjava/java/lang/natObject.cc:949
#6  0x2000000000c02920 in java::lang::Class::initializeClass (
    this=0x200000000182b1b8) at cni.h:99
#7  0x2000000000b8fe00 in _Jv_CreateJavaVM (vm_args=0x0) at Class.h:575
#8  0x2000000000b903e0 in _Jv_RunMain (vm_args=0x0, klass=0x600000000000ab30,
    name=0x0, argc=3, argv=0x60000fffffffa198, is_jar=false)
    at /net/gnu/export/gnu/src/gcc/gcc/libjava/prims.cc:1329
#9  0x2000000000b908b0 in _Jv_RunMain (klass=0x600000000000ab30, name=0x0,
    argc=3, argv=0x60000fffffffa198, is_jar=false)
    at /net/gnu/export/gnu/src/gcc/gcc/libjava/prims.cc:1375
#10 0x2000000000b90920 in JvRunMain (klass=0x600000000000ab30, argc=3,
    argv=0x60000fffffffa198)
    at /net/gnu/export/gnu/src/gcc/gcc/libjava/prims.cc:1381
#11 0x4000000000003680 in main (argc=3, argv=0x60000fffffffa198)
    at /tmp/ccq0iZBJ.i:11

-- 
           Summary: [4.1 regression]: ./gcj-dbtool is in an infinite loop
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: ia64-unknown-linux-gnu
  GCC host triplet: ia64-unknown-linux-gnu
GCC target triplet: ia64-unknown-linux-gnu


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


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

* [Bug target/21095] [4.1 regression]: ./gcj-dbtool is in an infinite loop
  2005-04-18 21:05 [Bug target/21095] New: [4.1 regression]: ./gcj-dbtool is in an infinite loop hjl at lucon dot org
@ 2005-04-18 21:31 ` hjl at lucon dot org
  2005-04-18 22:06 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: hjl at lucon dot org @ 2005-04-18 21:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hjl at lucon dot org  2005-04-18 21:31 -------
It looks like compare_and_swap gets miscompiled on ia64.
Working

[.LBB173:]
        .loc 7 24 0
        .mmi
        mov ar.ccv = r36
        nop 0
        or r14 = 1, r36
        .mmi
        mf
[.LBE173:]
[.LBE172:]
        .loc 1 945 0
        nop 0
        and r15 = 2, r36
[.LVL85:]
[.LBB174:]
[.LBB175:]
        .loc 7 24 0
        ;;
        .mmi
        nop 0
        cmpxchg8.acq r14 = [r33], r14, ar.ccv
[.LBE175:]
[.LBE174:]
        .loc 1 946 0
        nop 0
        ;;
        .mib
        nop 0
        cmp.eq p6, p7 = r36, r14
        (p6) br.cond.dpnt .L170
.L168:
        .loc 1 949 0
        .mib
        mov r42 = r33
[.LVL86:]
        nop 0
        br.call.sptk.many b0 = _Z13wait_unlockedP10hash_entry#
[.LVL87:]
        ;;

Not working:

[.LBB175:]
        .loc 5 24 0
        .mmi
        mov ar.ccv = r36
        nop 0
        or r14 = 1, r36
        .mmi
        mf
[.LBE175:]
[.LBE174:]
        .loc 1 945 0
        nop 0
        and r42 = 2, r36
[.LVL92:]
[.LBB176:]
[.LBB177:]
        .loc 5 24 0
        ;;
        .mmi
        nop 0
        cmpxchg8.acq r15 = [r33], r14, ar.ccv
[.LBE177:]
[.LBE176:]
        .loc 1 946 0
        nop 0
        ;;
        .mib
        nop 0
        cmp.eq p6, p7 = r14, r15
        (p6) br.cond.dpnt .L172
[.LVL93:]
.L170:
        .loc 1 949 0
        .mib
        mov r42 = r33
[.LVL94:]
        nop 0
        br.call.sptk.many b0 = _Z13wait_unlockedP10hash_entry#
[.LVL95:]
        ;;

-- 


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


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

* [Bug target/21095] [4.1 regression]: ./gcj-dbtool is in an infinite loop
  2005-04-18 21:05 [Bug target/21095] New: [4.1 regression]: ./gcj-dbtool is in an infinite loop hjl at lucon dot org
  2005-04-18 21:31 ` [Bug target/21095] " hjl at lucon dot org
@ 2005-04-18 22:06 ` pinskia at gcc dot gnu dot org
  2005-04-20  6:55 ` rth at gcc dot gnu dot org
  2005-04-20  6:55 ` rth at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-18 22:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-18 22:06 -------
Then this is a dup of bug 21069.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |21069


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


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

* [Bug target/21095] [4.1 regression]: ./gcj-dbtool is in an infinite loop
  2005-04-18 21:05 [Bug target/21095] New: [4.1 regression]: ./gcj-dbtool is in an infinite loop hjl at lucon dot org
                   ` (2 preceding siblings ...)
  2005-04-20  6:55 ` rth at gcc dot gnu dot org
@ 2005-04-20  6:55 ` rth at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-04-20  6:55 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 21095 depends on bug 21069, which changed state.

Bug 21069 Summary: [4.1 Regression] gcc.dg/ia64-sync-*.c execution tests fail
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21069

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

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


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

* [Bug target/21095] [4.1 regression]: ./gcj-dbtool is in an infinite loop
  2005-04-18 21:05 [Bug target/21095] New: [4.1 regression]: ./gcj-dbtool is in an infinite loop hjl at lucon dot org
  2005-04-18 21:31 ` [Bug target/21095] " hjl at lucon dot org
  2005-04-18 22:06 ` pinskia at gcc dot gnu dot org
@ 2005-04-20  6:55 ` rth at gcc dot gnu dot org
  2005-04-20  6:55 ` rth at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-04-20  6:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-04-20 06:55 -------


*** This bug has been marked as a duplicate of 21069 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2005-04-20  6:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-18 21:05 [Bug target/21095] New: [4.1 regression]: ./gcj-dbtool is in an infinite loop hjl at lucon dot org
2005-04-18 21:31 ` [Bug target/21095] " hjl at lucon dot org
2005-04-18 22:06 ` pinskia at gcc dot gnu dot org
2005-04-20  6:55 ` rth at gcc dot gnu dot org
2005-04-20  6:55 ` rth at gcc dot gnu dot org

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).