- 15 Dec, 2005 12 commits
-
-
PR target/24969 * i386.c (classify_argument): Properly adjust offset of bitfield for substructures. From-SVN: r108573
Jan Hubicka committed -
* final.c (final_scan_insn): Flip in_cold_section_p when changing between the hot and cold sections. Use current_function_section to get the new section. * dwarf2out.c (output_line_info): Use in_cold_section_p to determine whether we are assembling hot or cold code. (secname_for_decl, dwarf2out_var_location): Likewise. (dwarf2out_init, dwarf2out_finish): Use switch_to_section. * varasm.c (last_text_section): Delete. (in_cold_section_p): New variable. (hot_function_section): New function. (current_function_section): Pass in_cold_section_p as the reloc argument to select_section. Use it to decide between unlikely_function_section and hot_function_section. (assemble_start_function): Use switch_to_section. Set in_cold_section_p instead of last_text_section. (assemble_end_function): Use switch_to_section. (switch_to_section): Don't set last_text_section. * config/darwin/darwin.c (machopic_select_section): Trust the reloc argument to make the right choice between hot and cold sections. From-SVN: r108572
Richard Sandiford committed -
2005-12-15 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_vector.h (vector<>::_M_get_Tp_allocator): Change to return by ref and add non const version. * include/bits/stl_deque.h (deque<>::_M_get_Tp_allocator): Likewise. From-SVN: r108570
Paolo Carlini committed -
Second part of MS1->MT renaming * config/mt/mt.md (doloop_end): Call mt_add_loop. (movqi, movhi): Call mt_set_memflags. (*movdf_internal): Call mt_split_words. (reload_inqi, reload_outqi, reload_inhi, reload_outhi): Call mt_set_memflags. (cmpsi): Store to mt_compare_op[01]. (beq, bne, bge, bgt, ble, blt, bgeu, bgtu, bleu, bltu, bunge, bungt, bunle, bunlt): Call mt_emit_cbranch. (prologue): Call mt_expand_prologue. (epilogu): Call mt_expend_epilogue. (eh_return): Call mt_expand_eh_return. (eh_epilogue): Call me_emit_eh_epilogue. (conditional_trap): Store to mt_compare_op[01]. * config/mt/crti.asm: Adjust comment. * config/mt/crtn.asm: Adjust comment. * config/mt/mt.c (MT_INT_ARG_FIRST): Renamed. (mt_compare_op0, mt_compare_op1): Renamed. (current_frame_info, zero_frame_info): Adjust type. (mt_ucmpsi3_libcall): Renamed. (mt_flag_delayed_branch): Renamed. (mt_struct_value_rtx, mt_return_addr_rtx): Renamed. (mt_nops_required, mt_nop_reasons): Renamed. (mt_asm_output_opcode, mt_get_attr_type, mt_final_prescan_insn, mt_debug_stack, mt_print_operand_simple_address, mt_print_operand_address, mt_print_operand): Renamed, adjusted. (mt_init_cumulative_args, mt_function_arg_slotno, mt_function_arg, mt_function_arg_advance, mt_arg_partial_bytes, mt_pass_by_reference, mt_function_arg_boundary, mt_reg_ok_for_base_p, mt_legitimate_simple_address_p, mt_legitimate_address_p): Renamed, adjusted. (mt_cpu): Renamed. (mt_init_machine_status, mt_override_options, mt_builtin_saveregs, mt_va_start, mt_compute_frame_size, mt_emit_save_restore, mt_emit_save_fp, mt_emit_save_regs, mt_interrupt_function_p, mt_expand_prologue, mt_epilogue_uses, mt_expand_epilogue, mt_expand_eh_return, mt_emit_eh_prologue, mt_handl_interrupt_attribute): Renamed, adjusted. (mt_attribute_table): Renamed, adjusted. (mt_initial_elimination_offset, mt_generate_compare, mt_emit_cbranch, mt_set_memflags_1, mt_set_memflags, mt_secondary_reload_class, mt_function_value, mt_split_words, mt_pass_in_stack, mt_add_loop, mt_loop_nesting, mt_block_length, mt_scan_loop, mt_reorg_loops): Renamed, adjusted. (mt_labels): Renamed. (mt_add_branches, mt_check_delay_slot, mt_reorg_hazard, mt_machine_reorg): Renamed, adjusted. (mt_attribute_table: Renamed. (TARGET_ATTRIBUTE_TABLE, TARGET_STRUCT_VALUE_RTX, TARGET_PASS_BY_REFERENCE, TARGET_MUST_PASS_IN_STACK, TARGET_ARG_PARTIAL_BYTES, TARGET_MACHINE_DEPENDENT_REORG): Adjust. * config/mt/mt.opt (march): Set mt_cpu_string. * config/mt/mt.h (mt_ucmpsi3_libcall, mt_cpu): Renamed. (TARGET_CPU_CPP_BUILTINS): Adjust. (TARGET_MS1_64_001, TARGET_MS1_16_002, TARGET_MS1_16_003, TARGET_MS2): Adjust. (TARGET_VERSION, OVERRIDE_OPTIONS, SECONDARY_RELOAD_CLASS): Adjust. (MT_MIN_INT): Renamed. (RETURN_ADDR_RTX): Adjust. (struct mt_frame_info): Renamed. (current_frame_info): Adjust type. (INITIAL_ELIMINATION_OFFSET): Adjust. (MT_NUM_ARG_REGS): Renamed. (REG_PARM_STACK_SPACE, FUNCTION_ARG, INIT_CUMULATVE_ARGS, FUNCTION_ARG_ADVANCE, FUNCTION_ARG_BOUNDARY, FUNCTION_VALUE, LIBCALL_VALUE, EPILOGUE_USES, EXPAND_BUILTIN_VA_START, GO_IF_LEGITIMATE_ADDRESS, REG_OK_FOR_BASE_P, ASM_OUTPUT_OPCODE, FINAL_REPSCAN_INSN, PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Adjust. (mt_compare_op0, mt_compare_op1): Renamed. * config/mt/mt-protos.h: Rename prototypes. From-SVN: r108569
Nathan Sidwell committed -
2005-12-15 Richard Guenther <rguenther@suse.de> * tree-flow.h (okay_component_ref_for_subvars): Remove. (get_ref_base_and_extent): Declare. * tree-dfa.c (okay_component_ref_for_subvars): Remove. (get_ref_base_and_extent): New function. * tree-ssa-alias.c (find_used_portions): Use it. * tree-ssa-structalias.c (get_constraint_for_component_ref): Likewise. * tree-ssa-operands.c (get_expr_operands): Likewise. From-SVN: r108568
Richard Guenther committed -
2005-12-15 Paolo Carlini <pcarlini@suse.de> PR libstdc++/25421 * config/locale/gnu/c_locale.cc (_S_destroy_c_locale): Check for null argument. * testsuite/22_locale/facet/25421.cc: New. From-SVN: r108565
Paolo Carlini committed -
2005-12-15 Paolo Bonzini <bonzini@gnu.org> * combine.c: Remove force_to_mode's fourth parameter. (force_to_mode): Do not handle REG. (canon_reg_for_combine): New. (make_field_assignment): Use it where the removed argument was non-NULL. From-SVN: r108564
Paolo Bonzini committed -
* testsuite/lib/libjava.exp: Revert 2005-12-01. * testsuite/libjava.lang/Array_3.xfail: Delete. From-SVN: r108563
Alan Modra committed -
re PR target/25406 (gcc.dg/20030625-1.c, gcc.dg/20050620-1.c, gcc.dg/940510-1.c, gcc.dg/c99-flex-array-1.c, gcc.dg/pr14475.c, and gcc.dg/noncompile/incomplete-1.c fail on powerpc-darwin) PR target/25406 * config/rs6000/rs6000.c (rs6000_special_round_type_align): Handle error_mark_node. Make alignment params unsigned. * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align): Update prototype. (rs6000_machopic_legitimize_pic_address): Remove arg names. From-SVN: r108562
Alan Modra committed -
* g++.dg/rtti/repo1.C: Call cleanup-repo-files. * gcc.dg/20050330-2.c: Call cleanup-coverage-files. From-SVN: r108558
Kaveh R. Ghazi committed -
fortran/ 2005-12-14 Erik Edelmann <eedelman@gcc.gnu.org> PR fortran/18197 * resolve.c (resolve_formal_arglist): Remove code to set the type of a function symbol from it's result symbol. testsuite/ 2005-12-14 Erik Edelmann <eedelman@gcc.gnu.org> PR fortran/18197 * gfortran.dg/dummy_functions_1.f90: New. From-SVN: r108555
Erik Edelmann committed -
From-SVN: r108552
GCC Administrator committed
-
- 14 Dec, 2005 25 commits
-
-
PR rtl-optimization/25310 * reload1.c (eliminate_regs_in_insn): Handle lowpart SUBREGs of the eliminable register when substituting into a PLUS. PR rtl-optimization/25310 * gcc.c-torture/compile/pr25310.c: New test. From-SVN: r108543
Ulrich Weigand committed -
2005-12-14 Andrew Pinski <pinskia@physics.uc.edu> * Make-lang.in (objcp/objcp-decl.o): Add depends on $(EXPR_H). From-SVN: r108538
Andrew Pinski committed -
PR debug/25023 * config/i386/i386.c (ix86_force_to_memory): Always use SImode push for HImode in -m32. (ix86_free_from_memory): Likewise. * gcc.dg/pr25023.c: New test. From-SVN: r108537
Jakub Jelinek committed -
2005-12-14 Andrew Haley <aph@redhat.com> * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to handle stdout from the child process. From-SVN: r108536
Andrew Haley committed -
PR classpath/25389: * java/io/File.java (File): Throw IllegalArgumentException if URI is non-hierarchical. From-SVN: r108528
Tom Tromey committed -
* g++.old-deja/g++.brendan/redecl1.C, g++.old-deja/g++.eh/inline1.C, g++.old-deja/g++.ns/crash2.C, g++.old-deja/g++.ns/template7.C, g++.old-deja/g++.oliva/ns3.C, g++.old-deja/g++.oliva/typeof1.C, g++.old-deja/g++.other/crash16.C, g++.old-deja/g++.other/crash34.C, g++.old-deja/g++.other/lookup5.C, g++.old-deja/g++.pt/crash65.C, g++.old-deja/g++.pt/decl2.C, g++.old-deja/g++.pt/explicit76.C, g++.old-deja/g++.pt/memtemp85.C, g++.old-deja/g++.pt/memtemp86.C, g++.old-deja/g++.pt/memtemp87.C, g++.old-deja/g++.pt/memtemp88.C, g++.old-deja/g++.pt/memtemp91.C, g++.old-deja/g++.pt/spec14.C, g++.old-deja/g++.pt/static10.C, treelang/compile/exit.tree: Remove xfail. From-SVN: r108526
Kaveh R. Ghazi committed -
2005-12-14 Paolo Bonzini <bonzini@gnu.org> * configure.in: Flip the top-level bootstrap switch. * configure: Regenerate. From-SVN: r108525
Paolo Bonzini committed -
* gcc/config/arm/arm.md: Provide a big-endian version of the (zero_extend:SI (subreg:QI ...)) splitter. From-SVN: r108524
Richard Sandiford committed -
* gcc.dg/sibcall-6.c: Skip in -fPIC mode on X86 ilp32. * gcc.target/i386/20020523-1.c: Ditto. * gcc.target/i386/tailcall-1.c: Ditto. * gcc.target/i386/ssetype-3.c: Make magic* static to work with -fPIC. * gcc.target/i386/ssetype-5.c: Ditto. Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu> From-SVN: r108521
Kean Johnston committed -
* struct-equiv.c (note_local_live): Handle hard regs with different hard_regno_nregs. From-SVN: r108520
J"orn Rennecke committed -
tree-ssa-ccp.c (fold_stmt_r): DATA argument is now a pointer to a structure containing state rather than a... * tree-ssa-ccp.c (fold_stmt_r): DATA argument is now a pointer to a structure containing state rather than a pointer to bool. (case ARRAY_REF): New code to handle folding some array references. (case ADDR_EXPR): Note when we are processing expressions found within an ADDRE_EXPR. (fold_stmt, fold_stmt_inplace): Pass in a structure to fold_stmt_r for state variables rather than just a pointer to a boolean. * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Remove handling of constant string references. * gcc.dg/tree-ssa/foldstring-1.c: New test. From-SVN: r108519
Jeff Law committed -
2005-12-14 Adrian Straetling <straetling@de.ibm.com> * config/s390/s390.md ("*tstdi_extimm", "*tstsi_extimm"): Merge. ("*tstdi_cconly_extimm", "*tstsi_cconly_extimm"): Merge. ("*tstdi_cconly2", "*tstsi_cconly2"): Merge. Move other tst* patterns to retain partial order. From-SVN: r108517
Adrian Straetling committed -
2005-12-14 Adrian Straetling <straetling@de.ibm.com> * config/s390/s390.md ("d0", "1"): New mode attributes. ("<shift>di3", "<shift>si3"): Merge. ("*<shift>di3_and", "*<shift>si3_and"): Merge. ("ashrdi3", "ashrsi3"): Merge. ("*ashrdi3_cc", "*ashrsi3_cc"): Merge. ("*ashrdi3_cc_and", "*ashrsi3_cc_and"): Merge. ("*ashrdi3_cconly", "*ashrsi3_cconly"): Merge. ("*ashrdi3_cconly_and", "*ashrsi3_cconly_and"): Merge. ("*ashrdi3", "*ashrsi3"): Merge. ("*ashrdi3_and", "*ashrsi3_and"): Merge. From-SVN: r108516
Adrian Straetling committed -
2005-12-14 Adrian Straetling <straetling@de.ibm.com> * config/s390/s390.md ("extend<mode>di2", "extend<mode>si2"): Merge. ("*extendqidi2_extimm", "*extendqisi2_extimm"): Merge. ("*extendqidi2", "*extendqisi2") Merge. ("*extendqidi2_short_displ", "*extendqisi2_short_displ"): Merge. ("zero_extendhidi2", "zero_extendqidi2"): Merge. ("*zero_extend<mode>di2_extimm", "*zero_extend<mode>si2_extimm"): Merge. Move some patterns to retain partial ordering. From-SVN: r108515
Adrian Straetling committed -
2005-12-14 Adrian Straetling <straetling@de.ibm.com> * config/s390/s390.md ("atype", "length"): Rewrite. ("*insv<mode>_reg_imm", "*insv<mode>_reg_extimm"): Add mode. From-SVN: r108514
Adrian Straetling committed -
* Makefile.tpl: Throughout the file, use : $(MAKE) along with $(stage) and $(unstage). (EXTRA_TARGET_FLAGS): Correct double-quoting. (all): Remove stray semicolon. (local-distclean): Don't handle multilib.tmp and multilib.out. (install.all): Set $s for consistency. (configure-[+prefix+][+module+]): Instead of [+deps+], handle check_multilibs setting. Always make the install directory. (configure-stage[+id+]-[+prefix+][+module+]): Likewise. Correct @if/@endif. (all-stage[+id+]-[+prefix+][+module+]): Correct @if/@endif. ($(TARGET_SUBDIR)/[+module+]/multilib.out): Remove. (stage[+id+]-start, stage[+id+]-end): Stage $(TARGET_SUBDIR). (multilib.out): Remove. * Makefile.in: Regenerated. From-SVN: r108513
Daniel Jacobowitz committed -
* tree-ssa-operands.c (build_ssa_operands): Update leading comment. From-SVN: r108512
Sebastian Pop committed -
* struct-equiv.c (rtx_equiv_p): Allow arbitrary RVALUE values for PARALLELs with a mode. From-SVN: r108511
J"orn Rennecke committed -
* cfgloopmanip.c (lv_adjust_loop_entry_edge): Adjust the type of cond_expr parameter. From-SVN: r108510
Sebastian Pop committed -
* loop-unswitch.c (unswitch_loop): Free zero_bitmap before returning. From-SVN: r108509
Sebastian Pop committed -
2005-12-14 J"orn Rennecke <joern.rennecke@st.com> PR bootstrap/25397: * struct-equiv.c (struct_equiv_init): Fix off-by-one error in clearing of STACK_REGS bits. * struct-euiv.c (rtx_equiv_p): Remove SUBREG case. From-SVN: r108508
J"orn Rennecke committed -
PR target/25254 PR target/24188 * config/i386/i386.c (x86_64_elf_select_section): If DECL is not DECL_P, call get_section rather than get_named_section. Supply section flags to it. * gcc.target/i386/pr25254.c: New test. * gfortran.dg/PR24188.f: New test. From-SVN: r108506
Jakub Jelinek committed -
2005-12-14 David Billinghurst (David.Billinghurst@riotinto.com) * lib/fortran-torture.exp: Catch remaining uses of remote_file build delete. From-SVN: r108503
David Billinghurst committed -
* g++.old-deja/g++.oliva/stkalign.C: Remove xfail. From-SVN: r108500
Kaveh R. Ghazi committed -
From-SVN: r108495
GCC Administrator committed
-
- 13 Dec, 2005 3 commits
-
-
c-common.c (c_common_truthvalue_conversion): Generalise warning for addresses converted to booleans; not just function addresses. * c-common.c (c_common_truthvalue_conversion): Generalise warning for addresses converted to booleans; not just function addresses. * c-typeck.c (build_binary_op): Warn for address comparisons which can never be NULL (eg. func == NULL or &var == NULL). * common.opt (Walways-true): New option. * c-opts.c (c_common_handle_option): Set it with -Wall. * doc/invoke.texi: Document it. testsuite/ * gcc.dg/warn-addr-cmp.c: New test. From-SVN: r108489
Ben Elliston committed -
2005-12-13 Paul Brook <paul@codesourcery.com> * config/m68k/fpgnulib.c (__unordsf2, __unorddf2, __unordxf2, __floatunsidf, __floatunsisf, __floatunsixf): New functions. From-SVN: r108487
Paul Brook committed -
* config/mt/t-mt (crti.o, crtn.o): Add multilib options. (EXTRA_MULTILIB_PARTS): Define. From-SVN: r108481
Nathan Sidwell committed
-