aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-06-04gfortran.h (gfc_actual_arglist): New field missing_arg_type.Tobias Schlüter6-4/+49
fortran/ * gfortran.h (gfc_actual_arglist): New field missing_arg_type. * interface.c (compare_actual_formal): Keep type of omitted optional arguments. * trans-expr.c (gfc_conv_function_call): Add string length argument for omitted string argument. testsuite/ * gfortran.fortran-torture/execute/optstring_1.f90: New testcase. From-SVN: r82608
2004-06-03* rtl.def (VAR_LOCATION): Make RTX_EXTRA.Steven Bosscher2-2/+6
From-SVN: r82607
2004-06-03darwin.c (machopic_indirect_data_reference): Copy the SYMBOL_REF_DECL from ↵Andrew Pinski2-0/+8
the original RTX for the new non-lazy pointer RTX. 2004-06-03 Andrew Pinski <pinskia@physics.uc.edu> * config/darwin.c (machopic_indirect_data_reference): Copy the SYMBOL_REF_DECL from the original RTX for the new non-lazy pointer RTX. From-SVN: r82606
2004-06-04One more comment updateTobias Schlüter1-2/+2
From-SVN: r82605
2004-06-03trans.c (gfc_finish_block, [...]): Build statement lists instead of compound ↵Paul Brook2-4/+30
expr chains. * trans.c (gfc_finish_block, gfc_add_expr_to_block): Build statement lists instead of compound expr chains. (gfc_trans_code): Annotate statement lists. From-SVN: r82604
2004-06-03* trans-array.c: Fix spelling in comments.Tobias Schlüter2-16/+20
From-SVN: r82603
2004-06-03* MAINTAINERS (Write After Approval): Add myself.Mark G. Adams2-0/+5
From-SVN: r82602
2004-06-03tree.h: Remove include of version.hMark G. Adams10-7/+27
* tree.h: Remove include of version.h * c-cppbuiltin.c: Include version.h * diagnostic.c: Include version.h * dwarf2out.c: Include version.h * toplev.c: Include version.h * vmsdbgout.c: Include version.h * Makefile.in: Remove dependency on version.h from TREE_H, and add dependencies to required .o targets * gjavah.c: Include version.h From-SVN: r82601
2004-06-03Makefile.in (RA_H, [...]): New.Jerry Quinn12-55/+170
2004-06-03 Jerry Quinn <jlquinn@optonline.net> * Makefile.in (RA_H, RESOURCE_H, SCHED_INT_H, CFGLAYOUT_H, CFGLOOP_H, DF_H, DDG_H, TREE_SSA_LIVE_H): New. (TARGET_H): Add insn-modes.h. (tree-ssa.o, tree-cfg.o, tree-ssa-loop.o, toplev.o, passes.o, loop.o, loop-doloop.o, unroll.o, cfgloop.o, cfgloopanal.o, loop-iv.o, cfgloopmanip.o, loop-init.o, loop-unswitch.o, loop-unroll.o, ddg.o, modulo-sched.o, predict.o, cfglayout.o, ifcvt.o): Replace cfgloop.h with CFGLOOP_H. (toplev.o, passes.o, cfghooks.o, cfgloopmanip.o, loop-init.o, loop-unswitch.o, loop-unroll.o, ddg.o, modulo-sched.o, bb-reorder.o, tracer.o, cfglayout.o): Replace cfglayout.h with CFGLAYOUT_H. (ra.o, ra-build.o, ra-colorize.o, ra-debug.o, ra-rewrite.o): Replace ra.h with RA_H. (resource.o, regrename.o, insn-conditions.o, insn-emit.o, insn-recog.o): Replace resource.h with RESOURCE_H. (ddg.o, modulo-sched.o, haifa-sched.o, sched-deps.o, sched-rgn.o, sched-ebb.o, sched-vis.o, out_object_file): Replace sched-int.h with SCHED_INT_H. (web.o, lcm.o, df.o, ra.o, ra-build.o, ra-colorize.o, ra-debug.o, ra-rewrite.o): Replace df.h with DF_H. (ddg.o, modulo-sched.o): Replace ddf.h with DDG_H. (tree-outof-ssa.o, tree-ssa-live.o, tree-ssa-copyrename.o): Replace tree-ssa-live.h with TREE_SSA_LIVE_H. (insn-conditions.o): Remove unused reload.h. * cfglayout.h: Add include guard. Include basic-block.h. * cfgloop.h: Add include guard. Include basic-block.h, rtl.h. * ddg.h: Include sbitmap.h, basic-block.h, df.h. * df.h: Add include guard. Include bitmap.h, sbitmap.h, basic-block.h. * genconditions.c: Remove reload.h. * ra.h: Add include guard. Include bitmap.h, sbitmap.h, hard-reg-set.h, insn-modes.h. * resource.h: Add include guard. Include hard-reg-set.h. * sched-int.h: Add include guard. Include insn-attr.h, basic-block.h, rtl.h. * target.h: Add include guard. Include insn-modes.h. * tree-ssa-live.h: Include partition.h. From-SVN: r82600
2004-06-03tree-ssa-ccp.c (varying_ssa_edges): New worklist.Daniel Berlin2-26/+77
2004-06-03 Daniel Berlin <dberlin@dberlin.org> Kenneth Zadeck <zadeck@naturalbridge.com> * tree-ssa-ccp.c (varying_ssa_edges): New worklist. (add_var_to_ssa_edges_worklist): Add value argument. Update callers. Use new worklist. (process_ssa_edge_worklist): New function. (tree_ssa_ccp): Move worklist processing core to process_ssa_edge_worklist, and just call that for the two worklists. From-SVN: r82598
2004-06-03basic-block.c (tail_recursion_label_list): Don't declare.Steven Bosscher15-458/+50
* basic-block.c (tail_recursion_label_list): Don't declare. (CLEANUP_PRE_SIBCALL): Remove. Renumber the other CLEANUP_* accordingly. * cfgbuild.c (find_label_refs): Remove. (find_basic_blocks_1): Don't handle CALL_PLACEHOLDER insns. * cfgcleanup.c (tail_recursion_label_p): Remove. (merge_blocks_move): Do not check for tail recursion. (try_optimize_cfg): Likewise. (cleanup_cfg): Never handle CLEANUP_PRE_SIBCALL. * cfgrtl.c (tail_recursion_label_list): Remove. * except.c (remove_unreachable_regions): Don't handle CALL_PLACEHOLDER insns. (convert_from_eh_region_ranges_1, can_throw_internal, can_throw_external): Likewise. * function.c (free_after_compilation): Don't clear x_tail_recursion_label. (fixup_var_refs_insns): Don't handle CALL_PLACEHOLDER insns. (identify_blocks_1): Don't recurse for CALL_PLACEHOLDER insns. (reorder_blocks_1): Likewise. * function.h (struct function): Remove x_tail_recursion_label member. Don't define tail_recursion_label. * jump.c (mark_all_labels): Don't handle CALL_PLACEHOLDER insns. * print-rtl.c (print_rtx): Likewise. * rtl.def (CALL_PLACEHOLDER): Remove. * rtl.h (sibcall_use_t): Remove enum. (optimize_sibling_and_tail_recursive_calls, replace_call_placeholder): Remove function prototypes. * stmt.c (tail_recursion_args): Remove. (optimize_tail_recursion): Remove. (expand_return): Don't check for possible tail recursion. * tree.h (optimize_tail_recursion): Remove prototype. From-SVN: r82597
2004-06-032004-06-03 Michael Koch <konqueror@gmx.de>Michael Koch4-9/+18
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus): Revert last changes. (gtkRequestFocus): Removed. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus): Renamed to ... (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus): Reverted last patch. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup): Reverted comment change. From-SVN: r82596
2004-06-03configure.in: Fix --enable-bootstrap breakage introduced in trees without gcc.Paolo Bonzini4-105/+116
* configure.in: Fix --enable-bootstrap breakage introduced in trees without gcc. * configure: Regenerate. From-SVN: r82595
2004-06-03Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r82592.2
2004-06-03Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r82590.2
2004-06-02tree-cfg.c (tree_find_edge_insert_loc): Allow inserting before return_stmt.Jan Hubicka2-0/+21
* tree-cfg.c (tree_find_edge_insert_loc): Allow inserting before return_stmt. From-SVN: r82586
2004-06-02When a class template is explicitly instantiated, its member should be too.Matt Austern5-53/+54
* cp-tree.h (instantiate_decl): new boolean parameter, undefined_ok. Current behavior is equivalent to its being 0. * decl2.c (mark_used): Add new argument when calling instantiate_decl * pt.c (mark_decl_instantiated): Unconditionally make instantiations explicit unconditionally (do_decl_instantiation): Don't call SET_DECL_EXPLICIT_INSTANTIATION, since mark_decl_instantiated now does it. (instantiate_class_member): New. Instantiate a member of an explicitly instantiated class template. (do_type_instantiation): Explicitly instantiate members of an explicitly instantiated class template. (instantiate_decl): if undefined_ok is nonzero, and if we're trying to explicitly instantiated a template with no definition, change it to an implicit instantiation. (instantiate_pending_templates): Add new argument to instantiate_decl. * tree.c (cp_cannot_inline_tree_fn): Likewise. From-SVN: r82585
2004-06-02* include/std/std_complex.h (log): Tidy.Gabriel Dos Reis2-2/+9
From-SVN: r82584
2004-06-02Makefile.in (TAGS): Don't mess with c-parse.[ch].Jason Merrill2-5/+6
* Makefile.in (TAGS): Don't mess with c-parse.[ch]. Do include c-parse.in. From-SVN: r82582
2004-06-02cp-tree.h: Fix typo.Andrew Pinski2-1/+3
2004-06-02 Andrew Pinski <pinskia@physics.uc.edu> * cp-tree.h: Fix typo. From-SVN: r82580
2004-06-02JCheckBoxMenuItem.java: Removed CVS tags.Olga Rodimina13-92/+18
* javax/swing/JCheckBoxMenuItem.java: Removed CVS tags. * javax/swing/JMenu.java: Likewise. * javax/swing/JMenuBar.java: Likewise. * javax/swing/JMenuItem.java: Likewise. * javax/swing/JPopupMenu.java: Likewise. * javax/swing/JRadioButtonMenuItem.java: Likewise. * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise. * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise. * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise. * javax/swing/plaf/basic/BasicMenuUI.java: Likewise. * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise. * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise. From-SVN: r82579
2004-06-02objc.exp (objc_target_compile): When running tests on Darwin (Mac OS X)...Ziemowit Laski2-0/+15
[gcc/testsuite/ChangeLog] 2004-06-02 Ziemowit Laski <zlaski@apple.com> * lib/objc.exp (objc_target_compile): When running tests on Darwin (Mac OS X), inform the linker about '-framework 'Foundation'. From-SVN: r82578
2004-06-02c-typeck.c (common_type): Don't lose type qualifiers when creating new variants.Eric Christopher4-34/+68
2004-06-02 Eric Christopher <echristo@redhat.com> * c-typeck.c (common_type): Don't lose type qualifiers when creating new variants. 2004-06-02 Eric Christopher <echristo@redhat.com> * gcc.c-torture/compile/20040602-1.c: New. From-SVN: r82577
2004-06-02Add function name to the changelog.Andrew Pinski1-1/+2
From-SVN: r82576
2004-06-02cp-tree.h: Include cgraph.hAndrew Pinski2-2/+11
2004-06-02 Andrew Pinski <pinskia@physics.uc.edu> * cp-tree.h: Include cgraph.h (DECL_NEEDED_P): Use cgraph_*node on the decl instead of TREE_SYMBOL_REFERENCED on the DECL_ASSEMBLER_NAME of the decl. From-SVN: r82575
2004-06-02ssa-sra-1.C: Fix comment.Andrew Pinski3-2/+5
2004-06-02 Andrew Pinski <pinskia@physics.uc.edu> * g++.dg/tree-ssa/ssa-sra-1.C: Fix comment. * g++.dg/tree-ssa/ssa-sra-2.C: Likewise. From-SVN: r82574
2004-06-02re PR tree-optimization/14736 ([tree-ssa] code quality regression)Andrew Pinski6-1/+144
2004-06-02 Andrew Pinski <pinskia@physics.uc.edu> PR tree-optimization/14736 * g++.dg/tree-ssa/ssa-cast-1.C: New Test. PR tree-optimization/14042 * g++.dg/tree-ssa/ssa-sra-1.C: New Test. PR tree-optimization/14729 * g++.dg/tree-ssa/ssa-sra-2.C: New Test. 2004-06-02 Andrew Pinski <pinskia@physics.uc.edu> PR tree-optimization/14042 PR tree-optimization/14729 PR tree-optimization/14736 * tree-ssa.c: Check the type which the pointer points to instead of the pointer types. From-SVN: r82573
2004-06-02re PR tree-optimization/15738 ([tree-ssa] Convert strrchr(s, c) to strchr(s, ↵Kazu Hirata2-0/+21
c) if c is known to be 0) PR tree-optimization/15738. * builtins.c (fold_builtin_strchr): Transform strrchr (s, '\0') to strchr (s, '\0'). From-SVN: r82572
2004-06-02i386.c (ix86_adjust_cost): Don't increase the cost for load+operation for ↵Steven Bosscher2-11/+9
PROCESSOR_PENTIUMPRO... * i386.c (ix86_adjust_cost): Don't increase the cost for load+operation for PROCESSOR_PENTIUMPRO, it is already modelled in the DFA description From-SVN: r82571
2004-06-02re PR fortran/15557 (Not Implemented: Substring reference in DATA statement)Tobias Schlüter4-5/+124
fortran/ PR fortran/15557 * data.c (assign_substring_data_value): New function. (gfc_assign_data_value): Call the new function if we're dealing with a substring LHS. testsuite/ PR fortran/15557 * gfortran.fortran-torture/execute/data_3.f90: New testcase. From-SVN: r82570
2004-06-02Makefile.in (EXPR_H): Add insn-config.h...Jerry Quinn12-40/+139
2004-06-01 Jerry Quinn <jlquinn@optonline.net> * Makefile.in (EXPR_H): Add insn-config.h, function.h, $(RTL_H), flags.h, $(TREE_H), $(MACHMODE_H), $(EXPR_H). (ALIAS_H, EMIT_RTL_H): New. (cselib.o): Replace EXPR_H with EMIT_RTL_H. (cfgcleanup.o): Add EMIT_RTL_H. (alias.o): Replace EXPR_H with EMIT_RTL_H and ALIAS_H. * alias.c: Replace expr.h with emit-rtl.h and alias.h. * attribs.c, c-lex.c, c-obj-common.c, c-semantics.c: Remove expr.h. * cfgcleanup.c, cselib.c: Replace expr.h with emit-rtl.h. * expr.h: Add include guard. Include function.h, rtl.h, flags.h, tree.h, machmode.h, insn-config.h, alias.h, emit-rtl.h. (get_varargs_alias_set, get_frame_alias_set, record_base_value, record_alias_subset, new_alias_set, can_address_p): Move to alias.h. (set_mem_alias_set, set_mem_align, set_mem_expr, set_mem_offset, set_mem_size): Move to emit-rtl.h. * emit-rtl.h: New. * alias.h: New. From-SVN: r82568
2004-06-02Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r82566.2
2004-06-02Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r82564.2
2004-06-01re PR c++/15142 (Internal compiler error when passing a string where a char* ↵Jason Merrill3-8/+39
is expecteted in a throw statement) PR c++/15142 * call.c (call_builtin_trap): Remove type parm. (convert_arg_to_ellipsis): Change a non-POD argument to integer type. (build_x_va_arg): Dereference a null pointer for a non-POD argument. From-SVN: r82556
2004-06-01function.c (walk_fixup_memory_subreg): New parameter 'var'.Eric Botcazou2-11/+18
* function.c (walk_fixup_memory_subreg): New parameter 'var'. Call fixup_memory_subreg only if the MEM is equal to 'var'. Adjust recursive calls to self. (fixup_var_refs_insn): Pass 'var' to walk_fixup_memory_subreg. From-SVN: r82555
2004-06-01re PR c++/13092 (Accepts invalid pointer-to-member conversion)Jason Merrill4-0/+87
PR c++/13092 * init.c (build_offset_ref): Build SCOPE_REF with non-null TREE_TYPE for non-dependent names. * pt.c (type_dependent_expression_p): Handle SCOPE_REF with unknown_type_node as its TREE_TYPE. * cxx-pretty_print.c (pp_cxx_unqualified_id): Handle BASELINK. * error.c (dump_decl) <SCOPE_REF case>: Use pp_expression. (dump_expr) <SCOPE_REF case>: Likewise. From-SVN: r82553
2004-06-01revert accidental checkinJason Merrill1-6/+4
From-SVN: r82552
2004-06-01re PR c++/13092 (Accepts invalid pointer-to-member conversion)Kriang Lerdsuwanakij6-28/+51
PR c++/13092 * init.c (build_offset_ref): Build SCOPE_REF with non-null TREE_TYPE for non-dependent names. * pt.c (type_dependent_expression_p): Handle SCOPE_REF with unknown_type_node as its TREE_TYPE. * cxx-pretty_print.c (pp_cxx_unqualified_id): Handle BASELINK. * error.c (dump_decl) <SCOPE_REF case>: Use pp_expression. (dump_expr) <SCOPE_REF case>: Likewise. From-SVN: r82551
2004-06-01c-parse.in (OFFSETOF, [...]): New.Richard Henderson15-239/+429
* c-parse.in (OFFSETOF, offsetof_member_designator): New. (primary): Handle offsetof. Add error productions for faux functions. Move component_ref objc checking to build_component_ref. (reswords): Add offsetof. (rid_to_yy): Add offsetof. * c-tree.h (build_offsetof): Declare. * c-common.h (objc_is_public): Declare. * c-typeck.c (build_component_ref): Check objc_is_public. (build_offsetof): New. * stub-objc.c (objc_is_public): New. * objc/objc-act.c, objc/objc-act.h (objc_is_public): Rename from is_public. * ginclude/stddef.h (offsetof): Use __builtin_offsetof. * doc/extend.texi (Offsetof): Move from C++ section to C section and rewrite for __builtin_offsetof. cp/ * lex.c (reswords): Rename "__offsetof" to "__builtin_offsetof". * parser.c (struct cp_parser): Remove in_offsetof. (cp_parser_new): Don't set it. (cp_parser_unary_expression): Don't check it. (cp_parser_postfix_open_square_expression): Split out from ... (cp_parser_postfix_expression): ... here. (cp_parser_postfix_dot_deref_expression): Likewise. (cp_parser_builtin_offsetof): New. (cp_parser_primary_expression): Use it. testsuite/ * g++.dg/template/dependent-expr4.C: Use __builtin_offsetof. From-SVN: r82549
2004-06-01Also credit Peter Jakubek for last patch.Bernardo Innocenti1-0/+1
From-SVN: r82548
2004-06-01m68k.c (m68k_output_mi_thunk): For ColdFire, use %d0 as a scratch to perform ↵Peter Barada2-0/+22
an add to memory. * config/m68k/m68k.c(m68k_output_mi_thunk): For ColdFire, use %d0 as a scratch to perform an add to memory. From-SVN: r82547
2004-06-01re PR target/14018 (m68k backend: -malign-loops/-malign-jumps broken)Bernardo Innocenti3-75/+18
PR target/14018 * config/m68k/m68k.c (m68k_align_loops_string, m68k_align_jumps_string, m68k_align_funcs_string, m68k_align_loops, m68k_align_jumps, m68k_align_funcs): Remove. (override_options): Remove code to handle -malign-* options. * config/m68k/m68k.h (TARGET_OPTIONS): Remove -malign-* options. (FUNCTION_BOUNDARY, LOOP_ALIGN, LOOP_ALIGN_AFTER_BARRIER): Remove. (m68k_align_loops_string, m68k_align_jumps_string, m68k_align_funcs_string, m68k_align_loops, m68k_align_jumps, m68k_align_funcs): Remove definitions. From-SVN: r82546
2004-06-01[multiple changes]Michael Koch3-7/+33
2004-06-01 Tom Tromey <tromey@redhat.com> * java/io/ObjectStreamField.java: Cleaned up imports. 2004-06-01 Michael Koch <konqueror@gmx.de> * java/io/ObjectStreamField.java: Style and javadoc cleanup. 2004-06-01 Mark Wielaard <mark@klomp.org> * java/io/Writer.java (Writer(Object)): Fixed API doc. From-SVN: r82545
2004-06-01re PR fortran/15477 (gfortran should not have own version number)Tobias Schlüter3-4/+9
PR fortran/15477 * gfortran.h (GFC_VERSION): Remove. * gfortran.texi (version-gfortran): Remove, replace by version-GCC where used. From-SVN: r82544
2004-06-012004-06-01 Michael Koch <konqueror@gmx.de>Michael Koch3-19/+19
* java/security/Security.java (insertProviderAt): Use equals() instead of ==. (removeProvicer): Likewise. (getProvider): Likewise. * java/security/Signature.java (sign): Don't set state to UNINITIALIZED. (verify): Likewise. From-SVN: r82543
2004-06-01re PR target/15626 (GCC 3.4 emits "ld: warning: relocation error: R_SPARC_UA32")Paul Eggert2-2/+20
PR target/15626 * doc/install.texi (sparc-sun-solaris2*): Document messages issued by the Sun linker in conjunction with the Sun assembler. (sparc-sun-solaris2.7): Update revision info for Sun patch 106950. From-SVN: r82541
2004-06-01re PR c++/14932 (cannot use offsetof to get offsets of array elements in g++ ↵Giovanni Bajo4-3/+29
3.4.0 prerelease) PR c++/14932 * parser.c (cp_parser_postfix_expression): Allow subscript operator in offsetof. PR c++/14932 * g++.dg/parse/offsetof4.C: New test. From-SVN: r82538
2004-06-01Makefile.tpl: Fix typo.Paolo Bonzini4-7/+12
2004-06-01 Paolo Bonzini <bonzini@gnu.org> * Makefile.tpl: Fix typo. * Makefile.in: Regenerate. From-SVN: r82536
2004-06-01configure.in: Remove new- prefix from toplevel bootstrap targets.Paolo Bonzini3-2/+8
2004-06-01 Paolo Bonzini <bonzini@gnu.org> * configure.in: Remove new- prefix from toplevel bootstrap targets. * configure: Regenerate. From-SVN: r82535
2004-06-01Makefile.tpl (all.normal): Rename to all.Paolo Bonzini6-162/+387
2004-06-01 Paolo Bonzini <bonzini@gnu.org> * Makefile.tpl (all.normal): Rename to all. (all): Replace with a rule to pick the default target from configure. (all-gcc, configure-gcc): Use conditionals to do nothing when toplevel bootstrap is going on. (GCC directory bootstrap) [gcc-bootstrap]: Disable. (Toplevel bootstrap) [gcc-no-bootstrap]: Disable. * configure.in: Support --enable-bootstrap. * Makefile.def: Remove new- prefix from toplevel bootstrap targets. * Makefile.tpl: Likewise. * Makefile.def: Add bootstrap_stage 4. Add bootstrap2 target. * Makefile.tpl (Toplevel bootstrap): Pass $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) to recursive invocation of make. * Makefile.in: Regenerate. * configure: Regenerate. From-SVN: r82534