Age | Commit message (Collapse) | Author | Files | Lines |
|
2004-11-29 Daniel Jacobowitz <dan@codesourcery.com>
PR c/7544
* Makefile.in (c-lang.o): Update dependencies.
* c-lang.c: Include "c-pragma.h".
(finish_file): Call maybe_apply_pending_pragma_weaks.
* c-pragma.c (maybe_apply_pending_pragma_weaks): New function.
* c-pragma.h (maybe_apply_pending_pragma_weaks): New prototype.
cp:
2004-11-29 Daniel Jacobowitz <dan@codesourcery.com>
* Make-lang.in (cp/decl2.o): Update dependencies.
* decl2.c (finish_file): Call maybe_apply_pending_pragma_weaks.
objc:
2004-11-29 Joseph Myers <joseph@codesourcery.com>
* Make-lang.in (objc/objc-act.o): Update dependencies.
* objc-act.c (objc_finish_file): Call
maybe_apply_pending_pragma_weaks if not OBJCPLUS.
testsuite:
2004-11-29 Joseph Myers <joseph@codesourcery.com>
* g++.dg/ext/weak1.C, gcc.dg/weak/weak-10.c, objc.dg/weak-1.m: New
tests.
From-SVN: r91479
|
|
PR target/17224
* config/ia64/predicates.md (sdata_symbolic_operand): Deny offsets
outside the referenced object.
From-SVN: r91478
|
|
* cfg.c (flow_obstack): Remove.
(flow_firstobj): Likewise.
(init_flow): Remove all uses of flow_obstack.
From-SVN: r91477
|
|
* tree-cfg.c (tree_redirect_edge_and_branch): Call find_edge
only when needed.
From-SVN: r91476
|
|
* cfgrtl.c (rtl_tidy_fallthru_edge): Speed up by using
EDGE_COUNT.
From-SVN: r91475
|
|
manipulation.
* cfgrtl.c (cfg_layout_redirect_edge_and_branch): Speed up by
simplifying edge manipulation.
From-SVN: r91474
|
|
PHI_ARG_EDGE.
* tree-if-conv.c (replace_phi_with_cond_modify_expr): Use
EDGE_PRED instead of PHI_ARG_EDGE.
* tree-ssa-live.c: Likewise.
* tree-ssa-loop-manip.c: Likewise.
* tree-ssa.c: Likewise.
From-SVN: r91473
|
|
From-SVN: r91472
|
|
PR c++/18652
* name-lookup.c (pushtag): Change return type to tree.
* cp-tree.h (pushtag): Adjust declaration.
* decl.c (xref_tag, start_enum): Use return value of pushtag.
* pt.c (push_template_decl_real): Return immediately if
pushdecl_namespace_level returns error_mark_node.
* g++.dg/lookup/crash6.C: New test.
From-SVN: r91470
|
|
2004-11-29 Paolo Carlini <pcarlini@suse.de>
* testsuite/21_strings/basic_string/capacity/char/18654.cc: Use
better names.
* testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: Same.
From-SVN: r91469
|
|
PR middle-end/18164
* gcc.dg/pr18164.c: Add dg-options "". Correct typo in dg-error.
From-SVN: r91468
|
|
reallocate & copy string contents unnecessarily)
2004-11-29 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/18654
* include/bits/basic_string.tcc (_Rep::_S_create): When shrinking,
do not round to pagesize.
* testsuite/21_strings/basic_string/capacity/char/18654.cc: New.
* testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: New.
From-SVN: r91466
|
|
* gcc.dg/Wnested-externs-1.c, gcc.dg/decl-7.c, gcc.dg/decl-8.c,
gcc.dg/if-empty-1.c, gcc.dg/init-bad-1.c, gcc.dg/init-bad-2.c,
gcc.dg/init-bad-3.c, gcc.dg/parm-mismatch-1.c: New tests.
From-SVN: r91465
|
|
* varasm.c (default_elf_select_section_1): Only pass DECL_P decl
to named_section.
From-SVN: r91464
|
|
* opts.c (decode_options): Do not set max-inline-insns-rtl.
(common_handle_option): Likewise.
* params.def (PARAM_MAX_INLINE_INSNS_RTL): Remove.
* params.h (MAX_INLINE_INSNS_RTL): Remove.
* doc/invoke.texi (max-inline-insns-rtl): Remove.
From-SVN: r91463
|
|
PR target/9571
* varasm.c (default_elf_select_section_1): Pass decl to named_section.
From-SVN: r91462
|
|
2004-11-18 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/18164
* gimplify.c (gimplify_asm_expr): If the length of an output operand
is zero, do not process it, just let it go through.
2004-11-28 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/pr18164.c: New test.
From-SVN: r91459
|
|
* tree-ssa-ccp.c (substitute_and_fold): If replaced anything,
always call maybe_clean_eh_stmt and modify_stmt.
Co-Authored-By: Diego Novillo <dnovillo@redhat.com>
From-SVN: r91451
|
|
on LHS when deciding if must or may def.
PR/18664
* tree-ssa-operands.c (build_ssa_operands, case MODIFY_EXPR):
Ignore a VIEW_CONVERT_EXPR on LHS when deciding if must or may def.
* tree-ssa-ccp.c (visit_assignment): If LHS is a VIEW_CONVERT_EXPR,
add an inverse VIEW_CONVERT_EXPR to const_val.
From-SVN: r91450
|
|
* tree-nested.c (check_for_nested_with_variably_modified): New.
(create_nesting_tree): Call it.
From-SVN: r91449
|
|
for assigning to non-pointer.
* tree-ssa-alias.c (compute_points_to_and_addr_escapes): Remove
special code for assigning to non-pointer.
(is_escape_site): If RHS is a conversion between pointer and integer
types, this is an escape site.
From-SVN: r91448
|
|
* gcse.c (insert_store): Error if try to insert store on abnormal edge.
(store_motion): Don't move store if any edge we'd want to move it
to is abnormal.
From-SVN: r91447
|
|
* expr.c (expand_expr_real_1, case ARRAY_REF): Properly fold with
non-zero lower bound.
From-SVN: r91446
|
|
From-SVN: r91445
|
|
with a valid option)
(gcc)
PR diagnostic/17594
* opts.c (find_opt): Require that the input match a switch exactly
or that the switch take a joined option to be interpreted as a
match for another language.
(gcc/testsuite)
* gcc.dg/funroll-loops-all.c: New.
From-SVN: r91444
|
|
PR target/18489
* g++.dg/rtti/tinfo1.C: In pattern for label definition ending
delimeter, match space and TAB as well as ":".
From-SVN: r91443
|
|
[[Split portion of a mixed commit.]]
From-SVN: r91441.2
|
|
[[Split portion of a mixed commit.]]
From-SVN: r91440.2
|
|
2004-11-28 Andrew Pinski <pinskia@physics.uc.edu>
* timevar.def (TV_TREE_REDPHI): New timevar.
* tree-ssa.c (pass_redundant_phi): Use TV_TREE_REDPHI for the tv id.
From-SVN: r91438
|
|
From-SVN: r91437
|
|
generating dependencies)
2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org>
PR preprocessor/17651
* c-opts.c (sanitize_cpp_opts): Make flag_no_output imply
flag_no_line_commands.
* c-ppoutput.c (pp_file_change): Remove now-redundant check of
flag_no_output.
From-SVN: r91436
|
|
PR target/18484
* g++.dg/abi/empty6.C: Xfail warning for mmix-*-*.
From-SVN: r91434
|
|
does not begin with "__vector" and the...
* config/avr/avr.c (avr_handle_fndecl_attribute): Generate a
warning if the function name does not begin with "__vector" and the
function has either the 'signal' or 'interrupt' attribute.
From-SVN: r91433
|
|
* config/avr/avr.c (avr_mcu_types): Add entries for atmega48,
atmega88, atmega168, attiny13, attiny2313, at90can128, atmega165,
atmega325, atmega3250, atmega645 and atmega6450.
* config/avr/avr.h (LINK_SPEC): Ditto.
(LIB_SPEC): Ditto.
(LIBGCC_SPEC): Ditto.
(CRT_BINUTILS_SPECS): Ditto.
* config/avr/t-avr (MULTILIB_MATCHES): Ditto.
From-SVN: r91432
|
|
PR target/18348
* gcc.dg/uninit-H.c (ASM): For unknown targets, define to "= 0".
From-SVN: r91431
|
|
* mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
XMLDecoder tests which currently don't compile.
From-SVN: r91430
|
|
PR target/18345
* gcc.dg/intmax_t-1.c: Add mmix-*-* to dg-error.
From-SVN: r91429
|
|
(libcpp)
PR preprocessor/17610
* directives.c (do_include_common): Error out if an empty filename
is given for #include (or #include_next or #import).
(gcc)
PR preprocessor/17610
* testsuite/gcc.dg/cpp/empty-include.c: New testcase.
From-SVN: r91428
|
|
gcc.dg/array-quals-1.c)
PR target/18337
* gcc.dg/array-quals-1.c: Xfail for mmix-*-*.
From-SVN: r91427
|
|
2004-11-28 Bud Davis <bdavis9659@comcast.net>
* gcc/gcc/gfortran.dg/direct_io_2.f90: New test.
* gcc/libgfortran/io/unix.c (mmap_alloc_w_a): check for a write
to a location less than the mapped area.
From-SVN: r91426
|
|
* tree-ssa-alias.c (count_calls_and_maybe_create_global_var): New.
(pass_maybe_create_global_var): New.
* tree-pass.h (pass_maybe_create_global_var): Declare.
* tree-optimize.c (init_tree_optimization_passes): Link in
pass_maybe_create_global_var.
From-SVN: r91425
|
|
PR target/18334
* gcc.dg/cpp/assert4.c: Remove mmix assertion tests.
From-SVN: r91424
|
|
From-SVN: r91420
|
|
PR rtl-optimization/18420
* simplify-rtx.c (simplify_gen_subreg): Revert 2004-10-28 change.
From-SVN: r91419
|
|
From-SVN: r91418
|
|
* config/vax/vax.h (CASE_DROPS_THROUGH): Don't define.
* config/vax/vax.md (casesi): Emit a test-and-branch to make sure
that the case is in range, to make sure the casesi insn is always
in range and never falls through.
(casesi1): Add comment to explain why casesi never falls through.
Remove the unnamed special case casesi pattern.
From-SVN: r91417
|
|
execute/ieee/fp-cmp-8.c gcc.dg/20040625-1.c)
PR target/18331
* config/mmix/mmix.md ("*movdicc_real_reversible"): Rename from
"*movdicc_real". Only match reversible comparisons.
("*movdicc_real_nonreversible"): New pattern, split from
"*movdicc_real". Match only nonreversible comparisons. Exclude
reversed alternatives.
("*movdfcc_real_reversible", "*movdfcc_real_nonreversible"):
Similar.
From-SVN: r91416
|
|
From-SVN: r91415
|
|
* config/ia64/ia64.md: Move all define_predicate's ...
* config/ia64/predicates.md: ... here. New file.
From-SVN: r91414
|
|
* jcf-parse.c (set_source_filename): Improvement to Andrew's fix:
Fix fencepost error in 'i', which got executed one too many times.
Also, fold memcpy into explicit loop, as originally intended.
Also, free temporary 'buf' which otherwise leaks.
From-SVN: r91411
|