diff options
author | Dodji Seketeli <dodji@redhat.com> | 2012-11-12 15:52:56 +0000 |
---|---|---|
committer | Dodji Seketeli <dodji@gcc.gnu.org> | 2012-11-12 16:52:56 +0100 |
commit | dc29bf1eefe6dcc9c1db8249ac732d55d8a62539 (patch) | |
tree | 180ca989839a55574caee4be09f93e799a6249f4 /gcc/gimple.c | |
parent | 8240018b0c5da12a6e6df5689055983e76768151 (diff) | |
download | gcc-dc29bf1eefe6dcc9c1db8249ac732d55d8a62539.zip gcc-dc29bf1eefe6dcc9c1db8249ac732d55d8a62539.tar.gz gcc-dc29bf1eefe6dcc9c1db8249ac732d55d8a62539.tar.bz2 |
Make build_check_stmt accept an SSA_NAME for its base
This patch makes build_check_stmt accept its memory access parameter
to be an SSA name. This is useful for a subsequent patch that will
re-use.
Tested by running cc1 -fasan on the program below with and without the
patch and inspecting the gimple output to see that there is no change.
void
foo ()
{
char foo[1] = {0};
foo[0] = 1;
}
gcc/
* asan.c (build_check_stmt): Accept the memory access to be
represented by an SSA_NAME.
From-SVN: r193438
Diffstat (limited to 'gcc/gimple.c')
0 files changed, 0 insertions, 0 deletions