aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2005-05-31fold-const.c (extract_array_ref): Handle more cases, do some useful ↵Jeff Law4-12/+62
canonicalization of the base. * fold-const.c (extract_array_ref): Handle more cases, do some useful canonicalization of the base. (fold_binary): Explicitly deal with arrays of zero-sized structures during folding of &a[i] == &a[j]. * gcc.dg/tree-ssa/foldaddr-1.c: New test. From-SVN: r100391
2005-05-31* sv.po: Update.Joseph Myers2-29/+12
From-SVN: r100389
2005-05-31install.texi (sparc-sun-solaris2*): Update note about Sun bug 4910101.Eric Botcazou2-6/+8
* doc/install.texi (sparc-sun-solaris2*): Update note about Sun bug 4910101. From-SVN: r100385
2005-05-31install.texi (sparc-sun-solaris2.7): Document bootstrap failure with Sun ↵Eric Botcazou2-0/+16
WorkShop 6 99/08/18 as. * doc/install.texi (sparc-sun-solaris2.7): Document bootstrap failure with Sun WorkShop 6 99/08/18 as. From-SVN: r100383
2005-05-31Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r100380.2
2005-05-30loop.c (loop_invariant_p, [...]): Use regs_invalidated_by_call instead of ↵Pat Haugen2-2/+9
call_used_regs. 2005-05-30 Pat Haugen <pthaugen@us.ibm.com> * loop.c (loop_invariant_p, valid_initial_value_p): Use regs_invalidated_by_call instead of call_used_regs. From-SVN: r100378
2005-05-30gfortran.h (GFC_STD_LEGACY): New "standard" macro.Roger Sayle6-12/+51
* gfortran.h (GFC_STD_LEGACY): New "standard" macro. Reindent. * options.c (gfc_init_options): By default, allow legacy extensions but warn about them. (gfc_post_options): Make -pedantic warn about legacy extensions even with -std=legacy. (gfc_handle_option): Make -std=gnu follow the default behaviour of warning about legacy extensions, but allowing them. Make the new -std=legacy accept everything and warn about nothing. * lang.opt (std=legacy): New F95 command line option. * invoke.texi: Document both -std=f2003 and -std=legacy. * gfortran.texi: Explain the two types of extensions and document how they are affected by the various -std= command line options. From-SVN: r100377
2005-05-30re PR middle-end/21743 (Enable __builtin_clog)Paolo Carlini3-3/+9
2005-05-30 Paolo Carlini <pcarlini@suse.de> PR middle-end/21743 * gcc.dg/builtins-1.c: Activate disabled clog test. * gcc.dg/torture/builtin-attr-1.c: Likewise. From-SVN: r100375
2005-05-30re PR middle-end/21743 (Enable __builtin_clog)Paolo Carlini3-20/+28
2005-05-30 Paolo Carlini <pcarlini@suse.de> PR middle-end/21743 * builtins.def (BUILT_IN_CLOG, BUILT_IN_CLOGF, BUILT_IN_CLOGL): Enable. * doc/extend.texi: Add clog, clogf, clogl. From-SVN: r100374
2005-05-30re PR fortran/16939 (Pointers not passed as subroutine arguments)Paul Thomas1-0/+11
2005-05-29 Paul Thomas <pault@gcc.gnu.org> * testsuite/Changelog: Make up for my omission to update for PR16939 etc patches. From-SVN: r100373
2005-05-30re PR fortran/16939 (Pointers not passed as subroutine arguments)Paul Thomas1-0/+17
2005-05-29 Paul Thomas <pault@gcc.gnu.org> * fortran/Changelog: Make up for my omission to update for PR16939 etc patches. From-SVN: r100372
2005-05-30re PR c/20303 ([4.0 only] Can't push more than 16 nested visibility)H.J. Lu3-12/+24
2005-05-30 H.J. Lu <hongjiu.lu@intel.com> PR middle-end/20303 * c-pragma.c: Include "vec.h". (handle_pragma_visibility): Use VEC. * doc/invoke.texi: Remove the nested visibility push limit. From-SVN: r100371
2005-05-30re PR rtl-optimization/15422 (fmod loop exposes non-efficient code ↵Roger Sayle2-8/+52
generation in reg-stack.c) PR rtl-optimization/15422 * reg-stack.c (starting_stack_p): New static global. (straighten_stack): Delete prototype. Change to update the stack before the current insn. (subst_stack_regs): Update call to straighten stack. (emit_swap_insn): Delete prototype. For the first insn in a basic block, update stack_in instead of emitting a real swap. (change_stack): When changing the stack before the first insn in a basic block, update stack_in instead of emitting real code. (compensate_edges): Clear starting_stack_p during compensation. (convert_regs_1): Keep track of starting_stack_p whilst processing a basic block. From-SVN: r100370
2005-05-30Fix typoMark Mitchell1-0/+1
From-SVN: r100369
2005-05-30Fix typoMark Mitchell1-1/+1
From-SVN: r100366
2005-05-30re PR c++/21784 (Using vs builtin names)Mark Mitchell4-9/+35
PR c++/21784 * name-lookup.c (do_nonmember_using_decl): Ignore builtin functions, even when the used name is not a function. PR c++/21784 * g++.dg/lookup/using14.C: New test. From-SVN: r100365
2005-05-30* operators.def, optimize.c: Update copyright.Kazu Hirata3-2/+6
From-SVN: r100363
2005-05-30* trans-expr.c: Fix comment typos.Kazu Hirata2-2/+4
From-SVN: r100362
2005-05-30* tree-ssa-ccp.c (const_val): Make it static.Kazu Hirata2-1/+5
From-SVN: r100361
2005-05-30c99-math-double-1.c, [...]: Remove trailing ^M.Kazu Hirata5-165/+171
* gcc.dg/c99-math-double-1.c, gcc.dg/c99-math-float-1.c, gcc.dg/c99-math-long-double-1.c, gcc.dg/c99-math.h: Remove trailing ^M. From-SVN: r100360
2005-05-30* trans-expr.c: Remove trailing ^M.Kazu Hirata2-51/+55
From-SVN: r100359
2005-05-30re PR target/21761 (mainline gcc causing internal compiler error.)Geoffrey Keating4-1/+17
2005-05-29 Geoffrey Keating <geoffk@apple.com> PR target/21761 * config/rs6000/rs6000.md: Remove stray TARGET_32BIT from pattern involving `:P'. Index: testsuite/ChangeLog 2005-05-29 Geoffrey Keating <geoffk@apple.com> PR target/21761 * gcc.c-torture/compile/pr21761.c: New. From-SVN: r100352
2005-05-30badalloc1.C: Make XFAIL only on darwin before darwin8.Geoffrey Keating2-1/+6
* g++.old-deja/g++.eh/badalloc1.C: Make XFAIL only on darwin before darwin8. From-SVN: r100351
2005-05-30* Makefile.in (install-cpp): Depend on installdirs.Geoffrey Keating2-1/+5
From-SVN: r100350
2005-05-30tree-outof-ssa.c (_elim_graph): Change the type of edge_list to VEC(int,heap)*.Kazu Hirata2-16/+29
* tree-outof-ssa.c (_elim_graph): Change the type of edge_list to VEC(int,heap)*. (new_elim_graph, clear_elim_graph, delete_elim_graph, elim_graph_add_edge, elim_graph_remove_succ_edge, FOR_EACH_ELIM_GRAPH_SUCC, FOR_EACH_ELIM_GRAPH_PRED): Use VEC instead of VARRAY. From-SVN: r100349
2005-05-30* raise.c (db): Add ATTRIBUTE_PRINTF_2.Kaveh R. Ghazi2-1/+5
From-SVN: r100346
2005-05-30Credit Janne for the issue patch.Janne Blomqvist1-1/+2
From-SVN: r100343
2005-05-30re PR fortran/20846 (inquire(FILE=..., UNIT=...) not flagged as error)Steven G. Kargl2-0/+15
PR fortran/20846 * gfortran.dg/inquire_8.f90: New test. From-SVN: r100339
2005-05-30re PR fortran/20846 (inquire(FILE=..., UNIT=...) not flagged as error)Janne Blomqvist2-0/+22
fortran/PR20846 * io.c (gfc_match_inquire): Implement constraints on UNIT and FILE usage. From-SVN: r100338
2005-05-30Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r100336.2
2005-05-29cgraphunit.c, [...]: Fix typos and follow spelling conventions in error/dump ↵Kazu Hirata11-12/+19
messages. * cgraphunit.c, ipa-inline.c, loop-iv.c, modulo-sched.c, opts.c, postreload-gcse.c, tree-browser.def, tree-eh.c, tree-ssa-copyrename.c, tree-vect-analyze.c: Fix typos and follow spelling conventions in error/dump messages. From-SVN: r100330
2005-05-29ifcvt.c (noce_emit_move_insn): Construct a SET pattern directly if the RHS ↵Roger Sayle2-1/+11
isn't suitable for calling... * ifcvt.c (noce_emit_move_insn): Construct a SET pattern directly if the RHS isn't suitable for calling emit_move_insn. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r100329
2005-05-29ChangeLog: add PR numbersFrancois-Xavier Coudert2-0/+3
* ChangeLog: add PR numbers * gfortran.dg/dollar_edit_descriptor-1.f: Add correct dg-options. From-SVN: r100328
2005-05-29tree-ssa-ccp.c (ccp_fold): Return immediately after calling fold_unary and ↵Kazu Hirata2-12/+7
fold_binary. * tree-ssa-ccp.c (ccp_fold): Return immediately after calling fold_unary and fold_binary. From-SVN: r100326
2005-05-29char_pointer_assign.f90: Test character-pointerassignments and pointer ↵Paul Thomas4-0/+140
assignments. 2005-05-29 Paul Thomas <pault@gcc.gnu.org> * gfortran.dg/char_pointer_assign.f90: Test character-pointerassignments and pointer assignments. * gfortran.dg/char_pointer_dummy.f90: Test character-pointer dummy arguments. * gfortran.dg/char_pointer_func.f90: Test character-pointer function returns. * gfortran.dg/char_pointer_dependency.f90: Test character-pointer functions with dependencies. From-SVN: r100325
2005-05-29re PR fortran/16939 (Pointers not passed as subroutine arguments)Paul Thomas2-39/+108
2005-05-29 Paul Thomas <pault@gcc.gnu.org> PR fortran/16939 PR fortran/17192 PR fortran/17193 PR fortran/17202 PR fortran/18689 PR fortran/18890 PR fortran/21297 * fortran/trans-array.c (gfc_conv_resolve_dependencies): Add string length to temp_ss for character pointer array assignments. * fortran/trans-expr.c (gfc_conv_variable): Correct errors in dereferencing of characters and character pointers. * fortran/trans-expr.c (gfc_conv_function_call): Provide string length as return argument for various kinds of handling of return. Return a char[]* temporary for character pointer functions and dereference the temporary upon return. From-SVN: r100324
2005-05-29reg-stack.c (propagate_stack): Always copy the source stack to the destination.Roger Sayle2-76/+62
* reg-stack.c (propagate_stack): Always copy the source stack to the destination. This routine is now only called when this is safe. (better_edge): New function split out from convert_regs_1 to determine which of two edges is better to propagate across. (convert_regs_1): We need only search for a best edge if the stack layout hasn't been defined yet. Use better_edge to help find beste. No longer traverse unnecessary edges. From-SVN: r100323
2005-05-29tree-ssa-alias.c (new_type_alias): New procedure to create a type memory tag ↵Keith Besaw5-18/+74
for a pointer with a may-alias set... 2005-05-29 Keith Besaw <kbesaw@us.ibm.com> * tree-ssa-alias.c (new_type_alias): New procedure to create a type memory tag for a pointer with a may-alias set determined from a variable declaration. * tree-flow.h: export declaration of new_type_alias * tree-optimize.c (init_tree_optimization_passes): document that pass_may_alias cannot be called after pass_vectorize. * tree-vect-transform (vect_create_data_ref_ptr): Call new_type_alias when an type memory tag isn't available for a reference. (vectorizable_store): Use copy_virtual_operands to update virtual defs in place (so that loop_version can be called). Call mark_for_renaming for the virtual defs in case peeling is done and virtual uses outside the loop need to be updated. From-SVN: r100322
2005-05-29* gfortran.dg/output_exponents_1.f90: New test.Francois-Xavier Coudert2-0/+17
From-SVN: r100319
2005-05-29* gfortran.dg/dollar_edit_descriptor-1.f: New test.Francois-Xavier Coudert2-0/+16
From-SVN: r100316
2005-05-29re PR libfortran/20006 ($ format extension doesn't work)Francois-Xavier Coudert2-1/+11
PR libfortran/20006 * io.c (format_item_1): Add check and extension warning for $ edit descriptor. * io/format.c (parse_format_list): Set repeat count of $ format node to 1. * io/transfer.c (read_sf): Add g.seen_dollar to the test concerning advancing I/O. (data_transfer_init): Likewise. (finalize_transfer): Likewise. From-SVN: r100314
2005-05-29re PR tree-optimization/21639 (poisoned ggc memory used for -ftree-vectorize)Dorit Naishlos2-1/+6
PR tree-optimization/21639 * tree-complex.c (pass_lower_vector_s): Remove TODO_ggc_collect. From-SVN: r100313
2005-05-29cal.c, [...]: Fix comment typos.Kazu Hirata9-26/+32
* cal.c, decl.c, init.c, raise.c, trans.c, utils2.c: Fix comment typos. * gnat_rm.texi, gnat_ugn.texi: Fix typos. From-SVN: r100312
2005-05-29Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r100308.2
2005-05-29re PR c++/21340 (error in constructor lookup (can't find constructor with ↵Mark Mitchell4-0/+47
"const void**" argument)) PR c++/21340 * method.c (implicitly_declare_fn): Clear processing_template_decl when generating implicit declaration. PR c++/21340 * g++.dg/init/ctor6.C: New test. From-SVN: r100306
2005-05-28re PR tree-optimization/21562 (Quiet bad codegen (unrolling + tail call ↵Jan Hubicka4-13/+51
interaction)) PR tree-optimization/21562 * cfgexpand.c (construct_init_block): Deal properly with the case of entry edge not pointing to very first basic block. From-SVN: r100305
2005-05-28* basic-block.h: Remove forward declaration of bb_ann_d.Kazu Hirata2-3/+2
From-SVN: r100303
2005-05-28Makefile.in (OBJS-common): Add tree-cfgcleanup.o.Kazu Hirata5-721/+786
* Makefile.in (OBJS-common): Add tree-cfgcleanup.o. * tree-flow.h: Add prototypes for start_recording_case_labels and end_recording_case_labels. * tree-cfg.c (start_recording_case_labels, end_recording_case_labels): Export. (cleanup_tree_cfg_loop, modified_noreturn_calls, cleanup_control_flow, cleanup_control_expr_graph, remove_fallthru_edge, phi_alternatives_equal, tree_forwarder_block_p, has_abnormal_incoming_edge_p, remove_forwarder_block, cleanup_forwarder_blocks, remove_forwarder_block_with_phi, merge_phi_nodes, gate_merge_phi, pass_merge_phi): Move to ... * tree-cfgcleanup.c: ... here. From-SVN: r100302
2005-05-28tree-ssa-ccp.c (ccp_fold): Remove code that produces non-gimple min minvariant.Kazu Hirata2-32/+5
* tree-ssa-ccp.c (ccp_fold): Remove code that produces non-gimple min minvariant. From-SVN: r100301
2005-05-28* gfortran.dg/subnormal_1.f90: new test.Steven G. Kargl2-0/+15
From-SVN: r100300