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]

r242155 - in /branches/ARM/sve-branch/gcc: fina...


Author: rsandifo
Date: Fri Nov 11 17:09:27 2016
New Revision: 242155

URL: https://gcc.gnu.org/viewcvs?rev=242155&root=gcc&view=rev
Log:
Add a rtx_jump_table_data::get_data_mode helper

This patch adds a helper function to get the mode of the addresses
or offsets in a jump table.  It also changes the final.c code to use
rtx_jump_table_data over rtx or rtx_insn in cases where it needed
to use the new helper.  This in turn meant adding a safe_dyn_cast
equivalent of safe_as_a, to cope with null NEXT_INSNs.

Modified:
    branches/ARM/sve-branch/gcc/final.c
    branches/ARM/sve-branch/gcc/is-a.h
    branches/ARM/sve-branch/gcc/rtl.h


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