public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/63200] New: [5.0 Regression] FAIL: gcc.dg/tls/opt-11.c execution test Date: Sun, 07 Sep 2014 18:56:00 -0000 [thread overview] Message-ID: <bug-63200-4@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2014-09-07 18:56 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-09-07 18:56 danglin at gcc dot gnu.org [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-63200-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).