Commit a38825d2 by Kazu Hirata

re PR c/11428 (gcc aborts in compiling Linux 2.5.74 reiserfs driver)

	PR c/11428
	* expr.c (do_store_flag): Pass in the correct result type
	when calling fold_single_bit_test.
	* fold-const.c (fold_single_bit_test): Use result_type for the
	result when folding a sign bit test.

From-SVN: r68954
parent 7b96f3e4
...@@ -118,6 +118,7 @@ ...@@ -118,6 +118,7 @@
2003-07-04 Jeff Law <law@redhat.com> 2003-07-04 Jeff Law <law@redhat.com>
PR c/11428
* expr.c (do_store_flag): Pass in the correct result type * expr.c (do_store_flag): Pass in the correct result type
when calling fold_single_bit_test. when calling fold_single_bit_test.
* fold-const.c (fold_single_bit_test): Use result_type for the * fold-const.c (fold_single_bit_test): Use result_type for the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment