This is the mail archive of the gcc-cvs@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]

r242108 - in /branches/ARM/sve-branch/gcc: ada/...


Author: rsandifo
Date: Fri Nov 11 17:01:34 2016
New Revision: 242108

URL: https://gcc.gnu.org/viewcvs?rev=242108&root=gcc&view=rev
Log:
Make GET_MODE_WIDER return an opt_mode

GET_MODE_WIDER previously returned VOIDmode if no wider
mode exists.  That would cause problems with stricter mode
classes, since VOIDmode isn't for example a valid scalar
integer or floating-point mode.  This patch instead makes
it return a new opt_mode<T> class, which holds either
a T or nothing.

Modified:
    branches/ARM/sve-branch/gcc/ada/gcc-interface/decl.c
    branches/ARM/sve-branch/gcc/combine.c
    branches/ARM/sve-branch/gcc/config/c6x/c6x.c
    branches/ARM/sve-branch/gcc/config/cr16/cr16.h
    branches/ARM/sve-branch/gcc/config/i386/i386.c
    branches/ARM/sve-branch/gcc/config/ia64/ia64.c
    branches/ARM/sve-branch/gcc/config/mips/mips.c
    branches/ARM/sve-branch/gcc/coretypes.h
    branches/ARM/sve-branch/gcc/expmed.c
    branches/ARM/sve-branch/gcc/expr.c
    branches/ARM/sve-branch/gcc/internal-fn.c
    branches/ARM/sve-branch/gcc/lower-subreg.c
    branches/ARM/sve-branch/gcc/lto-streamer-in.c
    branches/ARM/sve-branch/gcc/machmode.h
    branches/ARM/sve-branch/gcc/omp-low.c
    branches/ARM/sve-branch/gcc/optabs-libfuncs.c
    branches/ARM/sve-branch/gcc/optabs-query.c
    branches/ARM/sve-branch/gcc/optabs.c
    branches/ARM/sve-branch/gcc/rtlanal.c
    branches/ARM/sve-branch/gcc/stor-layout.c
    branches/ARM/sve-branch/gcc/tree-ssa-math-opts.c
    branches/ARM/sve-branch/gcc/tree-switch-conversion.c
    branches/ARM/sve-branch/gcc/tree-vrp.c
    branches/ARM/sve-branch/gcc/var-tracking.c


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