aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppdefault.c
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@gmail.com>2011-05-27 13:19:13 -0700
committerAndrew Pinski <pinskia@gcc.gnu.org>2011-05-27 13:19:13 -0700
commitfc64b4481d6085c4f4fd260b5801d0785c8a7a02 (patch)
tree58b5ea50a0a6ed81e3e2670399e5a95a8309deb1 /gcc/cppdefault.c
parent226855f0608af61a273c095fce991bd5fa9b32b3 (diff)
downloadgcc-fc64b4481d6085c4f4fd260b5801d0785c8a7a02.zip
gcc-fc64b4481d6085c4f4fd260b5801d0785c8a7a02.tar.gz
gcc-fc64b4481d6085c4f4fd260b5801d0785c8a7a02.tar.bz2
re PR other/48981 (bootstrap-lto -O3 produces miscompiled, broken gcc)
2011-05-27 Andrew Pinski <pinskia@gmail.com> PR middle-end/48981 * gengtype.c (vec_prefix_type): New function. (note_def_vec): Use vec_prefix_type and change the length attribute to be based on the prefix. * vec.c: Include coretypes.h before vec.h. (struct vec_prefix): Remove. (vec_gc_p_reserve): Change the offsetof to sizeof. (vec_gc_p_reserve_exact): Likewise. (vec_heap_p_reserve): Likewise. (vec_heap_p_reserve_exact): Likewise. (vec_stack_o_reserve_1): Copy from +1 instead of from vec. (vec_stack_p_reserve): Change the offsetof to sizeof. (vec_stack_p_reserve_exact): Likewise. * vec.h (struct vec_prefix): New struct definition. (VEC_T(T,B)): Use vec_prefix instead of having num/alloc fields. (VEC_T_GTY(T,B)): Likewise. (DEF_VEC_FUNC_P(T)): Use prefix field. (DEF_VEC_NONALLOC_FUNCS_O(T,A)): Likewise. (DEF_VEC_NONALLOC_FUNCS_I(T,A)): Likewise. From-SVN: r174359
Diffstat (limited to 'gcc/cppdefault.c')
0 files changed, 0 insertions, 0 deletions