public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/35896]  New: gfortran TLS symbols broken with debug info
@ 2008-04-09 22:45 janis at gcc dot gnu dot org
  2008-04-09 22:47 ` [Bug debug/35896] " janis at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: janis at gcc dot gnu dot org @ 2008-04-09 22:45 UTC (permalink / raw)
  To: gcc-bugs

Four tests in libgomp.fortran (omp_parse3.f90, pr25162.f, and
threadprivate[23].f90 started failing with this patch:

  http://gcc.gnu.org/viewcvs?view=rev&rev=133801
  r133801 | george | 2008-04-01 17:23:36 -0400 (Tue, 01 Apr 2008)

This small testcase fails in the same way when compiled with "-m64 -g
-fopenmp":

      program test
      call foo
      end
      subroutine foo
      real testvar
      common /testcom/ testvar
c$omp threadprivate(/testcom/)
      testvar = 1.0
      return
      end

Output:

elm3b145% /opt/gcc-nightly/trunk-20080406/bin/gfortran -g -m64 -fopenmp tls1.f
-lgomp
/opt/gcc-nightly/binutils-2.18/bin/ld: /tmp/cc0dFrjq.o(.debug_info+0x74):
R_PPC64_ADDR64 used with TLS symbol testcom_

I'll attach the .s files for revisions 133800 and 133801 for the same source
but without the first three lines.


-- 
           Summary: gfortran TLS symbols broken with debug info
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis at gcc dot gnu dot org
GCC target triplet: powerpc64-unknown-linux-gnu


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


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

end of thread, other threads:[~2008-05-25 20:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-09 22:45 [Bug debug/35896] New: gfortran TLS symbols broken with debug info janis at gcc dot gnu dot org
2008-04-09 22:47 ` [Bug debug/35896] " janis at gcc dot gnu dot org
2008-04-09 22:48 ` janis at gcc dot gnu dot org
2008-04-09 22:50 ` pinskia at gcc dot gnu dot org
2008-04-09 22:51 ` [Bug debug/35896] [4.4 Regression] " pinskia at gcc dot gnu dot org
2008-04-09 22:52 ` pinskia at gcc dot gnu dot org
2008-04-09 22:54 ` pinskia at gcc dot gnu dot org
2008-04-20 20:47 ` rguenth at gcc dot gnu dot org
2008-04-29 16:09 ` jakub at gcc dot gnu dot org
2008-05-07 23:17 ` jakub at gcc dot gnu dot org
2008-05-25 20:25 ` jakub 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).