]> gcc.gnu.org Git - gcc.git/log
gcc.git
18 years agofold-const.c (native_encode_expr): New function to encode the target representation...
Roger Sayle [Thu, 13 Apr 2006 21:10:31 +0000 (21:10 +0000)]
fold-const.c (native_encode_expr): New function to encode the target representation of an INTEGER_CST...

* fold-const.c (native_encode_expr): New function to encode
the target representation of an INTEGER_CST, REAL_CST, COMPLEX_CST
or VECTOR_CST into a specified buffer.
(native_encode_int): New function.
(native_encode_real): New function.
(native_encode_complex): New function.
(native_encode_vector): New function.
(native_interpret_expr): Inverse of native_encode_expr to convert
a target representation into an INTEGER_CST, REAL_CST etc...
(native_interpret_int): New function.
(native_interpret_real): New function.
(native_interpret_complex): New function.
(native_interpret_vector): New function.
(fold_view_convert_expr): New function to constant fold/evaluate
a VIEW_CONVERT_EXPR of a suitable constant expression.
(fold_unary) <VIEW_CONVERT_EXPR>: Call fold_view_convert_expr.
Change call of build1 to fold_build1 when constructing a
VIEW_CONVERT_EXPR.

* gcc.target/i386/20050113-1.c: Tweak testcase to reflect that casts
of integers to a vector types are now constant expressions in C.
* gcc.dg/vect/vect-fold-1.c: New test case.

From-SVN: r112927

18 years agore PR libgcj/26522 (gcc-4.1.0-RC{1,2} install headers into a top-level (root) /include)
Tom Tromey [Thu, 13 Apr 2006 21:04:04 +0000 (21:04 +0000)]
re PR libgcj/26522 (gcc-4.1.0-RC{1,2} install headers into a top-level (root) /include)

PR libgcj/26522:
* Makefile.in: Rebuilt.
* Makefile.am (libsubdir): New variable.

From-SVN: r112925

18 years agore PR target/27006 (Invalid altivec constant loading code)
Paolo Bonzini [Thu, 13 Apr 2006 20:26:59 +0000 (20:26 +0000)]
re PR target/27006 (Invalid altivec constant loading code)

2006-04-13  Paolo Bonzini  <bonzini@gnu.org>
    Ulrich Weigand  <uweigand@de.ibm.com>

PR target/27006
* config/rs6000/rs6000.h (EASY_VECTOR_15_ADD_SELF): Require n
to be even.

PR target/27006
* gcc.dg/vmx/pr27006.c: New testcase.

Co-Authored-By: Ulrich Weigand <uweigand@de.ibm.com>
From-SVN: r112923

18 years agore PR fortran/26766 ([F2003] Recursive I/O still (again) broken) heads/opt-diary
Jerry DeLisle [Thu, 13 Apr 2006 06:30:04 +0000 (06:30 +0000)]
re PR fortran/26766 ([F2003] Recursive I/O still (again) broken)

2006-04-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/26766
* gfortran.dg/write_recursive.f90: New test.

From-SVN: r112915

18 years agore PR fortran/26766 ([F2003] Recursive I/O still (again) broken)
Jerry DeLisle [Thu, 13 Apr 2006 06:24:58 +0000 (06:24 +0000)]
re PR fortran/26766 ([F2003] Recursive I/O still (again) broken)

2006-04-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

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.

From-SVN: r112914

18 years agore PR target/26459 (gcc fails to build on powerpc e500-double targets)
Alan Modra [Thu, 13 Apr 2006 05:10:00 +0000 (05:10 +0000)]
re PR target/26459 (gcc fails to build on powerpc e500-double targets)

PR target/26459
* config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't
optimize to lo_sum for DFmode if !TARGET_FPRS.

From-SVN: r112912

18 years agoDaily bump.
GCC Administrator [Thu, 13 Apr 2006 00:17:12 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r112909

18 years agohpux32.S: Correct unwind offset calculation for ffi_closure_pa32.
Andreas Tobler [Wed, 12 Apr 2006 22:56:19 +0000 (00:56 +0200)]
hpux32.S: Correct unwind offset calculation for ffi_closure_pa32.

2006-04-13  Andreas Tobler  <a.tobler@schweiz.ch>

* src/pa/hpux32.S: Correct unwind offset calculation for
ffi_closure_pa32.
* src/pa/linux.S: Likewise.

From-SVN: r112904

18 years agotree-ssa-alias.c (set_initial_properties, [...]): Use VEC instead of VARRAY.
Kazu Hirata [Wed, 12 Apr 2006 22:55:28 +0000 (22:55 +0000)]
tree-ssa-alias.c (set_initial_properties, [...]): Use VEC instead of VARRAY.

* tree-ssa-alias.c (set_initial_properties, init_alias_info,
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) *.

From-SVN: r112903

18 years agoFix IA-64 problems with denorms getting clobbered by type conversions.
James E Wilson [Wed, 12 Apr 2006 22:10:49 +0000 (15:10 -0700)]
Fix IA-64 problems with denorms getting clobbered by type conversions.

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.

From-SVN: r112900

18 years agore PR target/27060 (divide libcall size has increased)
J"orn Rennecke [Wed, 12 Apr 2006 20:09:41 +0000 (20:09 +0000)]
re PR target/27060 (divide libcall size has increased)

2006-04-12  J"orn Rennecke <joern.rennecke@st.com>

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.

From-SVN: r112898

18 years agore PR libgcj/23829 (FreeBSD 5 support for libjava)
NAKATA Maho [Wed, 12 Apr 2006 19:57:02 +0000 (19:57 +0000)]
re PR libgcj/23829 (FreeBSD 5 support for libjava)

PR libgcj/23829
* configure.ac: Link against -lpthread rather than -lc_r on
FreeBSD 5 and above.
* configure: Regenerate.

From-SVN: r112897

18 years agoMakefile.in (GTFILES): Move functions.h after tree.h.
Kazu Hirata [Wed, 12 Apr 2006 17:20:22 +0000 (17:20 +0000)]
Makefile.in (GTFILES): Move functions.h after tree.h.

* Makefile.in (GTFILES): Move functions.h after tree.h.
* 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.

From-SVN: r112894

18 years agoMakefile.in (TREE_SSA_LIVE_H): Add vecprim.h.
Kazu Hirata [Wed, 12 Apr 2006 17:19:23 +0000 (17:19 +0000)]
Makefile.in (TREE_SSA_LIVE_H): Add vecprim.h.

* Makefile.in (TREE_SSA_LIVE_H): Add vecprim.h.
* 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.

From-SVN: r112893

18 years agoparser.c (cp_parser_init_declarator): Initialize local variables aggressively.
Mark Mitchell [Wed, 12 Apr 2006 16:58:24 +0000 (16:58 +0000)]
parser.c (cp_parser_init_declarator): Initialize local variables aggressively.

* parser.c (cp_parser_init_declarator): Initialize local variables
aggressively.

From-SVN: r112891

18 years agoparser.c (cp_parser_init_declarator): Initialise is_parenthesized_init to false to...
Roger Sayle [Wed, 12 Apr 2006 16:26:58 +0000 (16:26 +0000)]
parser.c (cp_parser_init_declarator): Initialise is_parenthesized_init to false to avoid compiler warning.

* parser.c (cp_parser_init_declarator): Initialise
is_parenthesized_init to false to avoid compiler warning.

From-SVN: r112889

18 years agoexpr.c (emit_group_store): Correct operand order in call to subreg_lowpart_offset.
Roger Sayle [Wed, 12 Apr 2006 13:46:19 +0000 (13:46 +0000)]
expr.c (emit_group_store): Correct operand order in call to subreg_lowpart_offset.

* expr.c (emit_group_store): Correct operand order in call to
subreg_lowpart_offset.  Always create paradoxical SUBREGs with
a SUBREG_BYTE of zero.

From-SVN: r112887

18 years agoprofile.c (compute_branch_probabilities): Remove code encapsulated in !ir_type ()...
Richard Guenther [Wed, 12 Apr 2006 07:51:18 +0000 (07:51 +0000)]
profile.c (compute_branch_probabilities): Remove code encapsulated in !ir_type ()...

2006-04-12  Richard Guenther  <rguenther@suse.de>

* profile.c (compute_branch_probabilities): Remove code
encapsulated in !ir_type (), which are remanents of the
removed RTL profiling code.
* rtl-profile.c: Remove.

From-SVN: r112884

18 years agopex-common.c (pex_input_file, [...]): New functions.
Jim Blandy [Wed, 12 Apr 2006 06:29:21 +0000 (06:29 +0000)]
pex-common.c (pex_input_file, [...]): New functions.

src/libiberty/ChangeLog:
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.

From-SVN: r112883

18 years agopex-common.c (temp_file): New function, containing guts of pex-style temporary file...
Jim Blandy [Wed, 12 Apr 2006 06:24:40 +0000 (06:24 +0000)]
pex-common.c (temp_file): New function, containing guts of pex-style temporary file name generation.

2006-04-10  Jim Blandy  <jimb@codesourcery.com>

* pex-common.c (temp_file): New function, containing guts of
pex-style temporary file name generation.
(pex_run): Use it.

From-SVN: r112882

18 years agors6000.c (rs6000_mixed_function_arg): Update magic NULL_RTX comment.
Alan Modra [Wed, 12 Apr 2006 01:26:23 +0000 (01:26 +0000)]
rs6000.c (rs6000_mixed_function_arg): Update magic NULL_RTX comment.

* config/rs6000/rs6000.c (rs6000_mixed_function_arg): Update
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.

From-SVN: r112880

18 years agoDaily bump.
GCC Administrator [Wed, 12 Apr 2006 00:17:11 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r112876

18 years agodwarf2out.c (output_call_frame_info): Create debug_frame_section if it hasn't been...
Roger Sayle [Tue, 11 Apr 2006 23:53:39 +0000 (23:53 +0000)]
dwarf2out.c (output_call_frame_info): Create debug_frame_section if it hasn't been initialized by dwarf2out_init.

* dwarf2out.c (output_call_frame_info): Create debug_frame_section
if it hasn't been initialized by dwarf2out_init.

From-SVN: r112871

18 years agore PR c++/26122 (Pure specifiers for templates causing trouble)
Mark Mitchell [Tue, 11 Apr 2006 22:59:57 +0000 (22:59 +0000)]
re PR c++/26122 (Pure specifiers for templates causing trouble)

* g++.dg/parse/dtor7.C: New test.
* 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.

From-SVN: r112869

18 years agodarwin_stop_world.c (GC_push_all_stacks, [...]): Call vm_deallocate to free act_list.
Bryce McKinlay [Tue, 11 Apr 2006 21:56:27 +0000 (21:56 +0000)]
darwin_stop_world.c (GC_push_all_stacks, [...]): Call vm_deallocate to free act_list.

        * darwin_stop_world.c (GC_push_all_stacks, GC_stop_world,
        GC_start_world): Call vm_deallocate to free act_list. Fix from
        Bruce Mitchener.

From-SVN: r112867

18 years agopa.md (MAX_12BIT_OFFSET, [...]): Define and use new symbolic constants in branch...
John David Anglin [Tue, 11 Apr 2006 18:29:16 +0000 (18:29 +0000)]
pa.md (MAX_12BIT_OFFSET, [...]): Define and use new symbolic constants in branch patterns.

* pa.md (MAX_12BIT_OFFSET, MAX_17BIT_OFFSET): Define and use new
symbolic constants in branch patterns.

From-SVN: r112864

18 years agocaller-save.c: #include "addresses.h" after #include "tm_p.h".
Roger Sayle [Tue, 11 Apr 2006 18:26:12 +0000 (18:26 +0000)]
caller-save.c: #include "addresses.h" after #include "tm_p.h".

* caller-save.c: #include "addresses.h" after #include "tm_p.h".

From-SVN: r112863

18 years agore PR rtl-optimization/27073 (invalid gcse manipulation of REG_EQUIV notes)
Richard Sandiford [Tue, 11 Apr 2006 17:43:07 +0000 (17:43 +0000)]
re PR rtl-optimization/27073 (invalid gcse manipulation of REG_EQUIV notes)

PR rtl-optimization/27073
* 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.

From-SVN: r112861

18 years agosparc.c (function_arg_slotno): Handle aggregate types other than record and union...
Eric Botcazou [Tue, 11 Apr 2006 16:25:46 +0000 (18:25 +0200)]
sparc.c (function_arg_slotno): Handle aggregate types other than record and union types.

* config/sparc/sparc.c (function_arg_slotno) <BLKmode>: Handle
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.

From-SVN: r112859

18 years agoSystemClassLoader.java (addClass): Get the value of package-private field "loadedClas...
Bryce McKinlay [Tue, 11 Apr 2006 16:23:00 +0000 (16:23 +0000)]
SystemClassLoader.java (addClass): Get the value of package-private field "loadedClasses" using reflection.

* gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
of package-private field "loadedClasses" using reflection.
* java/lang/VMCompiler.java (compileClass): Remove unreachable catch
block.

From-SVN: r112858

18 years agodwarf2out.c (premark_used_types): Remove problematic prototype.
Roger Sayle [Tue, 11 Apr 2006 15:41:41 +0000 (15:41 +0000)]
dwarf2out.c (premark_used_types): Remove problematic prototype.

* dwarf2out.c (premark_used_types): Remove problematic prototype.

From-SVN: r112857

18 years ago* gcc.c (LINK_COMMAND_SPEC): Move link_gomp after %o.
Jakub Jelinek [Tue, 11 Apr 2006 07:16:14 +0000 (09:16 +0200)]
* gcc.c (LINK_COMMAND_SPEC): Move link_gomp after %o.

From-SVN: r112851

18 years agoio.h (st_parameter_dt): Revert 2005-12-10 change to u.pad, fix comment.
Jakub Jelinek [Tue, 11 Apr 2006 07:15:00 +0000 (09:15 +0200)]
io.h (st_parameter_dt): Revert 2005-12-10 change to u.pad, fix comment.

* io/io.h (st_parameter_dt): Revert 2005-12-10 change to
u.pad, fix comment.
(check_st_parameter_dt): New compile time assert.

From-SVN: r112850

18 years agotree-ssa-copy.c (may_propagate_copy): Test flow sensitive alias information too.
Jeff Law [Tue, 11 Apr 2006 05:52:45 +0000 (23:52 -0600)]
tree-ssa-copy.c (may_propagate_copy): Test flow sensitive alias information too.

        PR/27087
        * tree-ssa-copy.c (may_propagate_copy): Test flow sensitive
        alias information too.

        * gcc.c-torture/compile/pr27087.c: New test.

From-SVN: r112849

18 years ago* gcc/Makefile.in (gcc-cross): Add $(exeext) to target name.
Mike Frysinger [Tue, 11 Apr 2006 03:08:13 +0000 (03:08 +0000)]
* gcc/Makefile.in (gcc-cross): Add $(exeext) to target name.

From-SVN: r112847

18 years ago20060410.c: New.
Aldy Hernandez [Tue, 11 Apr 2006 01:36:50 +0000 (01:36 +0000)]
20060410.c: New.

PR/21391
* 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.

From-SVN: r112845

18 years agore PR target/26459 (gcc fails to build on powerpc e500-double targets)
Mark Mitchell [Tue, 11 Apr 2006 00:33:29 +0000 (00:33 +0000)]
re PR target/26459 (gcc fails to build on powerpc e500-double targets)

PR target/26459
* config/rs6000/e500-double.h (SUB3TARGET_OVERRIDE_OPTIONS): Test
rs6000_explicit_options.float_gprs.

From-SVN: r112843

18 years agoDaily bump.
GCC Administrator [Tue, 11 Apr 2006 00:17:10 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r112841

18 years agolibjava.exp (libjava_init): Recognize multilib directory names containing underscores.
Matthias Klose [Mon, 10 Apr 2006 21:34:19 +0000 (21:34 +0000)]
libjava.exp (libjava_init): Recognize multilib directory names containing underscores.

gcc/testsuite:
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.

From-SVN: r112833

18 years agoi386.c (ix86_expand_vector_init_one_nonzero): Renamed from ix86_expand_vector_init_lo...
Roger Sayle [Mon, 10 Apr 2006 21:01:19 +0000 (21:01 +0000)]
i386.c (ix86_expand_vector_init_one_nonzero): Renamed from ix86_expand_vector_init_low_nonzero.

* config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Renamed
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.

From-SVN: r112832

18 years agoMakefile.in (tree-into-ssa.o, [...]): Depend on vecprim.h.
Kazu Hirata [Mon, 10 Apr 2006 19:26:18 +0000 (19:26 +0000)]
Makefile.in (tree-into-ssa.o, [...]): Depend on vecprim.h.

* Makefile.in (tree-into-ssa.o, tree-outof-ssa.o,
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.

From-SVN: r112830

18 years agodwarf2out.c (struct dw_attr_struct): Remove dw_attr_next.
Geoffrey Keating [Mon, 10 Apr 2006 18:16:07 +0000 (18:16 +0000)]
dwarf2out.c (struct dw_attr_struct): Remove dw_attr_next.

* dwarf2out.c (struct dw_attr_struct): Remove dw_attr_next.
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.

From-SVN: r112829

18 years agox86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.
Andrew Haley [Mon, 10 Apr 2006 16:01:23 +0000 (16:01 +0000)]
x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.

2006-04-10  Andrew Haley  <aph@redhat.com>

        * 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.

From-SVN: r112827

18 years agoFix latest entry.
Eric Botcazou [Mon, 10 Apr 2006 14:34:02 +0000 (14:34 +0000)]
Fix latest entry.

From-SVN: r112824

18 years agoinstall.texi (*-*-solaris2*): Point to the configuration page.
Eric Botcazou [Mon, 10 Apr 2006 14:29:47 +0000 (16:29 +0200)]
install.texi (*-*-solaris2*): Point to the configuration page.

* doc/install.texi (*-*-solaris2*): Point to the configuration page.

From-SVN: r112823

18 years agore PR debug/27057 (ICE with -feliminate-dwarf2-dups and using namespace)
Jakub Jelinek [Mon, 10 Apr 2006 13:18:19 +0000 (15:18 +0200)]
re PR debug/27057 (ICE with -feliminate-dwarf2-dups and using namespace)

PR debug/27057
* dwarf2out.c (is_symbol_die): Return true also for namespaces.

* g++.dg/debug/dwarf2-2.C: New test.

From-SVN: r112820

18 years agore PR libfortran/24685 (real(16) formatted input is broken for huge values (gfortran...
Jakub Jelinek [Mon, 10 Apr 2006 12:02:55 +0000 (14:02 +0200)]
re PR libfortran/24685 (real(16) formatted input is broken for huge values (gfortran.dg/default_format_2.f90))

PR libgfortran/24685
* 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.

From-SVN: r112819

18 years agoDR 538, [Ready]
Paolo Carlini [Mon, 10 Apr 2006 10:05:51 +0000 (10:05 +0000)]
DR 538, [Ready]

2006-04-10  Paolo Carlini  <pcarlini@suse.de>

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.

From-SVN: r112818

18 years agoexpr.c (store_constructor): Don't bother clearing target if we're about to assign...
Roger Sayle [Mon, 10 Apr 2006 05:13:59 +0000 (05:13 +0000)]
expr.c (store_constructor): Don't bother clearing target if we're about to assign a vector to it using...

* expr.c (store_constructor): Don't bother clearing target if
we're about to assign a vector to it using vec_init_optab.

From-SVN: r112817

18 years agotree-ssa-alias.c (lhs_may_store_to): New function.
Daniel Berlin [Mon, 10 Apr 2006 03:36:09 +0000 (03:36 +0000)]
tree-ssa-alias.c (lhs_may_store_to): New function.

2006-04-10 Daniel Berlin  <dberlin@dberlin.org>

* tree-ssa-alias.c (lhs_may_store_to): New function.
(recalculate_used_alone): Handle LHS of calls.

From-SVN: r112815

18 years agoDaily bump.
GCC Administrator [Mon, 10 Apr 2006 00:17:03 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r112813

18 years agore PR target/27034 (gcc.dg/20021014-1.c (test for excess errors) fails)
John David Anglin [Sun, 9 Apr 2006 18:32:16 +0000 (18:32 +0000)]
re PR target/27034 (gcc.dg/20021014-1.c (test for excess errors) fails)

PR target/27034
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.

From-SVN: r112807

18 years agore PR target/26743 (gcc generates unreachable branch)
John David Anglin [Sun, 9 Apr 2006 17:19:42 +0000 (17:19 +0000)]
re PR target/26743 (gcc generates unreachable branch)

PR target/26743
PR target/11254
PR target/10274
* pa.md (cbranch patterns): Revise arguments used in calls to
output_cbranch, output_bb and output_bvd.  Add long branch length
attributes.
(fbranch patterns): Handle long branches.
(jump): Revise length check.  Revise arguments for output_lbranch call.
Add long branch length attributes.
(decrement_and_branch_until_zero): Add long branch length attributes.
(output_movb, output_parallel_addb and output_parallel_movb patterns):
Likewise.  Revise arguments for output_parallel_addb and
output_parallel_movb calls.
* pa-protos.h (output_cbranch, output_lbranch, output_bb, output_bvb,
output_parallel_movb and output_parallel_addb): Update prototypes.
* pa.c (output_cbranch): Revise arguments.  Correct handling of
nullification in long branches.
(output_lbranch): Add new argument to control extraction of delay
instruction.
(output_bb): Handle long branches.
(output_bvb, output_dbra, output_movb, output_parallel_movb,
output_parallel_addb): Likewise.

From-SVN: r112805

18 years agore PR rtl-optimization/27073 (invalid gcse manipulation of REG_EQUIV notes)
Richard Sandiford [Sun, 9 Apr 2006 10:06:20 +0000 (10:06 +0000)]
re PR rtl-optimization/27073 (invalid gcse manipulation of REG_EQUIV notes)

PR rtl-optimization/27073
* gcse.c (try_replace_reg): Just propagate into REG_EQUAL notes,
not REG_EQUIVs.

gcc/testsuite/
* gcc.c-torture/execute/pr27073.c: New test.

From-SVN: r112803

18 years agoFixup whitespaces
Mike Stump [Sun, 9 Apr 2006 00:18:01 +0000 (00:18 +0000)]
Fixup whitespaces

From-SVN: r112800

18 years agoDaily bump.
GCC Administrator [Sun, 9 Apr 2006 00:17:05 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r112798

18 years agoFix whitespaces
Mike Stump [Sun, 9 Apr 2006 00:11:53 +0000 (00:11 +0000)]
Fix whitespaces

From-SVN: r112794

18 years agoRevert previous patch, mistaken.
Mike Stump [Sun, 9 Apr 2006 00:07:28 +0000 (00:07 +0000)]
Revert previous patch, mistaken.

From-SVN: r112793

18 years agoRevert last patch
Mike Stump [Sat, 8 Apr 2006 23:36:00 +0000 (23:36 +0000)]
Revert last patch

From-SVN: r112792

18 years ago* objc.dg/method-6.m: Add -Wstrict-selector-match.
Mike Stump [Sat, 8 Apr 2006 23:26:12 +0000 (23:26 +0000)]
* objc.dg/method-6.m: Add -Wstrict-selector-match.

From-SVN: r112791

18 years ago* gcc.dg/pragma-darwin.c: Improve for ppc64.
Mike Stump [Sat, 8 Apr 2006 23:07:53 +0000 (23:07 +0000)]
* gcc.dg/pragma-darwin.c: Improve for ppc64.

From-SVN: r112790

18 years agotree.h (tree_memory_tag): Add old_used_alone.
Daniel Berlin [Sat, 8 Apr 2006 21:50:04 +0000 (21:50 +0000)]
tree.h (tree_memory_tag): Add old_used_alone.

2006-04-08  Daniel Berlin  <dberlin@dberlin.org>

* tree.h (tree_memory_tag): Add old_used_alone.
(SMT_OLD_USED_ALONE): New macro.
* tree-ssa-alias.c (recalculate_used_alone): Stop
marking things for renaming unnecessarily.

From-SVN: r112789

18 years agoFix whitespacing.
Mike Stump [Sat, 8 Apr 2006 21:06:26 +0000 (21:06 +0000)]
Fix whitespacing.

From-SVN: r112788

18 years agoAdd missing part of rth patch.
Mike Stump [Sat, 8 Apr 2006 20:38:25 +0000 (20:38 +0000)]
Add missing part of rth patch.

From-SVN: r112787

18 years agoMakefile.in: Add Ada support for GNU/kFreeBSD.
Aurelien Jarno [Sat, 8 Apr 2006 20:11:21 +0000 (20:11 +0000)]
Makefile.in: Add Ada support for GNU/kFreeBSD.

2006-04-08  Aurelien Jarno  <aurel32@debian.org>

        * Makefile.in: Add Ada support for GNU/kFreeBSD.
        * s-osinte-kfreebsd-gnu.ads: New file.

Approved by: Arnaud Charlet  <charlet@adacore.com>

From-SVN: r112786

18 years ago* expr.c, gjavah.c: Fix comment typos.
Kazu Hirata [Sat, 8 Apr 2006 17:07:16 +0000 (17:07 +0000)]
* expr.c, gjavah.c: Fix comment typos.

From-SVN: r112784

18 years agobuiltins.c, [...]: Fix comment typos.
Kazu Hirata [Sat, 8 Apr 2006 17:01:17 +0000 (17:01 +0000)]
builtins.c, [...]: Fix comment typos.

* builtins.c, config/arm/arm.c, config/i386/cygwin.h,
config/i386/i386.c, config/ia64/ia64.c, config/s390/fixdfdi.h,
config/sh/sh.c, config/sh/sh.h, df-scan.c, except.c,
haifa-sched.c, optabs.c, rtl.h, sched-deps.c, sched-int.h,
sched-rgn.c, tree-inline.h, tree-ssa-dom.c,
tree-ssa-loop-prefetch.c, tree-ssa-operands.c,
tree-vect-patterns.c, tree-vrp.c: Fix comment typos.  Follow
spelling convensions.
* config/ia64/ia64.opt, doc/contrib.texi, doc/invoke.texi,
doc/passes.texi, doc/tm.texi, doc/tree-ssa.texi: Fix comment
typos.  Follow spelling conventions.

From-SVN: r112782

18 years agogfortran.texi: Fix typos.
Kazu Hirata [Sat, 8 Apr 2006 14:31:12 +0000 (14:31 +0000)]
gfortran.texi: Fix typos.

* gfortran.texi: Fix typos.  Follow spelling conventions.
* resolve.c, trans-expr.c, trans-stmt.c: Fix comment typos.
Follow spelling conventions.

From-SVN: r112780

18 years ago* decl2.c, pt.c, semantics.c: Fix comment typos.
Kazu Hirata [Sat, 8 Apr 2006 14:15:44 +0000 (14:15 +0000)]
* decl2.c, pt.c, semantics.c: Fix comment typos.

From-SVN: r112779

18 years ago* MAINTAINERS (Write After Approval): Add myself.
Robert Millan [Sat, 8 Apr 2006 09:03:32 +0000 (09:03 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r112776

18 years agoDaily bump.
GCC Administrator [Sat, 8 Apr 2006 00:17:06 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r112773

18 years agore PR libfortran/26890 (SIZE parameter interacts with same variable in IO list charac...
Jerry DeLisle [Fri, 7 Apr 2006 23:05:12 +0000 (23:05 +0000)]
re PR libfortran/26890 (SIZE parameter interacts with same variable in IO list character length specification.)

2006-04-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/26890
* io/io.h: Revert change to pad size made on 2006-03-30.
Add comment explaining dependency with fortran/trans-io.c.

From-SVN: r112769

18 years agoFor PR 26483, IA-64 denorm failure due to unwanted rounding.
James E Wilson [Fri, 7 Apr 2006 23:04:15 +0000 (16:04 -0700)]
For PR 26483, IA-64 denorm failure due to unwanted rounding.

* testsuite/libffi.call/float4.c: New testcase.

From-SVN: r112768

18 years agoconfigure: Rebuilt.
Andreas Tobler [Fri, 7 Apr 2006 22:33:30 +0000 (00:33 +0200)]
configure: Rebuilt.

2006-04-08  Andreas Tobler  <a.tobler@schweiz.ch>

* configure: Rebuilt.

From-SVN: r112766

18 years agom32c.c (m32c_function_arg): Structures are always passed on the stack.
DJ Delorie [Fri, 7 Apr 2006 21:50:47 +0000 (17:50 -0400)]
m32c.c (m32c_function_arg): Structures are always passed on the stack.

* config/m32c/m32c.c (m32c_function_arg): Structures are always
passed on the stack.
(m32c_init_cumulative_args): When a function returns a structure,
always pass the pointer to that return area on the stack.
(m32c_function_arg_advance): Don't increment the parameter number
if we're processing the returned structure pointer.
(pushm_info): Reverse order of registers.

From-SVN: r112765

18 years agotree-ssa-loop-niter.c (inverse, [...]): Use build_int_cst instead of build_int_cst_type.
Sebastian Pop [Fri, 7 Apr 2006 15:44:59 +0000 (17:44 +0200)]
tree-ssa-loop-niter.c (inverse, [...]): Use build_int_cst instead of build_int_cst_type.

* tree-ssa-loop-niter.c (inverse, number_of_iterations_ne,
assert_no_overflow_lt, assert_loop_rolls_lt, number_of_iterations_lt,
number_of_iterations_le, number_of_iterations_cond, find_loop_niter,
estimate_numbers_of_iterations_loop): Use build_int_cst instead of
build_int_cst_type.
* tree-chrec.c (chrec_fold_multiply_poly_poly,
chrec_fold_multiply): Same.
* tree-ssa-loop-ivopts.c (strip_offset_1, force_expr_to_var_cost,
force_expr_to_var_cost): Same.
* tree-mudflap.c (mf_xform_derefs_1): Same.
* tree-ssa-loop-prefetch.c (idx_analyze_ref): Same.

From-SVN: r112755

18 years agoInetAddress.java: Throw an UnknownHostException if lookup fails.
Andrew Haley [Fri, 7 Apr 2006 15:42:07 +0000 (15:42 +0000)]
InetAddress.java: Throw an UnknownHostException if lookup fails.

2006-04-07  Andrew Haley  <aph@redhat.com>

        * java/net/InetAddress.java: Throw an UnknownHostException if
        lookup fails.

From-SVN: r112754

18 years ago* ipa-inline.c (cgraph_early_inlining): Collect garbage.
Jan Hubicka [Fri, 7 Apr 2006 15:24:39 +0000 (15:24 +0000)]
* ipa-inline.c (cgraph_early_inlining): Collect garbage.

From-SVN: r112753

18 years agors6000.c (rs6000_rtx_costs): Do not treat CONST_DOUBLE as INTVAL.
David Edelsohn [Fri, 7 Apr 2006 14:24:44 +0000 (14:24 +0000)]
rs6000.c (rs6000_rtx_costs): Do not treat CONST_DOUBLE as INTVAL.

* config/rs6000/rs6000.c (rs6000_rtx_costs) <CONST_DOUBLE>: Do not
treat CONST_DOUBLE as INTVAL.  and64_2_operands require an extra
insn.

From-SVN: r112752

18 years ago* ipa-inline.c (cgraph_early_inlining): Collect garbage.
Jan Hubicka [Fri, 7 Apr 2006 11:48:42 +0000 (11:48 +0000)]
* ipa-inline.c (cgraph_early_inlining): Collect garbage.

From-SVN: r112751

18 years agore PR tree-optimization/26135 (store copyprop not effective)
Richard Biener [Fri, 7 Apr 2006 08:04:26 +0000 (08:04 +0000)]
re PR tree-optimization/26135 (store copyprop not effective)

2006-04-07  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/26135
* tree-ssa-copy.c (stmt_may_generate_copy): Handle memory
loads for store copy-prop.
(copy_prop_visit_stmt): Likewise.

* gcc.dg/tree-ssa/ssa-copyprop-1.c: New testcase.

From-SVN: r112749

18 years agoDaily bump.
GCC Administrator [Fri, 7 Apr 2006 00:17:04 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r112745

18 years agoMakefile.in: Add install-html, install-html-am, and install-html-recursive targets.
Carlos O'Donell [Thu, 6 Apr 2006 23:54:50 +0000 (23:54 +0000)]
Makefile.in: Add install-html, install-html-am, and install-html-recursive targets.

libiberty/

2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>

* Makefile.in: Add install-html, install-html-am, and
install-html-recursive targets. Define mkdir_p and
NORMAL_INSTALL.
* configure.ac: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
* testsuite/Makefile.in: Add install-html and html targets.

From-SVN: r112741

18 years agolinux.h: Add a comment to mark macros that are being overriden in config/k*bsd-gnu.h.
Robert Millan [Thu, 6 Apr 2006 22:16:11 +0000 (22:16 +0000)]
linux.h: Add a comment to mark macros that are being overriden in config/k*bsd-gnu.h.

* gcc/config/i386/linux.h:  Add a comment to mark macros that are
being overriden in config/k*bsd-gnu.h.
* gcc/config/kfreebsd-gnu.h:  Redefine GLIBC_DYNAMIC_LINKER instead of
DYNAMIC_LINKER.
* gcc/config/knetbsd-gnu.h:  Ditto.

From-SVN: r112740

18 years agore PR gcov-profile/20815 (-fprofile-use barfs with "coverage mismatch for function...
Jan Hubicka [Thu, 6 Apr 2006 20:33:21 +0000 (22:33 +0200)]
re PR gcov-profile/20815 (-fprofile-use barfs with "coverage mismatch for function '...' while reading counter 'arcs'.")

PR profile/20815
PR profile/26399
* coverage.c (coverage_checksum_string): Reorganize loop to not read
after buffer.
* g++.dg/bprob/g++-bprob-2.C: New testcase.

From-SVN: r112738

18 years ago* builtins.c (expand_builtin_longjmp):Use #ifdef instead of #if
Mike Stump [Thu, 6 Apr 2006 19:36:30 +0000 (19:36 +0000)]
* builtins.c (expand_builtin_longjmp):Use #ifdef instead of #if
        for HAVE_nonlocal_goto to be consistent.
        (expand_builtin_nonlocal_goto): Likewise.
        (expand_builtin_strcmp): Use #ifdef instead of #if
        for HAVE_cmpstrnsi to be consistent.

From-SVN: r112737

18 years agoacinclude.m4 (AC_LTDL_SHLIBEXT): Add GCJ LOCAL marker to indicate GCJ specific stuff.
Andreas Tobler [Thu, 6 Apr 2006 19:22:45 +0000 (21:22 +0200)]
acinclude.m4 (AC_LTDL_SHLIBEXT): Add GCJ LOCAL marker to indicate GCJ specific stuff.

2006-04-06  Andreas Tobler  <a.tobler@schweiz.ch>

* acinclude.m4 (AC_LTDL_SHLIBEXT): Add GCJ LOCAL marker to indicate
GCJ specific stuff.

From-SVN: r112736

18 years agocall.c (null_ptr_cst_p): Add explicit TREE_CONSTANT_OVERFLOW check.
Roger Sayle [Thu, 6 Apr 2006 16:47:40 +0000 (16:47 +0000)]
call.c (null_ptr_cst_p): Add explicit TREE_CONSTANT_OVERFLOW check.

* call.c (null_ptr_cst_p): Add explicit TREE_CONSTANT_OVERFLOW check.

* g++.dg/conversion/nullptr1.C: New test case.
* g++.dg/conversion/nullptr2.C: Likewise.

From-SVN: r112734

18 years agodependency.c (get_no_elements): Delete function.
Roger Sayle [Thu, 6 Apr 2006 02:08:27 +0000 (02:08 +0000)]
dependency.c (get_no_elements): Delete function.

* dependency.c (get_no_elements): Delete function.
(get_deps): Delete function.
(transform_sections): Delete function.
(gfc_check_section_vs_section): Significant rewrite.

* gfortran.dg/dependency_18.f90: New test case.

From-SVN: r112731

18 years agom32c.h (INCOMING_FRAME_SP_OFFSET): Adjust for m16c vs m32c.
DJ Delorie [Thu, 6 Apr 2006 01:54:29 +0000 (21:54 -0400)]
m32c.h (INCOMING_FRAME_SP_OFFSET): Adjust for m16c vs m32c.

* config/m32c/m32c.h (INCOMING_FRAME_SP_OFFSET): Adjust for m16c
vs m32c.

From-SVN: r112730

18 years agoDaily bump.
GCC Administrator [Thu, 6 Apr 2006 00:17:23 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r112728

18 years agore PR libgcj/26625 (libgcj-4.2.0.jar not rebuilt after a source file change)
Tom Tromey [Wed, 5 Apr 2006 22:47:51 +0000 (22:47 +0000)]
re PR libgcj/26625 (libgcj-4.2.0.jar not rebuilt after a source file change)

libjava/classpath:
PR libgcj/26625:
* lib/Makefile.in: Rebuilt.
* lib/Makefile.am (compile-classes): Touch the output file.
libjava:
PR libgcj/26625:
* Makefile.in: Rebuilt.
* Makefile.am (libgcj-$(gcc_version).jar): Depend on
classpath/lib/compile-classes.

From-SVN: r112724

18 years agoname-lookup.c (push_namespace_with_attribs): Temporarily disable default hidden visib...
Jason Merrill [Wed, 5 Apr 2006 22:32:25 +0000 (18:32 -0400)]
name-lookup.c (push_namespace_with_attribs): Temporarily disable default hidden visibility for anonymous namespace.

        * name-lookup.c (push_namespace_with_attribs): Temporarily disable
        default hidden visibility for anonymous namespace.

From-SVN: r112722

18 years agolib1funcs.asm (modsi): P1/P2 can be call-clobbered even if the calling function doesn...
Bernd Schmidt [Wed, 5 Apr 2006 22:03:30 +0000 (22:03 +0000)]
lib1funcs.asm (modsi): P1/P2 can be call-clobbered even if the calling function doesn't modify them.

* config/bfin/lib1funcs.asm (modsi): P1/P2 can be call-clobbered
even if the calling function doesn't modify them.

From-SVN: r112720

18 years agoMakefile.am: Add PA_HPUX port.
John David Anglin [Wed, 5 Apr 2006 21:26:34 +0000 (21:26 +0000)]
Makefile.am: Add PA_HPUX port.

2006-04-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
    Andreas Tobler  <a.tobler@schweiz.ch>

* Makefile.am: Add PA_HPUX port.
* Makefile.in: Regenerate.
* include/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
* configure.ac: Add PA_HPUX rules.
* configure: Regenerate.
* src/pa/ffitarget.h: Rename linux target to PA_LINUX.
Add PA_HPUX and PA64_HPUX.
Rename FFI_LINUX ABI to FFI_PA32 ABI.
(FFI_TRAMPOLINE_SIZE): Define for 32-bit HP-UX targets.
(FFI_TYPE_SMALL_STRUCT2): Define.
(FFI_TYPE_SMALL_STRUCT4): Likewise.
(FFI_TYPE_SMALL_STRUCT8): Likewise.
(FFI_TYPE_SMALL_STRUCT3): Redefine.
(FFI_TYPE_SMALL_STRUCT5): Likewise.
(FFI_TYPE_SMALL_STRUCT6): Likewise.
(FFI_TYPE_SMALL_STRUCT7): Likewise.
* src/pa/ffi.c (ROUND_DOWN): Delete.
(fldw, fstw, fldd, fstd): Use '__asm__'.
(ffi_struct_type): Add support for FFI_TYPE_SMALL_STRUCT2,
FFI_TYPE_SMALL_STRUCT4 and FFI_TYPE_SMALL_STRUCT8.
(ffi_prep_args_LINUX): Rename to ffi_prep_args_pa32. Update comment.
Simplify incrementing of stack slot variable. Change type of local
'n' to unsigned int.
(ffi_size_stack_LINUX): Rename to ffi_size_stack_pa32. Handle long
double on PA_HPUX.
(ffi_prep_cif_machdep): Likewise.
(ffi_call): Likewise.
(ffi_closure_inner_LINUX): Rename to ffi_closure_inner_pa32. Change
return type to ffi_status. Simplify incrementing of stack slot
variable. Only copy floating point argument registers when PA_LINUX
is true. Reformat debug statement.
Add support for FFI_TYPE_SMALL_STRUCT2, FFI_TYPE_SMALL_STRUCT4 and
FFI_TYPE_SMALL_STRUCT8.
(ffi_closure_LINUX): Rename to ffi_closure_pa32. Add 'extern' to
declaration.
(ffi_prep_closure): Make linux trampoline conditional on PA_LINUX.
Add nops to cache flush.  Add trampoline for PA_HPUX.
* src/pa/hpux32.S: New file.
* src/pa/linux.S (ffi_call_LINUX): Rename to ffi_call_pa32. Rename
ffi_prep_args_LINUX to ffi_prep_args_pa32.
Localize labels. Add support for 2, 4 and 8-byte small structs. Handle
unaligned destinations in 3, 5, 6 and 7-byte small structs. Order
argument type checks so that common argument types appear first.
(ffi_closure_LINUX): Rename to ffi_closure_pa32. Rename
ffi_closure_inner_LINUX to ffi_closure_inner_pa32.

Co-Authored-By: Andreas Tobler <a.tobler@schweiz.ch>
From-SVN: r112719

18 years agobfin.c (bfin_legitimate_address_p): Disallow got-relative addressing for anything...
Bernd Schmidt [Wed, 5 Apr 2006 19:37:42 +0000 (19:37 +0000)]
bfin.c (bfin_legitimate_address_p): Disallow got-relative addressing for anything but SImode.

* config/bfin/bfin.c (bfin_legitimate_address_p): Disallow
got-relative addressing for anything but SImode.

From-SVN: r112718

18 years agore PR tree-optimization/26919 (ICE in cgraph_estimate_size_after_inlining with a...
Richard Guenther [Wed, 5 Apr 2006 15:41:18 +0000 (15:41 +0000)]
re PR tree-optimization/26919 (ICE in cgraph_estimate_size_after_inlining with a large number of arguments)

2006-04-05  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/26919
* ipa-inline.c (cgraph_decide_inlining_incrementally): Fix argument
to cgraph_estimate_size_after_inlining.

* gcc.dg/ipa/ipa-1.c: Use -fno-early-inlining.
* gcc.dg/ipa/ipa-2.c: Likewise.
* gcc.dg/ipa/ipa-3.c: Likewise.
* gcc.dg/ipa/ipa-5.c: Likewise.

From-SVN: r112709

18 years agoconfigure.host: Add -fno-omit-frame-pointer to libgcj_flags for MinGW since EBP is...
Ranjit Mathew [Wed, 5 Apr 2006 15:18:19 +0000 (15:18 +0000)]
configure.host: Add -fno-omit-frame-pointer to libgcj_flags for MinGW since EBP is used for...

  * configure.host: Add -fno-omit-frame-pointer to libgcj_flags for
  MinGW since EBP is used for backtracking through call frames on this
  platform.

From-SVN: r112708

18 years agoreload.c (find_dummy_reload): Fix typo in 2006-04-03 change.
Alan Modra [Wed, 5 Apr 2006 14:45:12 +0000 (14:45 +0000)]
reload.c (find_dummy_reload): Fix typo in 2006-04-03 change.

* reload.c (find_dummy_reload): Fix typo in 2006-04-03 change.

From-SVN: r112705

18 years agoAdd missing word in comment.
Eric Botcazou [Wed, 5 Apr 2006 13:41:01 +0000 (13:41 +0000)]
Add missing word in comment.

From-SVN: r112702

This page took 0.105154 seconds and 5 git commands to generate.