Commit Graph

72559 Commits

Author SHA1 Message Date
Stuart Hastings
c19e090aa2 * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Remove -fpic warning.
From-SVN: r107991
2005-12-03 01:30:30 +00:00
Joseph Myers
718699e900 c-typeck.c (default_function_array_conversion, [...]): Allow for CONVERT_EXPR as well as NOP_EXPR.
* c-typeck.c (default_function_array_conversion,
	build_function_call): Allow for CONVERT_EXPR as well as NOP_EXPR.
	(build_conditional_expr): Apply integer_zerop to orig_op1 and
	orig_op2.  Don't check them for NOP_EXPR.
	(build_c_cast, convert_for_assignment): Don't check for NOP_EXPR
	around integer zero.

testsuite:
	* gcc.dg/c90-const-expr-4.c, gcc.dg/c99-const-expr-4.c: New tests.

From-SVN: r107990
2005-12-03 01:25:42 +00:00
Joseph Myers
3820178b94 * zh_CN.po: Update.
From-SVN: r107984
2005-12-03 01:02:39 +00:00
Mark Mitchell
50b56799f7 re PR c++/24173 (ICE with garbage collection)
PR c++/24173
	* decl.c (duplicate_decls): Don't rely on DECL_TEMPLATE_INFO after
	clobbering newdecl.
	PR c++/24173
	* g++.dg/template/friend40.C: New test.

From-SVN: r107983
2005-12-03 01:02:33 +00:00
Joseph Myers
0889ab4a1a * zh_CN.po: New file.
From-SVN: r107981
2005-12-03 01:00:19 +00:00
Mike Stump
3a222eaea2 Fixup some spacing
From-SVN: r107973
2005-12-03 00:20:15 +00:00
GCC Administrator
ae001e0444 Daily bump.
From-SVN: r107970
2005-12-03 00:17:29 +00:00
Alan Modra
cd4241aa71 ffi.c: Formatting.
* src/powerpc/ffi.c: Formatting.
	(ffi_prep_args_SYSV): Avoid possible aliasing problems by using unions.
	(ffi_prep_args64): Likewise.

From-SVN: r107963
2005-12-03 10:36:33 +10:30
Alan Modra
022123e660 rs6000.c (rs6000_stack_t): Remove toc_save_p, toc_save_offset, toc_size, lr_size.
* config/rs6000/rs6000.c (rs6000_stack_t): Remove toc_save_p,
	toc_save_offset, toc_size, lr_size.
	(rs6000_stack_info): Use memset rather than bss struct copy to init.
	Test rs6000_ra_ever_killed last in condition setting lr_save_p.
	Adjust for removal of unused rs6000_stack_t fields.
	(debug_stack_info): Adjust.
	(rs6000_ra_ever_killed): Expand FIND_REG_INC_NOTE.  Test for calls
	first, and don't bother checking for set/inc of lr on sibcalls.
	(rs6000_emit_epilogue): Tidy code restoring stack pointer.

From-SVN: r107962
2005-12-03 10:35:03 +10:30
Jakub Jelinek
0cd0c6fbbb re PR target/25199 (crashing code output from -mtune=pentium4 but not -mtune=pentiumpro)
PR target/25199
	* config/i386/i386.md (movqi_1): Only force imovx for alternative
	5 if operand 1 is not aligned.  Undo previous constraint change.
	* config/i386/predicates.md (aligned_operand): Use MEM_ALIGN.
testsuite/
	* gcc.target/i386/movq-2.c: New test.
	* gcc.target/i386/movq.c: Remove target i?86, instead add
	dg-require-effective-target ilp32.

From-SVN: r107955
2005-12-02 23:55:35 +01:00
Richard Guenther
5d5c039ff9 trans.h (build1_v): Use build1, not build to build the void typed tree.
2005-12-02  Richard Guenther  <rguenther@suse.de>

        * trans.h (build1_v): Use build1, not build to build the
        void typed tree.

From-SVN: r107917
2005-12-02 21:00:01 +00:00
Janne Blomqvist
cc21057721 Add forgotten ChangeLog entry:
2005-11-27  Janne Blomqvist  <jb@gcc.gnu.org>

	* m4/ifunction.m4: Add const restrict to function arguments.
	* m4/iforeach.m4: Likewise.
	* m4/eoshift1.m4: Likewise.
	* m4/eoshift3.m4: Likewise.
	* m4/dotprod.m4: Likewise.
	* m4/dotprodc.m4: Likewise.
	* m4/dotprodl.m4: Likewise.
	* m4/shape.m4: Likewise.
	* m4/cshift1.m4: Likewise.
	* m4/reshape.m4: Likewise.
	* m4/transpose.m4: Likewise.
	* generated/eoshift*: Regenerated
	* generated/dotprod*: Likewise.
	* generated/shape*: Likewise.
	* generated/cshift1*: Likewise.
	* generated/reshape*: Likewise.
	* generated/transpose*: Likewise.

From-SVN: r107912
2005-12-02 20:23:06 +02:00
Richard Guenther
d82dd39a26 tree.h (build): Remove prototype.
2005-12-02  Richard Guenther  <rguenther@suse.de>

        * tree.h (build): Remove prototype.
        (build, _buildN1, _buildN2, _buildC1, _buildC2): Remove macros.
        * tree.c (build): Remove.
        (build0_stat): Update comment.

From-SVN: r107909
2005-12-02 17:11:53 +00:00
Steven G. Kargl
6ddd4f6275 Fix accidental deletion of committer's name.
From-SVN: r107908
2005-12-02 17:10:36 +00:00
Richard Guenther
b4257cfc1f tree-ssa-loop-im.c (schedule_sm): Use buildN instead of build.
2005-12-02  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-loop-im.c (schedule_sm): Use buildN instead of build.
	* tree-complex.c (update_complex_assignment, expand_complex_div_wide):
	Likewise.
	* tree-ssa-ccp.c (maybe_fold_offset_to_array_ref,
	maybe_fold_offset_to_component_ref): Likewise.
	* tree-ssa-dom.c (thread_across_edge,
	simplify_rhs_and_lookup_avail_expr,
	find_equivalent_equality_comparison, record_equivalences_from_stmt):
	Likewise.
	* gimple-low.c (lower_function_body, lower_return_expr): Likewise.
	* tree-eh.c (do_return_redirection, honor_protect_cleanup_actions,
	lower_try_finally_switch): Likewise.
	* tree-if-conv.c (add_to_dst_predicate_list,
	replace_phi_with_cond_modify_expr, ifc_temp_var): Likewise.
	* gimplify.c (internal_get_tmp_var, gimple_build_eh_filter,
	voidify_wrapper_expr, build_stack_save_restore, gimplify_bind_expr,
	gimplify_return_expr, gimplify_decl_expr, gimplify_switch_expr,
	gimplify_case_label_expr, gimplify_exit_expr, gimplify_self_mod_expr,
	shortcut_cond_r, shortcut_cond_expr, gimplify_cond_expr,
	gimplify_init_ctor_eval, gimplify_init_constructor,
	gimplify_variable_sized_compare, gimplify_boolean_expr,
	gimplify_cleanup_point_expr, gimple_push_cleanup, gimplify_target_expr,
	gimplify_expr, gimplify_body, gimplify_function_tree,
	force_gimple_operand): Likewise.
	* tree-ssa-pre.c (create_expression_by_pieces): Likewise.
	* tree-mudflap.c (mf_decl_cache_locals, mf_build_check_statement_for,
	mx_register_decls): Likewise.
	* tree-nested.c (init_tmp_var, save_tmp_var, get_static_chain,
	get_frame_field, finalize_nesting_tree_1): Likewise.
	* tree-inline.c (setup_one_parameter): Likewise.
	* tree-vect-transform.c (vectorizable_condition): Likewise.
	* tree-outof-ssa.c (insert_copy_on_edge, insert_backedge_copies):
	Likewise.
	* tree-profile.c (tree_gen_edge_profiler): Likewise.
	* tree-cfg.c (factor_computed_gotos, gimplify_val): Likewise.
	* c-parser.c (c_parser_if_body, c_parser_switch_statement): Likewise.
	* tree-chrec.h (build_polynomial_chrec): Likewise.

From-SVN: r107907
2005-12-02 17:09:40 +00:00
Richard Guenther
47a25a46d3 alpha.c (alpha_va_start, [...]): Use buildN and fold_buildN where applicable.
2005-12-02  Richard Guenther  <rguenther@suse.de>

	* config/alpha/alpha.c (alpha_va_start, alpha_gimplify_va_arg_1i,
	alpha_gimplify_va_arg): Use buildN and fold_buildN where applicable.
	* config/frv/frv.c (frv_expand_builtin_va_start): Likewise.
	* config/s390/s390.c (s390_va_start, s390_gimplify_va_arg): Likewise.
	* config/ia64/ia64.c (ia64_gimplify_va_arg): Likewise.
	* config/i386/i386.c (ix86_va_start, ix86_gimplify_va_arg): Likewise.
	* config/rs6000/rs6000.c (rs6000_va_start, rs6000_gimplify_va_arg):
	Likewise.
	* config/sh/sh.c (sh_va_start, sh_gimplify_va_arg_expr,
	sh_adjust_unroll_max): Likewise.
	* config/c4x/c4x.c (c4x_gimplify_va_arg_expr): Likewise.
	* config/pa/pa.c (hppa_gimplify_va_arg_expr): Likewise.
	* config/xtensa/xtensa.c (xtensa_va_start, xtensa_gimplify_va_arg_expr):
	Likewise.
	* config/stormy16/stormy16.c (xstormy16_expand_builtin_va_start):
	Likewise.
	* config/mips/mips.c (mips_va_start, mips_gimplify_va_arg_expr):
	Likewise.

From-SVN: r107906
2005-12-02 17:06:50 +00:00
Richard Guenther
a380cd0a38 trans.c (gnat_gimplify_expr): Use buildN instead of build.
2005-12-02  Richard Guenther  <rguenther@suse.de>

	* trans.c (gnat_gimplify_expr): Use buildN instead of build.

From-SVN: r107905
2005-12-02 17:05:20 +00:00
Richard Guenther
1c00c223e9 java-gimplify.c (java_gimplify_labeled_block_expr): Use buildN instead of build.
2005-12-02  Richard Guenther  <rguenther@suse.de>

	* java-gimplify.c (java_gimplify_labeled_block_expr): Use
	buildN instead of build.
	* class.c (finish_class): Likewise.
	* expr.c (java_create_object): Likewise.

From-SVN: r107904
2005-12-02 17:04:41 +00:00
Richard Guenther
d17791d66d semantics.c (simplify_aggr_init_expr): Use buildN instead of build.
2005-12-02  Richard Guenther  <rguenther@suse.de>

	* semantics.c (simplify_aggr_init_expr): Use buildN instead
	of build.

From-SVN: r107903
2005-12-02 17:04:00 +00:00
Richard Guenther
9b282d7722 objc-act.c (objc_build_exc_ptr, [...]): Use buildN instead of build.
2005-12-02  Richard Guenther  <rguenther@suse.de>

	* objc-act.c (objc_build_exc_ptr, next_sjlj_build_enter_and_setjmp
	next_sjlj_build_exc_extract, next_sjlj_build_catch_list,
	next_sjlj_build_try_catch_finally, objc_begin_catch_clause,
	build_objc_method_call, objc_rewrite_function_call): Use buildN
	instead of build.

From-SVN: r107902
2005-12-02 17:03:17 +00:00
Francois-Xavier Coudert
cc0de35e81 re PR libfortran/25116 ([4.0] namelist read from non-opened file)
PR libfortran/25116
	* io/transfer.c (data_transfer_init): Don't set the default for
	namelist I/O on preconnected files to UNFORMATTED.

From-SVN: r107900
2005-12-02 16:46:49 +00:00
Richard Guenther
0d45140575 tree-vrp.c (build_assert_expr_for, [...]): Use buildN instead of build.
2005-12-02  Richard Guenther  <rguenther@suse.de>

	* tree-vrp.c (build_assert_expr_for, process_assert_insertions_for,
	simplify_cond_using_ranges): Use buildN instead of build.
	* tree-tailcall.c (adjust_accumulator_values,
	adjust_return_value): Likewise.
	* tree-sra.c (generate_one_element_ref, generate_copy_inout,
	generate_element_copy, generate_element_zero,
	generate_one_element_init): Likewise.
	* tree-ssa-forwprop.c (forward_propagate_into_cond_1): Likewise.
	* lambda-code.c (gcc_loop_to_lambda_loop, lbv_to_gcc_expression,
	lle_to_gcc_expression, lambda_loopnest_to_gcc_loopnest,
	perfect_nestify): Likewise.

From-SVN: r107894
2005-12-02 14:40:40 +00:00
John David Anglin
69f8a2d68a pa.c (pa_secondary_reload): Revise initialization of variable regno.
* pa.c (pa_secondary_reload): Revise initialization of variable regno.

From-SVN: r107890
2005-12-02 12:56:47 +00:00
Volker Reichelt
631ba327ca re PR c++/24103 (ICE in simple_cst_equal)
PR c++/24103
	* g++.dg/other/default1.C: New test.

From-SVN: r107889
2005-12-02 12:48:06 +00:00
Gabriel Dos Reis
7767580e64 ggc.h (GGC_RESIZEVEC): New.
* ggc.h (GGC_RESIZEVEC): New.

cp/
        * parser.c (cp_lexer_new_main): Usr GGC_RESIZEVEC instead of 
        ggc_realloc.
        (cp_parser_template_argument_list): Use XRESIZEVEC instead of xrealloc.
        * class.c (pushclass): Likewise.

From-SVN: r107887
2005-12-02 12:37:15 +00:00
Volker Reichelt
eeac616e62 * gcc.c (execute): Improve readability.
From-SVN: r107886
2005-12-02 12:26:25 +00:00
Richard Guenther
4e20d9c461 tree-cfg.c (mark_used_vars): New function.
2005-12-02  Richard Guenther  <rguenther@suse.de>

	* tree-cfg.c (mark_used_vars): New function.
	(dump_function_to_file): Dump only used VAR_DECLs.

	* gcc.dg/tree-ssa/20031106-6.c: Remove XFAIL.

From-SVN: r107885
2005-12-02 11:56:35 +00:00
Gabriel Dos Reis
0ac1b88953 decl2.c (get_priority_info): Use XNEW, not xmalloc.
* decl2.c (get_priority_info): Use XNEW, not xmalloc.
        * decl.c (push_switch): Likewise.
        * lex.c (handle_pragma_implementation): Likewise.
        * cp-objcp-common.c (decl_shadowed_for_var_insert): Use GGC_NEW,
        not ggc_alloc.
        (cxx_initialize_diagnostics): Use XNEW, not xmalloc.
        * class.c (init_class_processing): Use XNEWVEC, not xmalloc.
        * g++spec.c (lang_specific_driver): Likewise.
        * mangle.c (save_partially_mangled_name): Likewise.
        * parser.c (cp_lexer_new_main): Use GGC_NEWVEC, not ggc_alloc.
        (cp_parser_template_argument_list): Use XNEWVEC, nto xmalloc.
        (cp_parser_sizeof_operand): Likewise.
        * repo.c (open_repo_file, open_repo_file): Likewise.

From-SVN: r107884
2005-12-02 11:21:28 +00:00
Gabriel Dos Reis
20186b381a lvalue-2.c (f0): Put "error: " marker back.
* gcc.dg/lvalue-2.c (f0): Put "error: " marker back.

From-SVN: r107883
2005-12-02 09:54:01 +00:00
Richard Guenther
da6d971d5f convert.c (convert_to_integer): Fix compare for nonpositive constant to use tree_int_cst_sgn <= 0.
2005-12-02  Richard Guenther  <rguenther@suse.de>

        * convert.c (convert_to_integer): Fix compare for nonpositive
        constant to use tree_int_cst_sgn <= 0.

From-SVN: r107882
2005-12-02 09:46:17 +00:00
Richard Guenther
e7a6c1272c convert.c (convert_to_integer): Use fold_convert instead of fold_build1 (NOP_EXPR, ...).
2005-12-02  Richard Guenther  <rguenther@suse.de>

	* convert.c (convert_to_integer): Use fold_convert instead
	of fold_build1 (NOP_EXPR, ...).  Use tree_int_cst_sgn < 0
	instead of comparing against 0.  Use build_int_cst instead
	of converting integer_zero_node.

From-SVN: r107881
2005-12-02 09:38:57 +00:00
Richard Guenther
de3d4fc2da tree-pretty-print.c (op_symbol): Handle LROTATE_EXPR and RROTATE_EXPR.
2005-12-02  Richard Guenther  <rguenther@suse.de>

	* tree-pretty-print.c (op_symbol): Handle LROTATE_EXPR
	and RROTATE_EXPR.

From-SVN: r107880
2005-12-02 09:37:03 +00:00
Alan Modra
c378afbb0d re PR target/21017 (ppc 64bit target not using rlwinm)
PR target/21017
	* gcc.target/powerpc/rotate.c: New.

From-SVN: r107878
2005-12-02 19:23:56 +10:30
Jerry DeLisle
d82ef8754a pr24489.f90: Delete, replaced by read_eor.f90.
2005-12-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	* gfortran.dg/pr24489.f90: Delete, replaced by read_eor.f90.
	* gfortran.dg/pr24584.f90: Delete, replaced by namelist_empty.f90.

From-SVN: r107874
2005-12-02 06:33:02 +00:00
Alan Modra
c54293c6e8 re PR target/21017 (ppc 64bit target not using rlwinm)
PR target/21017
	* combine.c (simplify_logical <IOR>): Simplify more patterns to
	rotates.

From-SVN: r107873
2005-12-02 16:55:13 +10:30
Alan Modra
815eb8f0ca re PR middle-end/25176 ([4.0 only] FAIL: Array_3 -O3 execution - bytecode->native test)
PR middle-end/25176
	* function.c (expand_function_end): Emit blockage for unwinder
	after return label.

From-SVN: r107871
2005-12-02 16:45:54 +10:30
Roger Sayle
87f2a9f57b tree.h (TREE_OVERFLOW): Make this flag/predicate specific to constant nodes, i.e.
* tree.h (TREE_OVERFLOW): Make this flag/predicate specific to
	constant nodes, i.e. INTEGER_CST, REAL_CST, etc...
	* tree-vrp.c (compare_values): Only check TREE_OVERFLOW for
	integer constant comparisons.

ada/
	* utils.c (max_size): Only test for TREE_OVERFLOW on INTEGER_CST
	nodes.

From-SVN: r107870
2005-12-02 04:40:05 +00:00
Ben Elliston
cf84391c40 Missed in last check-in.
From-SVN: r107865
2005-12-02 14:02:19 +11:00
Ben Elliston
3e70ce6bad Missed in checkin. :-(
From-SVN: r107864
2005-12-02 14:00:10 +11:00
Jon Grimm
909e225622 dfp.h, dfp.c: New files.
2005-12-02  Jon Grimm  <jgrimm2@us.ibm.com>
	    Janis Johnson  <janis187@us.ibm.com>
	    David Edelsohn  <dje@watson.ibm.com>
	    Ben Elliston  <bje@au.ibm.com>

	* dfp.h, dfp.c: New files.
	* Makefile.in (DECNUM, DECNUMINC, LIBDECNUMBER): New variables.
	(DECNUM_H): Likewise.
	(LIBDEPS, LIBS, BACKEND): Append $(LIBDECNUMBER).
	(INCLUDES): Append $(DECNUMINC).
	(OBJS-common): Add dfp.o.
	(dfp.o): New rule.
	* real.h (EXP_BITS): Pinch one bit to ..
	(struct real_value): Add decimal field.
	(real_format): Change table size, update documentation.
	(REAL_MODE_FORMAT): Update for to handle float, decimal float.
	(real_from_string3): Declare.
	(decimal_single_format): Declare.
	(decimal_double_format): Declare.
	(decimal_quad_format): Declare.
	(REAL_VALUE_TO_TARGET_DECIMAL32): New.
	(REAL_VALUE_TO_TARGET_DECIMAL64): New.
	(REAL_VALUE_TO_TARGET_DECIMAL128): New.
	* real.c: Include dfp.h.
	(normalize): Early return for decimal floats.
	(do_add): Zero decimal field.
	(do_compare): Call do_decimal_compare for decimal floats.
	(do_fix_trunc): Likewise, call decimal_do_fix_trunc.
	(real_arithmetic): Call decimal_real_arithmetic for decimal
	floating point operands.
	(real_identical): If a and b are of differing radix, return false.
	(real_to_integer): Call decimal_real_to_integer if the value is a
	decimal float.
	(real_to_integer2): Likewise, call decimal_real_to_integer2.
	(real_to_decimal): Likewise, call decimal_real_to_decimal.
	(real_to_hexadecimal): Place "N/A" in the return string for
	decimal float.
	(real_from_string3): New variant, given a mode.
	(real_maxval): Use decimal_real_maxval for decimal floats.
	(round_for_format): Use decimal_round_for_format for decimals.
	(real_convert): Use decimal_real_convert where appropriate.
	(significand_size): Handle base 10.
	(encode_decimal_single, decode_decimal_single,
	encode_decimal_double, decode_decimal_double, encode_decimal_quad,
	decode_decimal_quad): New functions.
	(decimal_single_format): New.
	(decimal_double_format): New.
	(decimal_quad_format): New.
	* machmode.def: Add SD, DD and TD decimal floating point modes.
	* machmode.h (FLOAT_MODE_P, SCALAR_FLOAT_MODE_P, MODES_WIDEN_P):
	Include MODE_DECIMAL_FLOAT.
	(DECIMAL_FLOAT_MODE_P): New.
	* mode-classes.def (MODE_DECIMAL_FLOAT): New mode class.
	* genmodes.c (struct mode_data): Add counter field.
	(struct mode_data): Update comment for format.
	(blank_mode): Initialise counter field.
	(new_mode): Increment counter field for each mode defined.
	(complete_mode): Handle MODE_DECIMAL_FLOAT, update check for mode
	using a format.
	(make_complex_modes): Handle modes containing `D'.
	(DECIMAL_FLOAT_MODE, FRACTIONAL_DECIMAL_FLOAT_MODE): New.
	(make_decimal_float_mode): New.
	(reset_float_format): Handle MODE_DECIMAL_FLOAT.
	(cmp_modes): Compare counter field if other characteristics
	similar.
	(emit_real_format_for_mode): Support formats for decimal floats.
	* doc/rtl.texi (Machine Modes): Document SD, DD and TDmodes.
	Document MODE_DECIMAL_FLOAT.

Co-Authored-By: Ben Elliston <bje@au.ibm.com>
Co-Authored-By: David Edelsohn <dje@watson.ibm.com>
Co-Authored-By: Janis Johnson <janis187@us.ibm.com>

From-SVN: r107861
2005-12-02 13:30:42 +11:00
Gabriel Dos Reis
8da15291d0 parser.c (cp_parser_make_typename_type): Call make_typename_type with tf_none instead of magic value 0.
* parser.c (cp_parser_make_typename_type): Call make_typename_type
        with tf_none instead of magic value 0.
        (cp_parser_explicit_instantiation): Call do_type_instantiation
        with tf_error instead of magic value 1.
        (cp_parser_elaborated_type_specifier): Call make_typename_type
        with tf_error instead of magic value 1.
        (cp_parser_class_name): Likewise.
        (cp_parser_lookup_name): Likewise.

From-SVN: r107855
2005-12-02 01:31:42 +00:00
Erik Schnetter
e45b3c7546 decl.c (gfc_match_old_kind_spec): Improve handling of old style COMPLEX*N
2005-12-01  Erik Schnetter  <schnetter@aei.mpg.de>

	* decl.c (gfc_match_old_kind_spec):  Improve handling of old style
	COMPLEX*N

From-SVN: r107853
2005-12-02 01:25:58 +00:00
GCC Administrator
86e1c63bec Daily bump.
From-SVN: r107847
2005-12-02 00:17:36 +00:00
David Billinghurst
8e28929764 re PR testsuite/25193 (libstdc++ testsuite fails on cygwin)
2005-12-02  David Billinghurst (David.Billinghurst@riotinto.com)

	PR testsuite/25193
	* testsuite/lib/libstdc++.exp (libstdc++-dg-test): Catch
	error if file cannot be deleted.

From-SVN: r107841
2005-12-01 23:57:28 +00:00
Alan Modra
36686ad6c0 simplify-rtx.c (simplify_plus_minus): Do simplify constants.
* simplify-rtx.c (simplify_plus_minus): Do simplify constants.
	Delete dead code.

From-SVN: r107840
2005-12-02 10:18:13 +10:30
Gabriel Dos Reis
728cdd0872 parser.c (cp_parser_declaration): Set token2.type to CPP_EOF, not RID_MAX.
* parser.c (cp_parser_declaration): Set token2.type to CPP_EOF,
        not RID_MAX.

From-SVN: r107838
2005-12-01 23:10:27 +00:00
Richard Henderson
6cc5062afa * optabs.c (expand_vec_cond_expr): Use EXPAND_NORMAL.
From-SVN: r107834
2005-12-01 14:49:31 -08:00
Kaveh R. Ghazi
b53b5aa509 builtins.def (BUILT_IN_PUTC, [...]): New.
* builtins.def (BUILT_IN_PUTC, BUILT_IN_PUTC_UNLOCKED): New.

	* config/pa/pa.c (pa_init_builtins): If we detect
	DONT_HAVE_FPUTC_UNLOCKED, set builtin fputc_unlocked to
	putc_unlocked.

From-SVN: r107833
2005-12-01 22:46:14 +00:00
Anthony Green
f860c253df re PR bootstrap/25207 (bootstrap fails on libjava if alsa headers present but no -lasound.)
2005-12-01  Anthony Green  <green@redhat.com>

	PR bootstrap/25207
	* configure.ac: Make sure we have an alsa library in addition to
	the headers.  This extra test is required for systems with
	multilibs.
	* configure: Rebuilt.

From-SVN: r107828
2005-12-01 19:33:42 +00:00
Richard Guenther
b71b808628 fold-const.c (fold_binary): Use fold_build2, not fold (build (...)).
2005-12-01  Richard Guenther  <rguenther@suse.de>

        * fold-const.c (fold_binary): Use fold_build2, not
        fold (build (...)).

From-SVN: r107822
2005-12-01 16:32:28 +00:00