[patch, testsuite, PR80606] Remove default_packed lines from i386/avx-vtestp{d,s}*

Tom de Vries Tom_deVries@mentor.com
Sat May 6 07:20:00 GMT 2017


Hi,

The test-cases i386/avx-vtestp{d,s}* contain lines guarded with target 
default_packed, using absolute line numbers 150 and 164.  The absolute 
line numbers intend to refer to the position of the packed attribute in 
unions ieee754_float and ieee754_double in m128-check.h, but they do not 
match the actual lines.

The default_packed lines were introduced for netware support in 2009, 
but netware support was removed in 2011.

The line numbers changes from:
...
    149	      unsigned sign : 1;
    150	   } bits __attribute__((packed));
    151	};
--
    163	      unsigned sign : 1;
    164	   } bits __attribute__((packed));
    165	};
...

to:
...
    149	      unsigned long frac : 23;
    150	      unsigned exp : 8;
    151	      unsigned sign : 1;
--
    163	      unsigned long frac0 : 20;
    164	      unsigned exp : 11;
    165	      unsigned sign : 1;
...
in Jan 2014 in r207150.

Apparently nobody noticed when the line numbers changed, so they are 
effectively unmaintained.

This patch removes the unmaintained lines.

Tested on x86_64.

OK for trunk?

Thanks,
- Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Remove-default_packed-lines-from-i386-avx-vtestp-d-s.patch
Type: text/x-patch
Size: 8164 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170506/83544bd8/attachment.bin>


More information about the Gcc-patches mailing list