This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/52584] Fails to constant fold vector upper/lower half BIT_FIELD_REFs


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

--- Comment #4 from davem at gcc dot gnu.org 2012-05-19 06:19:16 UTC ---
Author: davem
Date: Sat May 19 06:19:10 2012
New Revision: 187675

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187675
Log:
Fix VIS3 vector shift wrong code generation on sparc.

    Backport r185385 from mainline.
    2012-03-14  Richard Guenther  <rguenther@suse.de>

    PR middle-end/52584
    * tree-vect-generic.c (type_for_widest_vector_mode): Take
    element type instead of mode, use build_vector_type_for_mode
    instead of the langhook, build a vector of proper signedness.
    (expand_vector_operations_1): Adjust.

Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/tree-vect-generic.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]