Jakub Jelinek
9df6c3295b
movq-2.c: Add -mtune=pentium4 to dg-options.
...
* gcc.target/i386/movq-2.c: Add -mtune=pentium4 to
dg-options.
From-SVN: r108042
2005-12-05 08:46:40 +01:00
John David Anglin
7db0cc7eb2
re PR target/25166 (FAIL: gcc.c-torture/execute/conversion.c compilation)
...
PR target/25166
* pa/pa.c (pa_hpux_init_libfuncs): Add _U_Qfcnvxf_usgl_to_quad and
_U_Qfcnvxf_udbl_to_quad to set of initialized libfuncs.
* pa/quadlib.c (_U_Qfcnvxf_usgl_to_quad, _U_Qfcnvxf_udbl_to_quad): New
functions.
From-SVN: r108039
2005-12-05 03:23:37 +00:00
Paolo Carlini
56540d20c2
sso_string_base.h (__sso_string_base<>::_M_reserve): Simplify.
...
2005-12-04 Paolo Carlini <pcarlini@suse.de>
* include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
Simplify.
From-SVN: r108036
2005-12-05 01:57:59 +00:00
Paolo Carlini
cf8829194f
vstring.h (__versa_string<>::operator+, [...]): Move out of line...
...
2005-12-04 Paolo Carlini <pcarlini@suse.de>
* include/ext/vstring.h (__versa_string<>::operator+, all
versions): Move out of line...
* include/ext/vstring.tcc (__versa_string<>::operator+): ...
here; consistently use reserve for the benefit of sso_string_base;
prefer push_back to single-char append when appropriate.
* include/ext/vstring.h (__versa_string<>::push_back): Don't
call _M_reserve, _M_mutate instead.
(reserve): Just forward to _M_reserve.
* include/ext/vstring.tcc (__versa_string<>::_M_reserve): Remove.
* include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve): Also
do the initial checks (first on length, in case __res == capacity).
* include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve:
Likewise; don't call _M_set_length unnecessarily.
2005-12-04 Paolo Carlini <pcarlini@suse.de>
* include/ext/vstring.h (__versa_string<>::_M_append): New.
(append(const __versa_string&), append(const __versa_string&,
size_type, size_type), append(const _CharT*, size_type),
append(const _CharT*)): Use it.
(append(size_type, _CharT)): Delegate to _M_replace_aux.
(assign(const __versa_string&, size_type, size_type),
assign(const _CharT*), replace(size_type, size_type,
const _CharT*, size_type)): Forward to _M_replace.
* include/ext/vstring.tcc (__versa_string<>::_M_append):
Define, core append functionality.
(_M_replace): Simplify, move __s == 0 case to _M_replace_aux.
(_M_replace_aux): Reorganize, don't call _M_replace.
2005-12-04 Paolo Carlini <pcarlini@suse.de>
* include/ext/vstring.tcc (__versa_string<>::_M_replace):
Perform _M_check_length at the beginning and remove it from ...
(replace, _M_replace_dispatch, _M_replace_aux, assign): ... here.
(assign): Now move inline.
(resize): Don't call _M_check_length redundantly, append does.
2005-12-04 Paolo Carlini <pcarlini@suse.de>
* include/ext/sso_string_base.h (__sso_string_base<>::_M_get_allocator):
Add non const version.
* include/ext/rc_string_base.h (__rc_string_base<>::_M_get_allocator):
Likewise.
* include/ext/sso_string_base.h (__sso_string_base<>::_M_erase): Add.
* include/ext/rc_string_base.h (__rc_string_base<>::_M_erase): Likewise.
(_M_leak_hard): Use it.
* include/ext/vstring.h (__versa_string<>::clear, erase, all
versions): Use it.
* include/ext/vstring.tcc (__versa_string<>::resize): Likewise.
* include/ext/vstring.h (__versa_string<>::_M_replace_safe):
Remove.
* include/ext/vstring.h (__versa_string<>::_M_replace): New, does
the in-place work or delegates to _M_mutate in case of reallocation.
* include/ext/vstring.tcc (__versa_string<>::_M_replace_safe):
Remove.
* include/ext/vstring.tcc (__versa_string<>::_M_replace): Define.
(assign, replace, _M_replace_dispatch, _M_replace_aux): Use it.
* include/ext/sso_string_base.h (__sso_string_base<>::_M_mutate):
Change to manage only reallocations.
* include/ext/rc_string_base.h (__rc_string_base<>::_M_mutate):
Likewise.
* include/ext/vstring.h (__versa_string<>::insert(size_type,
const __versa_string&), insert(size_type, const __versa_string&,
size_type, size_type), insert(size_type, const _CharT*, size_type),
insert(size_type, const _CharT*)): Delegate to replace.
* include/ext/vstring.h (__versa_string<>::reserve): Move out of
line.
* include/ext/vstring.tcc (__versa_string<>::reserve): Do the
checks and call _M_reserve.
* include/ext/vstring.h (__versa_string<>::append): Call _M_reserve
instead of reserve.
* include/ext/vstring.tcc (__versa_string<>::append, all versions):
Likewise.
* include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
Adjust.
* include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve):
Likewise.
From-SVN: r108034
2005-12-05 00:32:31 +00:00
GCC Administrator
7343398692
Daily bump.
...
From-SVN: r108031
2005-12-05 00:17:32 +00:00
Ben Elliston
c01731362e
Makefile.in (clean): Remove stray reference to libcpp.a.
...
* Makefile.in (clean): Remove stray reference to libcpp.a.
* decimal128.h, decContext.c, decRound.c, decimal32.c,
decNumber.c, decContext.h, decimal64.c, decimal32.h, decNumber.h,
decimal64.h, decUtility.c, decLibrary.c, configure.ac,
decNumberLocal.h, decUtility.h, decDPD.h, decimal128.c: Update FSF
office address.
From-SVN: r108024
2005-12-05 10:50:48 +11:00
Joseph Myers
6aa3c60d7f
c-typeck.c (null_pointer_constant_p): New function.
...
* c-typeck.c (null_pointer_constant_p): New function.
(build_conditional_expr, build_c_cast, convert_for_assignment,
build_binary_op): Use it.
testsuite:
* gcc.dg/c90-const-expr-5.c, gcc.dg/c99-const-expr-5.c: New tests.
From-SVN: r108022
2005-12-04 23:04:59 +00:00
Joseph Myers
1344f9a318
c-common.c (binary_op_error): Do not allow NOP_EXPR.
...
* c-common.c (binary_op_error): Do not allow NOP_EXPR.
(c_common_truthvalue_conversion): Handle NOP_EXPR the same as
CONVERT_EXPR.
(check_function_arguments_recurse): Allow both NOP_EXPR and
CONVERT_EXPR but check conversions preserve precision.
* c-typeck.c (pointer_diff): Allow both NOP_EXPR and CONVERT_EXPR
but check conversions preserve precision.
(build_unary_op): Don't allow NOP_EXPR. Use gcc_unreachable () in
default case.
testsuite:
* gcc.dg/format/cast-1.c: New test.
From-SVN: r108020
2005-12-04 21:45:41 +00:00
Roger Sayle
d77314ece6
re PR c/7776 (const char* p = "foo"; if (p == "foo") ... is compiled without warning!)
...
PR c/7776
* doc/invoke.texi: Document new -Wstring-literal-comparison option.
From-SVN: r108019
2005-12-04 19:58:37 +00:00
Roger Sayle
e994a705a9
re PR c/7776 (const char* p = "foo"; if (p == "foo") ... is compiled without warning!)
...
PR c/7776
* common.opt (Wstring-literal-comparison): New command line option.
* c-opts.c (c_common_handle_option): Set it with -Wall.
* c-typeck.c (parser_build_binary_op): Issue warning if either
operand of a comparison operator is a string literal, except for
testing equality or inequality against NULL.
* doc/invoke.texi: Document new -Wstring-literal-comparison option.
* gcc.dg/Wstring-literal-comparison-1.c: New test case.
* gcc.dg/Wstring-literal-comparison-2.c: Likewise.
* gcc.dg/Wstring-literal-comparison-3.c: Likewise.
* gcc.dg/Wstring-literal-comparison-4.c: Likewise.
From-SVN: r108018
2005-12-04 19:56:47 +00:00
Francois-Xavier Coudert
93af36c5c1
format.c: Removing unused code.
...
* io/format.c: Removing unused code.
* intrinsics/random.c: Likewise.
From-SVN: r108014
2005-12-04 18:13:59 +00:00
GCC Administrator
0954310ff3
Daily bump.
...
From-SVN: r108007
2005-12-04 00:17:29 +00:00
Joseph Myers
4c7a6c1bdb
c-common.c (c_sizeof_or_alignof_type): Use fold_convert instead of building a NOP_EXPR.
...
* c-common.c (c_sizeof_or_alignof_type): Use fold_convert instead
of building a NOP_EXPR.
(c_alignof_expr): Likewise. Handle CONVERT_EXPR the same as
NOP_EXPR.
* c-convert.c (convert): Use fold_convert instead of building
NOP_EXPRs and CONVERT_EXPRs directly. Don't special case
c_objc_common_truthvalue_conversion returning a NOP_EXPR. Remove
#if 0 code.
* c-pretty-print.c (pp_c_cast_expression, pp_c_expression): Handle
NOP_EXPR the same as CONVERT_EXPR.
* c-typeck.c (build_function_call): Use fold_convert instead of
building a NOP_EXPR directly.
(build_compound_expr): Handle NOP_EXPR the same as CONVERT_EXPR.
testsuite:
* gcc.dg/cast-pretty-print-1.c: New test.
From-SVN: r108001
2005-12-03 18:58:43 +00:00
Francois-Xavier Coudert
a34a91f0b7
re PR fortran/25106 ([4.0/4.1] statement label is zero)
...
PR fortran/25106
* parse.c (next_free): Use new prototype for gfc_match_st_label.
Correctly emit hard error if a label is zero.
* match.c (gfc_match_st_label): Never allow zero as a valid
label.
(gfc_match, gfc_match_do, gfc_match_goto): Use new prototype for
gfc_match_st_label.
* primary.c (): Use new prototype for gfc_match_st_label.
* io.c (): Likewise.
* match.h: Likewise.
From-SVN: r107999
2005-12-03 15:32:04 +00:00
Alan Modra
1b2bb2edfa
typo fix
...
From-SVN: r107993
2005-12-03 15:01:16 +10:30
Alan Modra
66a5ab4015
PR rtl-optimization 25197
...
PR rtl-optimization 25197
* dwarf2out.c (dwarf2out_frame_debug_expr <rule 12>): Assert we
have a reg.
From-SVN: r107992
2005-12-03 14:56:37 +10:30
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