optimization/8878: miscompilation with -O and SSE

Janis Johnson janis187@us.ibm.com
Thu Apr 3 19:33:00 GMT 2003


This was fixed on mainline by the following patch, whose
date is actually 2003-04-01:

2003-02-31  Aldy Hernandez  <aldyh@redhat.com>

        * testsuite/gcc.c-torture/execute/simd-3.c: New.

        * expr.c (expand_expr): Handle VECTOR_CST.
          (const_vector_from_tree): New.

        * varasm.c (output_constant): Handle VECTOR_CST.

        * c-typeck.c (digest_init): Build a vector constant from a
          VECTOR_TYPE.

        [lots of changes to files in config/rs6000]

My hunt used the testcase that Volker sent me yesterday
and checked that the generated .s file did not include
'mulps'.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8878





More information about the Gcc-bugs mailing list