[Bug tree-optimization/50574] gcc.c-torture/execute/vector-compare-1.c FAILs on SPARC

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 30 12:53:00 GMT 2011


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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |ASSIGNED
         AssignedTo|unassigned at gcc dot       |rguenth at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-09-30 12:46:06 UTC ---
(In reply to comment #3)
> I find the following trees when error is hit for the first time:
> 
> (gdb) p type
> $1 = (tree) 0xfba11140
> (gdb) pt
>  <vector_type fba11140
>     type <integer_type fb99c3c0 int sizes-gimplified public SI
>         size <integer_cst fb9885e0 constant 32>
>         unit size <integer_cst fb988600 constant 4>
>         align 32 symtab 0 alias set -1 canonical type fb99c3c0 precision 32 min
> <integer_cst fb988940 -2147483648> max <integer_cst fb988960 2147483647>
>         pointer_to_this <pointer_type fb99cae0>>
>     sizes-gimplified TI
>     size <integer_cst fb988b80 type <integer_type fb99c0c0 bitsizetype>
> constant 128>
>     unit size <integer_cst fb988ba0 type <integer_type fb99c060 sizetype>
> constant 16>
>     align 128 symtab 0 alias set -1 canonical type fba10d20 nunits 4>
> (gdb) p op0_type
> $2 = (tree) 0xfba4e120
> (gdb) pt
>  <vector_type fba4e120
>     type <real_type fb99c8a0 float SF
>         size <integer_cst fb9885e0 constant 32>
>         unit size <integer_cst fb988600 constant 4>
>         align 32 symtab 0 alias set -1 canonical type fb99c8a0 precision 32
>         pointer_to_this <pointer_type fb99c9c0>>
>     sizes-gimplified BLK
>     size <integer_cst fb988b80 type <integer_type fb99c0c0 bitsizetype>
> constant 128>
>     unit size <integer_cst fb988ba0 type <integer_type fb99c060 sizetype>
> constant 16>
>     align 128 symtab 0 alias set -1 canonical type fba4e120 nunits 4
>     pointer_to_this <pointer_type fba4e540>>
> 
> It seems the mode_size comparison is failing.

Ok, that makes sense.  I'll test a patch.
Richard.

>     Rainer



More information about the Gcc-bugs mailing list