This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/36189] New: Invalid movabsq $mycom_@TPOFF-8, %rbp for TLS


program foo
  implicit none
  common /mycom/ arr(2)
!$omp threadprivate (/mycom/)
  integer i
  real*8 arr
  do i=1,2
    write(*,*) i
    arr(i)=0.0d0
  enddo
end program

compiled with -S -O2 -fopenmp with gcc 4.1/4.2 generates invalid:
movabsq $mycom_@TPOFF-8, %rbp

@TPOFF should be used for 32-bit signed immediate though, e.g. movq
$mycom_@TPOFF-8, %rbp is correct.


-- 
           Summary: Invalid movabsq $mycom_@TPOFF-8, %rbp for TLS
           Product: gcc
           Version: 4.2.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org
GCC target triplet: x86_64-linux


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]