aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-04-13Create Optimization Diary development branch. It is based on trunk.opt-diaryDevang Patel
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/opt-diary@112920 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-132006-04-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>Jerry DeLisle
PR libgfortran/26766 * gfortran.dg/write_recursive.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112915 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-132006-04-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>Jerry DeLisle
PR libgfortran/26766 * io/io.h: Add bit to identify associated unit as internal. * io/unit.c (get_external_unit): Renamed the find_unit_1 function to reflect the external unit functionality vs internal unit. (get_internal_unit): New function to allocate and initialize an internal unit structure. (get_unit): Use get_internal_unit and get_external_unit. (is_internal_unit): Revised to use new bit added in io.h. * io/transfer.c (data_transfer_init): Fix line width. (st_read_done): Free memory allocated for internal unit. (st_write_done): Add test to only flush and truncate when not an internal unit. Free memory allocated for internal unit. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112914 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-13 PR target/26459Alan Modra
* config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't optimize to lo_sum for DFmode if !TARGET_FPRS. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112912 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-13Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112909 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-122006-04-13 Andreas Tobler <a.tobler@schweiz.ch>Andreas Tobler
* src/pa/hpux32.S: Correct unwind offset calculation for ffi_closure_pa32. * src/pa/linux.S: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112904 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-12 * tree-ssa-alias.c (set_initial_properties, init_alias_info,Kazu Hirata
delete_alias_info, compute_flow_sensitive_aliasing, group_aliases): Use VEC instead of VARRAY. * tree-ssa-structalias.c (update_alias_info): Likewise. * tree-ssa-structalias.h (alias_info): Change the type of processed_ptrs to VEC(tree,heap) *. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112903 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-12Fix IA-64 problems with denorms getting clobbered by type conversions.James E. Wilson
PR libgcj/26483 * src/ia64/ffi.c (stf_spill, ldf_fill): Rewrite as macros. (hfa_type_load): Call stf_spill. (hfa_type_store): Call ldf_fill. (ffi_call): Adjust calls to above routines. Add local temps for macro result. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112900 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-122006-04-12 J"orn Rennecke <joern.rennecke@st.com>J"orn Rennecke
PR target/27060 * config/sh/lib1funcs.h: New file, broken out of: * config/sh/lib1funcs.asm. * config/sh/lib1funcs.h (DR00, DR01, DR20, DR21, DR40, DR41): New macros. * config/sh/lib1funcs.asm (udivsi3_i4): Use them. * config/sh/lib1funcs-Os-4-200.asm: New file. * config/sh/embed-elf.h (LIBGCC_SPEC): Use -lgcc-Os-4-200. * config/sh/t-sh (OPT_EXTRA_PARTS): New variable. (EXTRA_MULTILIB_PARTS): Include it. ($(T)sdivsi3_i4i-Os-4-200.o): New rule. ($(T)udivsi3_i4i-Os-4-200.o, $(T)libgcc-Os-4-200.a): Likewise. * config/sh/t-superh (EXTRA_MULTILIB_PARTS): Include OPT_EXTRA_PARTS. * config/sh/sh.h (OVERRIDE_OPTIONS): Recognize -mdiv=call-table for TARGET_SH2. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112898 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-12 PR libgcj/23829NAKATA Maho
* configure.ac: Link against -lpthread rather than -lc_r on FreeBSD 5 and above. * configure: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112897 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-12 * Makefile.in (GTFILES): Move functions.h after tree.h.Kazu Hirata
* function.c (reset_block_changes, record_block_change, check_block_change, free_block_changes): Use VEC instead of VARRAY. * function.h (function): Change the type of ib_boundaries_block to VEC(tree,gc) *. * tree-inline.c (copy_cfg_body): Initialize ib_boundaries_block to NULL instead of (varray_type) 0. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112894 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-12 * Makefile.in (TREE_SSA_LIVE_H): Add vecprim.h.Kazu Hirata
* tree-ssa-live.c (tpa_init, tpa_remove_partition, tpa_delete, tpa_compact, root_var_init, type_var_init): Use VEC instead of VARRAY. * tree-ssa-live.h: Include vecprim.h. (tree_partition_associator_d): Change the type of first_partition to VEC(int,heap) *. (tpa_first_partition): Use VEC instead of VARRAY. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112893 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-12 * parser.c (cp_parser_init_declarator): Initialize local variablesMark Mitchell
aggressively. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112891 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-12 * parser.c (cp_parser_init_declarator): InitialiseRoger Sayle
is_parenthesized_init to false to avoid compiler warning. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112889 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-12 * expr.c (emit_group_store): Correct operand order in call toRoger Sayle
subreg_lowpart_offset. Always create paradoxical SUBREGs with a SUBREG_BYTE of zero. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112887 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-122006-04-12 Richard Guenther <rguenther@suse.de>Richard Guenther
* profile.c (compute_branch_probabilities): Remove code encapsulated in !ir_type (), which are remanents of the removed RTL profiling code. * rtl-profile.c: Remove. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112884 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-12src/libiberty/ChangeLog:Jim Blandy
2006-03-29 Jim Blandy <jimb@codesourcery.com> * pex-common.c (pex_input_file, pex_input_pipe): New functions. (pex_init_common): Initialize obj->input_file. (pex_run): Close any file opened by pex_input_file. * pexecute.txh (pex_input_file, pex_input_pipe): New docs. * pex-common.h (struct pex_obj): New field input_file. (struct pex_funcs): New function ptr fdopenw. * pex-unix.c (pex_unix_fdopenw): New function. (funcs): List it as our fdopenw function. * pex-win32.c (pex_win32_fdopenw): New function. (funcs): List it as our fdopenw function. * pex-djgpp.c (funcs): Leave fdopenw null. * pex-msdos (funcs): Same. * functions.texi: Regenerated. src/include/ChangeLog: 2006-04-10 Jim Blandy <jimb@codesourcery.com> * libiberty.h (pex_input_file, pex_input_pipe): New declarations. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112883 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-122006-04-10 Jim Blandy <jimb@codesourcery.com>Jim Blandy
* pex-common.c (temp_file): New function, containing guts of pex-style temporary file name generation. (pex_run): Use it. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112882 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-12 * config/rs6000/rs6000.c (rs6000_mixed_function_arg): UpdateAlan Modra
magic NULL_RTX comment. (function_arg): Store entire fp arg to mem if any part should go on stack. (rs6000_arg_partial_bytes): Adjust for above change. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112880 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-12Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112876 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-11 * dwarf2out.c (output_call_frame_info): Create debug_frame_sectionRoger Sayle
if it hasn't been initialized by dwarf2out_init. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112871 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-11 * g++.dg/parse/dtor7.C: New test.Mark Mitchell
* g++.dg/parse/new1.C: Add error marker. * g++.dg/template/new3.C: New test. PR c++/26122 * g++.dg/template/pure1.C: New test. PR c++/26295 * g++.dg/parse/ptrmem4.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112869 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-11 * darwin_stop_world.c (GC_push_all_stacks, GC_stop_world,Bryce McKinlay
GC_start_world): Call vm_deallocate to free act_list. Fix from Bruce Mitchener. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112867 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-11 * pa.md (MAX_12BIT_OFFSET, MAX_17BIT_OFFSET): Define and use newJohn David Anglin
symbolic constants in branch patterns. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112864 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-11 * caller-save.c: #include "addresses.h" after #include "tm_p.h".Roger Sayle
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112863 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-11 PR rtl-optimization/27073Richard Sandiford
* gcse.c (try_replace_reg): Revert last change. Continue to search for both REG_EQUAL and REG_EQUIV notes, but only perform replacements on the former. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112861 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-11 * config/sparc/sparc.c (function_arg_slotno) <BLKmode>: HandleEric Botcazou
aggregate types other than record and union types. (function_arg): Likewise. (function_arg_pass_by_reference): In 64-bit mode, return 0 for small arrays. (function_value): In 64-bit mode, return objects that require it in FP registers. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112859 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-11 * gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the valueBryce McKinlay
of package-private field "loadedClasses" using reflection. * java/lang/VMCompiler.java (compileClass): Remove unreachable catch block. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112858 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-11 * dwarf2out.c (premark_used_types): Remove problematic prototype.Roger Sayle
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112857 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-11 * gcc.c (LINK_COMMAND_SPEC): Move link_gomp after %o.Jakub Jelinek
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112851 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-11 * io/io.h (st_parameter_dt): Revert 2005-12-10 change toJakub Jelinek
u.pad, fix comment. (check_st_parameter_dt): New compile time assert. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112850 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-11 PR/27087Jeff Law
* tree-ssa-copy.c (may_propagate_copy): Test flow sensitive alias information too. * gcc.c-torture/compile/pr27087.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112849 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-11* gcc/Makefile.in (gcc-cross): Add $(exeext) to target name.Mike Frysinger
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112847 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-11 PR/21391Aldy Hernandez
* testsuite/gcc.dg/20060410.c: New. * dwarf2out.c (struct die_struct): Add die_perennial_p field. (premark_used_types_helper): New. (premark_used_types): New. (gen_subprogram_die): Call premark_used_types. (prune_unused_types_walk): Do not prune perennial dies. * function.c (used_types_insert): New. * function.h (struct function): Add used_types_hash field. (used_types_insert): Add prototype. * Makefile.in (FUNCTION_H): Depend on HASHTAB_H. * c-parser.c (c_parser_cast_expression): Save casted types in used types hash table. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112845 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-11 PR target/26459Mark Mitchell
* config/rs6000/e500-double.h (SUB3TARGET_OVERRIDE_OPTIONS): Test rs6000_explicit_options.float_gprs. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112843 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-11Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112841 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-10gcc/testsuite:Matthias Klose
2006-04-10 Matthias Klose <doko@debian.org> * testsuite/lib/libjava.exp (libjava_init): Recognize multilib directory names containing underscores. libffi: 2006-04-10 Matthias Klose <doko@debian.org> * testsuite/lib/libjava.exp (libjava_init): Recognize multilib directory names containing underscores. libgomp: 2006-04-10 Matthias Klose <doko@debian.org> * testsuite/lib/libjava.exp (libjava_init): Recognize multilib directory names containing underscores. libjava: 2006-04-10 Matthias Klose <doko@debian.org> * testsuite/lib/libjava.exp (libjava_init): Recognize multilib directory names containing underscores. libmudflap: 2006-04-10 Matthias Klose <doko@debian.org> * testsuite/lib/libjava.exp (libjava_init): Recognize multilib directory names containing underscores. libstdc++: 2006-04-10 Matthias Klose <doko@debian.org> * testsuite/lib/libjava.exp (libjava_init): Recognize multilib directory names containing underscores. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112833 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-10 * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): RenamedRoger Sayle
from ix86_expand_vector_init_low_nonzero. Take an additional one_var argument indicating which element is non-zero. Support one_var != 0 for V4SFmode and V4SImode by permuting the result. (ix86_expand_vector_init): Call ix86_expand_vector_init_one_nonzero with one_var instead of ix86_expand_vector_init_low_nonzero. * gcc.target/i386/vecinit-1.c: New test case. * gcc.target/i386/vecinit-2.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112832 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-10 * Makefile.in (tree-into-ssa.o, tree-outof-ssa.o,Kazu Hirata
tree-ssa-live.o, tree-ssa-alias.o, function.o, df-problems.o, global.o, cfglayout.o, lambda-code.o, reg-stack.o, build/genextract.o): Depend on vecprim.h. * cfglayout.c, df-problems.c, function.c, genextract.c, global.c, lambda-code.c, reg-stack.c, tree-into-ssa.c, tree-outof-ssa.c, tree-ssa-alias.c, tree-ssa-live.c: Include vecprim.h. * vecprim.h: New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112830 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-10 * dwarf2out.c (struct dw_attr_struct): Remove dw_attr_next.Geoffrey Keating
Declare VECs of this type. (struct die_struct): Make field die_attr a VEC of dw_attr_struct. (remove_children): Delete. (add_dwarf_attr): Use VEC routines. (add_AT_flag): Update for changes to add_dwarf_attr. (add_AT_int): Likewise. (add_AT_unsigned): Likewise. (add_AT_long_long): Likewise. (add_AT_vec): Likewise. (add_AT_string): Likewise. (add_AT_die_ref): Likewise. (add_AT_fde_ref): Likewise. (add_AT_loc): Likewise. (add_AT_loc_list): Likewise. (add_AT_addr): Likewise. (add_AT_lbl_id): Likewise. (add_AT_lineptr): Likewise. (add_AT_macptr): Likewise. (add_AT_offset): Likewise. (add_AT_range_list): Likewise. (get_AT): Use VEC_iterate. (remove_AT): Use VEC_ordered_remove. (free_die): Fold remove_children into here; have it use VEC_iterate. (print_die): Use VEC_iterate on attrs. (reverse_die_lists): Don't reverse attr lists. (die_checksum): Use VEC_iterate on attrs. (same_die_p): Likewise. (output_location_lists): Likewise. (build_abbrev_table): Likewise. (size_of_die): Likewise. (unmark_all_dies): Likewise. (output_abbrev_section): Likewise. (output_die): Likewise. (prune_unused_types_walk_attribs): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112829 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-102006-04-10 Andrew Haley <aph@redhat.com>Andrew Haley
* include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New. (SIGNAL_HANDLER): Mark arg as unused. * configure.host (x86_64-* DIVIDESPEC): Use fno-use-divide-subroutine. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112827 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-10Fix latest entry.Eric Botcazou
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112824 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-10 * doc/install.texi (*-*-solaris2*): Point to the configuration page.Eric Botcazou
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112823 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-10 PR debug/27057Jakub Jelinek
* dwarf2out.c (is_symbol_die): Return true also for namespaces. * g++.dg/debug/dwarf2-2.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112820 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-10 PR libgfortran/24685Jakub Jelinek
* io/write.c (MIN_FIELD_WIDTH, STR, STR1): Define. (output_float): Increase buffer sizes for IEEE quad and IBM extended long double. (write_real): Output REAL(16) as 1PG43.34E4 rather than 1PG40.31E4. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112819 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-102006-04-10 Paolo Carlini <pcarlini@suse.de>Paolo Carlini
DR 538, [Ready] * include/bits/stl_algo.h (__unique_copy(,,, input_iterator_tag, output_iterator_tag), and predicated counterpart): Revert to the algorithm pre-DR 241, i.e., value_type of InputIterator is now required to be Assignable too. * testsuite/25_algorithms/unique_copy/3.cc: Remove. * docs/html/ext/howto.html: Add an entry for DR 538. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112818 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-10 * expr.c (store_constructor): Don't bother clearing target ifRoger Sayle
we're about to assign a vector to it using vec_init_optab. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112817 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-102006-04-10 Daniel Berlin <dberlin@dberlin.org>Daniel Berlin
* tree-ssa-alias.c (lhs_may_store_to): New function. (recalculate_used_alone): Handle LHS of calls. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112815 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-10Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112813 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-09 PR target/27034John David Anglin
PR target/26508 * config.gcc (hppa*64*-*-hpux11*): Add 'libgcc_stub.a' to extra_parts. * pa64-hpux.h (LIB_SPEC): Correct typo. Don't append milli.a. (LINK_GCC_C_SEQUENCE_SPEC): Define. Append milli.a here. (PA_CXA_FINALIZE_STUB, PA_JV_REGISTERCLASSES_STUB): Delete defines. (PA_INIT_FINI_HACK): Rename to PA_CRTBEGIN_HACK. (PA_CRTBEGIN_HACK): Ensure __do_global_ctors_aux is placed in text section. Delete PA_CXA_FINALIZE_STUB and PA_JV_REGISTERCLASSES_STUB stubs. Add ".align 8" directives before all ".dword" directives. (GTHREAD_USE_WEAK): Revise comment. (TARGET_ATTRIBUTE_WEAK): Define. * pa/t-pa64 (LIBGCCSTUB_OBJS): Add new rules for stublib.c, rfi-stub.o, dfi-stub.o, cxaf-stub.o and jvrc-stub.o. * stublib.c: New file. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112807 138bc75d-0d04-0410-961f-82ee72b054a4