[fixed-point] Fix a typo and update c-typeck.c
Fu, Chao-Ying
fu@mips.com
Tue Jun 19 21:58:00 GMT 2007
Hi,
This patch fixes a typo in fixed-obj.mk,
and updates c-typeck.c after merging from the mainline.
Thanks!
Regards,
Chao-ying
libgcc/ChangeLog
2007-06-19 Chao-ying Fu <fu@mips.com>
* fixed-obj.mk: Fix a typo.
gcc/ChangeLog
2007-06-19 Chao-ying Fu <fu@mips.com>
* c-typeck.c (build_unary_op): For fixed-point pre/post inc/decrement,
convert the increment to the fixed-point type.
===================================================================
--- libgcc/fixed-obj.mk (revision 125859)
+++ libgcc/fixed-obj.mk (working copy)
@@ -27,5 +27,5 @@
ifeq ($(enable_shared),yes)
$(o)_s$(objext): %_s$(objext): $(gcc_srcdir)/config/fixed-bit.c
- $(gcc_s_compile) -DL$($*-label) $($*-opt) -c $(gcc_srcdir)/config/fixed_bit.c
+ $(gcc_s_compile) -DL$($*-label) $($*-opt) -c $(gcc_srcdir)/config/fixed-bit.c
endif
Index: gcc/c-typeck.c
===================================================================
--- gcc/c-typeck.c (revision 125859)
+++ gcc/c-typeck.c (working copy)
@@ -3065,6 +3065,7 @@
code = POSTINCREMENT_EXPR;
inc = integer_minus_one_node;
+ inc = convert (argtype, inc);
}
else
{
More information about the Gcc-patches
mailing list