diff options
author | Martin Liska <mliska@suse.cz> | 2016-10-06 09:33:49 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2016-10-06 07:33:49 +0000 |
commit | ac2a97db4b862579d6fea2e97000650bfe9b4659 (patch) | |
tree | bef19c5954ca2ecbf1d78780934c0e031fb1632f /gcc/input.c | |
parent | a7773b4d0629c6ab0d8321c9b018f6a718bf232a (diff) | |
download | gcc-ac2a97db4b862579d6fea2e97000650bfe9b4659.zip gcc-ac2a97db4b862579d6fea2e97000650bfe9b4659.tar.gz gcc-ac2a97db4b862579d6fea2e97000650bfe9b4659.tar.bz2 |
Fix warnings for make profiledbootstrap (PR bootstrap/77788)
PR bootstrap/77788
* expmed.h (mul_highpart_cost_ptr): Add an gcc_assert.
* gimple-ssa-strength-reduction.c (slsr_process_cast):
Initialize a pointer to NULL.
(slsr_process_copy): Likewise.
* input.c (location_get_source_line): Likewise.
* tree-ssa-ccp.c (optimize_atomic_bit_test_and): Likewise.
From-SVN: r240827
Diffstat (limited to 'gcc/input.c')
-rw-r--r-- | gcc/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/input.c b/gcc/input.c index 67f727e..6131659 100644 --- a/gcc/input.c +++ b/gcc/input.c @@ -713,7 +713,7 @@ const char * location_get_source_line (const char *file_path, int line, int *line_len) { - char *buffer; + char *buffer = NULL; ssize_t len; if (line == 0) |