public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/63200] New: [5.0 Regression] FAIL: gcc.dg/tls/opt-11.c execution test
@ 2014-09-07 18:56 danglin at gcc dot gnu.org
  2014-09-07 19:16 ` [Bug middle-end/63200] " danglin at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-09-07 18:56 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63200

            Bug ID: 63200
           Summary: [5.0 Regression] FAIL: gcc.dg/tls/opt-11.c execution
                    test
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
              Host: hppa-unknown-linux-gnu
            Target: hppa-unknown-linux-gnu
             Build: hppa-unknown-linux-gnu

Executing on host: /home/dave/gnu/gcc/objdir/gcc/xgcc
-B/home/dave/gnu/gcc/objdi
r/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tls/opt-11.c 
-fno-diagnostic
s-show-caret -fdiagnostics-color=never    -ansi -pedantic-errors  -lm    -o
./op
t-11.exe    (timeout = 300)
spawn /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdir/gcc/
/home/
dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tls/opt-11.c -fno-diagnostics-show-caret
-
fdiagnostics-color=never -ansi -pedantic-errors -lm -o ./opt-11.exe
PASS: gcc.dg/tls/opt-11.c (test for excess errors)
Setting LD_LIBRARY_PATH to
:/home/dave/gnu/gcc/objdir/gcc:/home/dave/gnu/gcc/obj
dir/hppa-linux-gnu/./libatomic/.libs::/home/dave/gnu/gcc/objdir/gcc:/home/dave/g
nu/gcc/objdir/hppa-linux-gnu/./libatomic/.libs:/home/dave/gnu/gcc/objdir/hppa-li
nux-gnu/libstdc++-v3/src/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libssp/.
libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libgomp/.libs:/home/dave/gnu/gcc/o
bjdir/hppa-linux-gnu/libatomic/.libs:/home/dave/gnu/gcc/objdir/./gcc:/home/dave/
gnu/gcc/objdir/./prev-gcc
spawn [open ...]
FAIL: gcc.dg/tls/opt-11.c execution test

(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x000106e0 in main ()
    at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tls/opt-11.c:33
33      if (p[0] != 6 || p[1] != 0 || p[2] != 8)

p is in register %ret0 and it has wierd value:

(gdb) p/x $ret0
$3 = 0xffffff4c

The function foo no longer returns tls address:

foo:
        .PROC
        .CALLINFO FRAME=64,NO_CALLS,SAVE_SP,ENTRY_GR=3
        .ENTRY
        copy %r3,%r1
        .cfi_register 3, 1
        copy %r30,%r3
        .cfi_def_cfa_register 3
        stwm %r1,64(%r30)
        .cfi_offset 3, 0
        .loc 1 23 0
        ldil L'a-$global$+48,%r28
        ldo R'a-$global$+48(%r28),%r28
        .loc 1 24 0
        ldo 64(%r3),%r30
        ldwm -64(%r30),%r3
        bv,n %r0(%r2)
        .EXIT
        .PROCEND

4.9 code for foo looks like:

foo:
        .PROC
        .CALLINFO FRAME=64,NO_CALLS,SAVE_SP,ENTRY_GR=3
        .ENTRY
        copy %r3,%r1
        copy %r30,%r3
        stwm %r1,64(%r30)
        mfctl %cr27,%r28
        addil LR'a-$tls_leoff$,%r28
        ldo RR'a-$tls_leoff$(%r1),%r28
        ldo 48(%r28),%r28
        ldo 64(%r3),%r30
        ldwm -64(%r30),%r3
        bv,n %r0(%r2)
        .EXIT
        .PROCEND


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

* [Bug middle-end/63200] [5.0 Regression] FAIL: gcc.dg/tls/opt-11.c execution test
  2014-09-07 18:56 [Bug middle-end/63200] New: [5.0 Regression] FAIL: gcc.dg/tls/opt-11.c execution test danglin at gcc dot gnu.org
@ 2014-09-07 19:16 ` danglin at gcc dot gnu.org
  2014-09-08  8:38 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-09-07 19:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63200

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> ---
This tls regression also occurred at about the same time (214748):

FAIL: gcc.dg/tls/pr58595.c execution test

214556 was OK.


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

* [Bug middle-end/63200] [5.0 Regression] FAIL: gcc.dg/tls/opt-11.c execution test
  2014-09-07 18:56 [Bug middle-end/63200] New: [5.0 Regression] FAIL: gcc.dg/tls/opt-11.c execution test danglin at gcc dot gnu.org
  2014-09-07 19:16 ` [Bug middle-end/63200] " danglin at gcc dot gnu.org
@ 2014-09-08  8:38 ` rguenth at gcc dot gnu.org
  2014-11-19 14:08 ` [Bug middle-end/63200] [5 " rguenth at gcc dot gnu.org
  2014-11-19 15:08 ` danglin at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-09-08  8:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63200

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
   Target Milestone|---                         |5.0


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

* [Bug middle-end/63200] [5 Regression] FAIL: gcc.dg/tls/opt-11.c execution test
  2014-09-07 18:56 [Bug middle-end/63200] New: [5.0 Regression] FAIL: gcc.dg/tls/opt-11.c execution test danglin at gcc dot gnu.org
  2014-09-07 19:16 ` [Bug middle-end/63200] " danglin at gcc dot gnu.org
  2014-09-08  8:38 ` rguenth at gcc dot gnu.org
@ 2014-11-19 14:08 ` rguenth at gcc dot gnu.org
  2014-11-19 15:08 ` danglin at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-19 14:08 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63200

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2014-11-19
            Summary|[5.0 Regression] FAIL:      |[5 Regression] FAIL:
                   |gcc.dg/tls/opt-11.c         |gcc.dg/tls/opt-11.c
                   |execution test              |execution test
     Ever confirmed|0                           |1

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Does it still happen?


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

* [Bug middle-end/63200] [5 Regression] FAIL: gcc.dg/tls/opt-11.c execution test
  2014-09-07 18:56 [Bug middle-end/63200] New: [5.0 Regression] FAIL: gcc.dg/tls/opt-11.c execution test danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-11-19 14:08 ` [Bug middle-end/63200] [5 " rguenth at gcc dot gnu.org
@ 2014-11-19 15:08 ` danglin at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-11-19 15:08 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63200

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> ---
Fixed.


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

end of thread, other threads:[~2014-11-19 15:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-07 18:56 [Bug middle-end/63200] New: [5.0 Regression] FAIL: gcc.dg/tls/opt-11.c execution test danglin at gcc dot gnu.org
2014-09-07 19:16 ` [Bug middle-end/63200] " danglin at gcc dot gnu.org
2014-09-08  8:38 ` rguenth at gcc dot gnu.org
2014-11-19 14:08 ` [Bug middle-end/63200] [5 " rguenth at gcc dot gnu.org
2014-11-19 15:08 ` danglin at gcc dot gnu.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).