Mercurial > hg > CbC > CbC_gcc
diff gcc/varpool.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
line wrap: on
line diff
--- a/gcc/varpool.c Fri Oct 27 22:46:09 2017 +0900 +++ b/gcc/varpool.c Thu Oct 25 07:37:49 2018 +0900 @@ -1,5 +1,5 @@ /* Callgraph handling code. - Copyright (C) 2003-2017 Free Software Foundation, Inc. + Copyright (C) 2003-2018 Free Software Foundation, Inc. Contributed by Jan Hubicka This file is part of GCC. @@ -307,6 +307,8 @@ file_data->file_name, name); + if (!quiet_flag) + fprintf (stderr, " in:%s", IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl))); lto_input_variable_constructor (file_data, this, data); gcc_assert (DECL_INITIAL (decl) != error_mark_node); lto_stats.num_function_bodies++; @@ -400,12 +402,6 @@ if (!VAR_P (decl) && TREE_CODE (decl) != CONST_DECL) return error_mark_node; - /* Static constant bounds are created to be - used instead of constants and therefore - do not let folding it. */ - if (POINTER_BOUNDS_P (decl)) - return error_mark_node; - if (TREE_CODE (decl) == CONST_DECL || DECL_IN_CONSTANT_POOL (decl)) return DECL_INITIAL (decl);