]> sourceware.org Git - libabigail.git/commit
Fix spurious type size change report for distinct_diff
authorDodji Seketeli <dodji@redhat.com>
Wed, 13 Jul 2016 21:45:49 +0000 (23:45 +0200)
committerDodji Seketeli <dodji@redhat.com>
Wed, 13 Jul 2016 21:45:49 +0000 (23:45 +0200)
commite88892c0b1f49c0d9ca64617b1c3423979b51053
treebef916f9454b63096b8bddbd8636e75a2c637e73
parentca133d551bc209f5e2e9bc73cd87d2bc3400dc25
Fix spurious type size change report for distinct_diff

When looking at diff of two distinct types it can happen that the
change report mentions a type size change even when the two type sizes
are equal.

This patch fixes that.

* src/abg-comparison.cc (report_size_and_alignment_changes):
Report size change only when the sizes are different.
* tests/data/test-diff-filter/test33-report-0.txt: Adjust.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
src/abg-comparison.cc
tests/data/test-diff-filter/test33-report-0.txt
This page took 0.035803 seconds and 5 git commands to generate.