[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug default/19037] New: abixml symmetry broken by type demotion



https://sourceware.org/bugzilla/show_bug.cgi?id=19037

            Bug ID: 19037
           Summary: abixml symmetry broken by type demotion
           Product: libabigail
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: woodard at redhat dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

Created attachment 8660
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8660&action=edit
ELF object that reproduces the above problem

hype260@ben:less
\\_collab\\_usr\\_global\\_tools\\_order\\_spack\\_opt\\_chaos_5_x86_64_ib\\_gcc\@4.4.7\\_vtk\@6.1.0-2f431570\\_lib\\_libvtkRenderingLIC-6.1.so/stderr 
Functions changes summary: 0 Removed, 1 Changed, 0 Added function
Variables changes summary: 0 Removed, 0 Changed, 0 Added variable

1 function with some indirect sub-type change:

  [C]'method int vtkPixelTransfer::Blit<float, float>(const vtkPixelExtent&,
const vtkPixelExtent&, const vtkPixelExtent&, int, float*, int, float*)' has
some indirect sub-type changes:
    'method int vtkPixelTransfer::Blit<float, float>(const vtkPixelExtent&,
const vtkPixelExtent&, const vtkPixelExtent&, int, float*, int, float*)
{_ZN16vtkPixelTransfer4BlitIffEEiRK14vtkPixelExtentS3_S3_S3_iPT_iPT0_}' now
becomes 'method int vtkPixelTransfer::Blit<vtkPixelTransfer::Blit::VTK_TT,
vtkPixelTransfer::Blit::VTK_TT>(const vtkPixelExtent&, const vtkPixelExtent&,
const vtkPixelExtent&, int, vtkPixelTransfer::VTK_TT*, int,
vtkPixelTransfer::VTK_TT*)
{_ZN16vtkPixelTransfer4BlitIffEEiRK14vtkPixelExtentS3_S3_S3_iPT_iPT0_}'

If you look carefully it appears that the template parameter loses its typedef
and reverts to its fundamental type. Simplifying the above for readability it
becomes:

method int vtkPixelTransfer::Blit<float, float>(...) now becomes
method int vtkPixelTransfer::Blit<vtkPixelTransfer::Blit::VTK_TT,
vtkPixelTransfer::Blit::VTK_TT>(...)

The parameters to the function also reverts to the fundamental type float*

-- 
You are receiving this mail because:
You are on the CC list for the bug.