This is the mail archive of the gcc-patches@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]

Re: [PATCH] Force non-null type for build_int_cst* (but not build_int_cst)


On 1/8/07, Richard Guenther <richard.guenther@gmail.com> wrote:
This patch fixes the few occurances we pass NULL_TREE to build_int_cst_wide
or build_int_cstu and now asserts type != NULL_TREE in build_int_cst_wide
putting the fallback integer_type_node to build_int_cst.

On the way it fixes the pretty printer to not allocate extra tree nodes for
printing negative constants.

Bootstrap & regtest in progress (so this is a heads-up).

Bootstrapped & tested on x86_64-unknown-linux-gnu.


I will apply this once it finishes as it blocks cleanup with regarding to
force_fit_type.

Done.


Richard.


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