gcc.git
18 years agoexpmed.c (store_bit_field): Handle paradoxical subregs on big endian machines.
Andreas Krebbel [Tue, 25 Apr 2006 12:11:25 +0000 (12:11 +0000)]
expmed.c (store_bit_field): Handle paradoxical subregs on big endian machines.

2006-04-25  Andreas Krebbel  <krebbel1@de.ibm.com>

* expmed.c (store_bit_field): Handle paradoxical subregs on big endian
machines.

2006-04-25  Andreas Krebbel  <krebbel1@de.ibm.com>

* gcc.dg/20060425-1.c: New testcase.

From-SVN: r113248

18 years agortl.texi (ss_ashift): Improve wording.
Bernd Schmidt [Tue, 25 Apr 2006 11:58:22 +0000 (11:58 +0000)]
rtl.texi (ss_ashift): Improve wording.

* doc/rtl.texi (ss_ashift): Improve wording.

From-SVN: r113247

18 years agonatClassLoader.cc: Don't include link.h or dladdr.h.
Andrew Haley [Tue, 25 Apr 2006 11:54:15 +0000 (11:54 +0000)]
natClassLoader.cc: Don't include link.h or dladdr.h.

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

        * java/lang/natClassLoader.cc: Don't include link.h or dladdr.h.
        * boehm.cc: Don't include link.h.
        (_Jv_RegisterLibForGc): Cast away const when calling dladdr().

From-SVN: r113246

18 years agogenmodes.c (make_vector_mode): Allow making VECTOR_MODE_INT of a MODE_PARTIAL_INT...
Bernd Schmidt [Tue, 25 Apr 2006 11:49:27 +0000 (11:49 +0000)]
genmodes.c (make_vector_mode): Allow making VECTOR_MODE_INT of a MODE_PARTIAL_INT mode.

* genmodes.c (make_vector_mode): Allow making VECTOR_MODE_INT of a
MODE_PARTIAL_INT mode.
* config/bfin/bfin-modes.def: Add V2PDI and V2SI.
* config/bfin/bfin.c (print_operand): Add macflag and mac/msu modifiers
for CONST_INTs.
(hard_regno_mode_ok): V2PDImode is ok for accumulators.
* config/bfin/bfin.h (CLASS_MAX_NREGS, HARD_REGNO_NREGS): Handle
V2PDImode.
* config/bfin/predicates.md (const01_operand, vec_shift_operand):
New predicates.
* config/bfin/bfin.md (UNSPEC_MUL_WITH_FLAG, UNSPEC_MAC_WITH_FLAG):
New constants.
(MACFLAG_NONE, MACFLAG_T, MACFLAG_FU, MACFLAG_TFU, MACFLAG_IS,
MACFLAG_IU, MACFLAG_W32, MACFLAG_M, MACFLAG_S2RND, MACFLAG_ISS2,
MACFLAG_IH): Likewise.
(movstricthi_1): Renamed from "*movstricthi".
(load_accumulator, load_accumulator_pair, movsi_insv, insv,
ssaddsi3, sssubsi3, ssnegsi2, signbitssi2, smaxhi3, sminhi3,
abshi2, neghi2, ssneghi2, signbitshi2, movhi_low2high,
movhi_high2high, movhi_low2low, movhi_high2low, movhiv2hi_low,
movhiv2hi_high, composev2hi, movv2hi_hi, movv2hi_hi_low,
movv2hi_hi_high, ssaddhi3, sssubhi3, ssaddv2hi3, sssubv2hi3,
addsubv2hi3, subaddv2hi3, ssaddsubv2hi3, sssubaddv2hi3,
sublohiv2hi3, subhilov2hi3, sssublohiv2hi3, sssubhilov2hi3,
addlohiv2hi3, addhilov2hi3, ssaddlohiv2hi3, ssaddhilov2hi3,
mulhisi_ll, mulhisi_lh, mulhisi_hl, mulhisi_hh, ssnegv2hi2,
ssashiftv2hi3, ssashifthi3, lshiftv2hi3, lshifthi3, packv2hi,
flag_mulhi, flag_mulhisi_parts, flag_machi, flag_machi_acconly,
flag_macinithi, flag_macinit1hi, flag_mulv2hi, flag_mulv2hi_parts,
flag_macv2hi_parts, flag_macv2hi_parts_acconly,
flag_macinitv2hi_parts, flag_macinit1v2hi_parts): New patterns.

From-SVN: r113245

18 years agore PR tree-optimization/26865 (Segmentation fault with -std=c99 -O1 and alloca())
Jakub Jelinek [Tue, 25 Apr 2006 09:42:41 +0000 (11:42 +0200)]
re PR tree-optimization/26865 (Segmentation fault with -std=c99 -O1 and alloca())

PR tree-optimization/26865
* gcc.dg/pr26865.c: New test.

From-SVN: r113242

18 years agodwarf2out.c (verify_marks_clear): New.
Geoffrey Keating [Tue, 25 Apr 2006 05:56:36 +0000 (05:56 +0000)]
dwarf2out.c (verify_marks_clear): New.

* dwarf2out.c (verify_marks_clear): New.
(prune_unused_types): Call verify_marks_clear initially, not
prune_unmark_dies.

From-SVN: r113241

18 years agore PR c++/27292 (ICE on casts on bitfields)
Mark Mitchell [Tue, 25 Apr 2006 03:33:38 +0000 (03:33 +0000)]
re PR c++/27292 (ICE on casts on bitfields)

PR c++/27292
* typeck.c (decay_conversion): Don't adjust bitfield types.
(perform_integral_promotions): Treat bitfield enums as enums, not
as short integer types.
* tree.c (rvalue): Convert bitfields to their correct types.
PR c++/27292
* g++.dg/conversion/bitfield1.C: New test.
* g++.dg/conversion/bitfield2.C: Likewise.
* g++.dg/conversion/bitfield3.C: Likewise.

From-SVN: r113240

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

From-SVN: r113236

18 years ago* java/lang/natClass.cc (_Jv_getInterfaceMethod): Skip <clinit>.
Tom Tromey [Mon, 24 Apr 2006 21:28:36 +0000 (21:28 +0000)]
* java/lang/natClass.cc (_Jv_getInterfaceMethod): Skip <clinit>.

From-SVN: r113229

18 years agofloatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.
Julian Brown [Mon, 24 Apr 2006 21:24:27 +0000 (21:24 +0000)]
floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.

* floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.

From-SVN: r113228

18 years agortl.def (SS_ASHIFT, SS_NEG): New codes.
Bernd Schmidt [Mon, 24 Apr 2006 19:35:38 +0000 (19:35 +0000)]
rtl.def (SS_ASHIFT, SS_NEG): New codes.

* rtl.def (SS_ASHIFT, SS_NEG): New codes.
* doc/rtl.texi: Document them.
* simplify-rtx.c (simplify_unary_operation,
simplify_binary_operation_1): Don't abort when we see them.

From-SVN: r113227

18 years agorevert: configure.ac: Completely disregard languages that are not enabled.
Mark Mitchell [Mon, 24 Apr 2006 16:33:11 +0000 (16:33 +0000)]
revert: configure.ac: Completely disregard languages that are not enabled.

Revert:
2006-04-23  Mark Mitchell  <mark@codesourcery.com>
* configure.ac: Completely disregard languages that are not
enabled.
* configure: Regenerated.

From-SVN: r113226

18 years agolang.c (java_init): Handle flag_indirect_classes.
Andrew Haley [Mon, 24 Apr 2006 15:33:16 +0000 (15:33 +0000)]
lang.c (java_init): Handle flag_indirect_classes.

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

        * lang.c (java_init): Handle flag_indirect_classes.
        * jvgenmain.c: Use "class$$" instead of "class$".
        * mangle.c (java_mangle_decl): Accept RECORD_TYPEs sw well as
        DECLs.
        (mangle_class_field): Special case "class$$" as well as "class$".
        * constants.c (build_ref_from_constant_pool): If
        flag_indirect_classes, generate a ref into the heap.
        * decl.c (constants_field_decl_node,
        constants_data_field_decl_node): New.
        * class.c (build_static_class_ref): New.
        (build_classdollar_field): Factor out from build_class_ref().
        (make_field_value): Handle static fields in heap.
        (make_class_data): Make sure we get a static ref to class.
        Make class initializer const if flag_indirect_classes.
        (register_class): Build a class_ref for initialization if
        flag_indirect_classes.
        (emit_indirect_register_classes): New.

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

        * include/execution.h (struct _Jv_CompiledEngine): Define for
        compiled classes.
        * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Call
        _Jv_RegisterLibForGc.
        (_Jv_RegisterClasses_Counted): Likewise.
        (_Jv_NewClassFromInitializer): New.
        (_Jv_RegisterNewClasses): New.
        * sources.am: Regenerate.
        * boehm.cc (_Jv_GC_has_static_roots): new.
        (_Jv_InitGC): Call GC_register_has_static_roots_callback.
        (filename_node, find_file, _Jv_print_gc_store, new_node,
        _Jv_GC_has_static_roots, _Jv_RegisterLibForGc): New.
        * scripts/makemake.tcl: Add -fno-indirect-classes.
        * Makefile.in: Regenerate.
        * link.cc (resolve_pool_entry): Allocate constant pool.
        Allocate fields.

From-SVN: r113224

18 years agodyn_load.c (GC_has_static_roots): Declare.
Andrew Haley [Mon, 24 Apr 2006 13:40:21 +0000 (13:40 +0000)]
dyn_load.c (GC_has_static_roots): Declare.

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

        * dyn_load.c (GC_has_static_roots): Declare.
        (GC_register_dynlib_callback): Call GC_has_static_roots.

From-SVN: r113223

18 years agore PR tree-optimization/27236 (inliner creates an INDIRECT_REF without TREE_THIS_VOLA...
Andrew Pinski [Mon, 24 Apr 2006 09:06:51 +0000 (02:06 -0700)]
re PR tree-optimization/27236 (inliner creates an INDIRECT_REF without TREE_THIS_VOLATILE set for *a)

2006-04-24  Andrew Pinski  <pinskia@gcc.gnu.org>
Richard Guenther  <rguenther@suse.de>

PR tree-optimization/27236
* tree-inline.c (copy_body_r): Make sure to copy
TREE_THIS_VOLATILE flag.

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

Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r113221

18 years agore PR c++/19963 (ICE on invalid member declaration)
Volker Reichelt [Mon, 24 Apr 2006 08:38:05 +0000 (08:38 +0000)]
re PR c++/19963 (ICE on invalid member declaration)

PR c++/19963
* class.c (layout_class_type): Skip fields with invalid types.

* g++.dg/other/incomplete2.C: New test.

From-SVN: r113220

18 years agore PR middle-end/26869 (Segfault in find_lattice_value() for complex operands.)
Richard Guenther [Mon, 24 Apr 2006 08:21:41 +0000 (08:21 +0000)]
re PR middle-end/26869 (Segfault in find_lattice_value() for complex operands.)

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

PR middle-end/26869
* tree-complex.c (update_parameter_components): Don't handle
unused parameters which have no default def.

* gcc.dg/torture/pr26869.c: New testcase.

From-SVN: r113219

18 years agore PR tree-optimization/27218 (ICE in get_indirect_ref_operands, at tree-ssa-operands...
Andrew Pinski [Mon, 24 Apr 2006 08:17:42 +0000 (01:17 -0700)]
re PR tree-optimization/27218 (ICE in get_indirect_ref_operands, at tree-ssa-operands.c:1515, inlining produces non-gimple)

2006-04-24  Andrew Pinski  <pinskia@gcc.gnu.org>
Richard Guenther  <rguenther@suse.de>

PR tree-optimization/27218
* tree-inline.c (expand_call_inline): Strip useless type
conversions for the return slot address.

* g++.dg/tree-ssa/pr27218.C: New testcase.

Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r113218

18 years agocfgloop.h (struct loops): Remove unused field array.
Richard Guenther [Mon, 24 Apr 2006 08:01:33 +0000 (08:01 +0000)]
cfgloop.h (struct loops): Remove unused field array.

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

* cfgloop.h (struct loops): Remove unused field array.  Reorder
state after num.
(LOOP_PREFETCH): Remove.

From-SVN: r113217

18 years agore PR tree-optimization/22525 (tree based value profiling (-fprofile-use) produces...
Richard Guenther [Mon, 24 Apr 2006 07:58:53 +0000 (07:58 +0000)]
re PR tree-optimization/22525 (tree based value profiling (-fprofile-use) produces mismatch types in conditional)

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

PR tree-optimization/22525
* value-prof.c (tree_mod_pow2): Remove unnecessary temporary
variable, adjust types of generated expressions.

From-SVN: r113216

18 years agore PR c++/26912 (friend const member function specialization fails to compile)
Mark Mitchell [Mon, 24 Apr 2006 03:50:31 +0000 (03:50 +0000)]
re PR c++/26912 (friend const member function specialization fails to compile)

PR c++/26912
* cp-tree.h (build_this_parm): Declare.
(grok_method_quals): Remove.
(build_memfn_type): Declare.
(build_artificial_parm): Declare.
(do_friend): Remove quals parameter.
* decl.c (build_this_parm): New function.
(grokfndecl): Use it.  Do not pass quals to grokclassfn.
(grokdeclarator): Rename quals to memfn_quals.  Avoid allocating
unnecessary TYPE_DECLs.  Correct qualification of member function
types.  Tidy.
* method.c (implicitly_declare_fn): Use build_this_parm.
* friend.c (do_friend): Remove quals parameter.
* decl2.c (grok_method_quals): Remove.
(build_memfn_type): New function.
(build_artificial_parm): Give it external linkage.
(grokclassfn): Remove quals parameter.  Do not build "this"
PARM_DECL here.
PR c++/26912
* g++.dg/template/friend41.C: New test.

From-SVN: r113213

18 years agoMakefile.in (c-convert.o): Add dependency on $(TARGET_H)
H.J. Lu [Mon, 24 Apr 2006 03:04:29 +0000 (03:04 +0000)]
Makefile.in (c-convert.o): Add dependency on $(TARGET_H)

2006-04-23  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.in (c-convert.o): Add dependency on $(TARGET_H)
(tree-vect-patterns.o): Likewise.
(jump.o): Likewise.
(cselib.o): Likewise.
(loop-doloop.o): Likewise.
(regclass.o): Likewise.
(reload1.o): Likewise.
(explow.o): Replace target.h with $(TARGET_H).
(ipa-prop.o): Likewise.
(ipa-cp.o): Likewise.
(ipa-inline.o): Likewise.
(reorg.o): Likewise.
(reg-stack.o): Likewise.

From-SVN: r113212

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

From-SVN: r113210

18 years agopr15551.C: Include cstdio.
David Edelsohn [Sun, 23 Apr 2006 23:58:36 +0000 (23:58 +0000)]
pr15551.C: Include cstdio.

        * g++.dg/opt/pr15551.C: Include cstdio.
        (main): Use remove instead of unlink.

From-SVN: r113206

18 years agoMake-lang.in (treelang.check): Don't set and pass TRANSFORM.
Matthias Klose [Sun, 23 Apr 2006 18:15:34 +0000 (18:15 +0000)]
Make-lang.in (treelang.check): Don't set and pass TRANSFORM.

2006-04-22  Matthias Klose  <doko@debian.org>

        * Make-lang.in(treelang.check): Don't set and pass TRANSFORM.

From-SVN: r113201

18 years agotree-tailcall.c (pass_tail_recursion): Use gate_tail_calls too.
Eric Botcazou [Sun, 23 Apr 2006 18:14:13 +0000 (18:14 +0000)]
tree-tailcall.c (pass_tail_recursion): Use gate_tail_calls too.

* tree-tailcall.c (pass_tail_recursion): Use gate_tail_calls too.

testsuite/
* gcc.dg/sibcall-7.c: New test.
* gcc.dg/tree-ssa/tailrecursion-1.c: Pass -foptimize-sibling-calls.
* gcc.dg/tree-ssa/tailrecursion-2.c: Likewise.
* gcc.dg/tree-ssa/tailrecursion-3.c: Likewise.
* gcc.dg/tree-ssa/tailrecursion-4.c: Likewise.
* gcc.dg/tree-ssa/tailrecursion-5.c: Likewise.

From-SVN: r113200

18 years agore PR c++/26534 ([4.1] bitfield wrong optimize)
Mark Mitchell [Sun, 23 Apr 2006 18:04:33 +0000 (18:04 +0000)]
re PR c++/26534 ([4.1] bitfield wrong optimize)

2006-04-23  Mark Mitchell  <mark@codesourcery.com>

PR c++/26534
* c-common.h (c_build_bitfield_integer_type): Declare.
* c-decl.c (c_build_bitfield_integer_type): Move to ...
* c-common.c (c_build_bitfield_integer_type): ... here.

2006-04-23  Mark Mitchell  <mark@codesourcery.com>

PR c++/26534
* cp-tree.h (is_bitfield_expr_with_lowered_type): New function.
* typeck.c (is_bitfield_expr_with_lowered_type): New function.
(decay_conversion): Convert bitfield expressions to the correct
type.
(build_modify_expr): Remove spurious conversions.
* class.c (layout_class_type): Modify the type of bitfields to
indicate a limited range.
* call.c (standard_conversion): Adjust the type of bitfield
expressions used in an rvalue context.
(build_conditional_expr): Likewise.

2006-04-23  Mark Mitchell  <mark@codesourcery.com>

PR c++/26534
* g++.dg/opt/bitfield1.C: New test.
* g++.dg/compat/abi/bitfield1_main.C: Add -w.
* g++.dg/compat/abi/bitfield1_x.C: Likewise.
* g++.dg/compat/abi/bitfield1_y.C: Likewise.
* g++.dg/compat/abi/bitfield2_main.C: Likewise.
* g++.dg/compat/abi/bitfield2_x.C: Likewise.
* g++.dg/compat/abi/bitfield2_y.C: Likewise.
* g++.dg/abi/bitfield1.C: Add dg-warning markers.
* g++.dg/abi/bitfield2.C: Likewise.
* g++.dg/init/bitfield1.C: Likewise.

From-SVN: r113199

18 years agore PR target/21283 (ICE with doubles)
Roger Sayle [Sun, 23 Apr 2006 17:44:46 +0000 (17:44 +0000)]
re PR target/21283 (ICE with doubles)

PR target/21283
* config/fr30/fr30.md (define_split): Avoid calling gen_lowpart on
a SImode SUBREG of a floating point register after no_new_pseudos.

From-SVN: r113198

18 years agofr30.md (addsi_small_int): Use REGNO_PTR_FRAME_P to identify potentially eliminable...
Roger Sayle [Sun, 23 Apr 2006 17:39:54 +0000 (17:39 +0000)]
fr30.md (addsi_small_int): Use REGNO_PTR_FRAME_P to identify potentially eliminable registers to...

* config/fr30/fr30.md (addsi_small_int): Use REGNO_PTR_FRAME_P to
identify potentially eliminable registers to additionally catch
VIRTUAL_INCOMING_ARGS_REGNUM.
(addsi3): Update the conditions on when to use addsi_small_int.

From-SVN: r113197

18 years agore PR target/16641 (fr30-elf-gcc compiler error when building newlib-1.12.0)
Roger Sayle [Sun, 23 Apr 2006 17:25:30 +0000 (17:25 +0000)]
re PR target/16641 (fr30-elf-gcc compiler error when building newlib-1.12.0)

PR target/16641
* config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Check REGNO for
STACK_POINTER_RTX and FRAME_POINTER_RTX instead of comparing the
rtx to stack_pointer_rtx or frame_pointer_rtx directly.

From-SVN: r113196

18 years agore PR libstdc++/27199 (ptrdiff_t and size_t outside of namespace std)
Marc Glisse [Sun, 23 Apr 2006 14:54:26 +0000 (14:54 +0000)]
re PR libstdc++/27199 (ptrdiff_t and size_t outside of namespace std)

2006-04-23  Marc Glisse  <marc.glisse@normalesup.org>

PR libstdc++/27199
* ext/pool_allocator.h: Add using declarations for size_t, ptrdiff_t.
* ext/bitmap_allocator.h: Likewise; qualify with std::.
* ext/new_allocator.h: Likewise.
* ext/malloc_allocator.h: Likewise.
* ext/array_allocator.h: Likewise.
* ext/mt_allocator.h: Likewise.
* ext/functional: Likewise for size_t.
* ext/debug_allocator.h: Likewise.
* bits/char_traits.h: Qualify with std:: size_t.
* debug/hash_multimap.h: Likewise.

From-SVN: r113195

18 years agore PR fortran/25099 (Conformance of arguments to ELEMENTAL subroutines)
Paul Thomas [Sun, 23 Apr 2006 11:56:37 +0000 (11:56 +0000)]
re PR fortran/25099 (Conformance of arguments to ELEMENTAL subroutines)

2006-04-23  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/25099
* resolve.c (resolve_call): Check conformity of elemental
subroutine actual arguments.

2006-04-23  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/25099
* gfortran.dg/elemental_subroutine_4.f90: New test.
* gfortran.dg/assumed_size_refs_1.f90: Add error to non-conforming
call sub (m, x).

From-SVN: r113194

18 years agolwg-active.html, [...]: Import Revision 42.
Paolo Carlini [Sun, 23 Apr 2006 11:44:40 +0000 (11:44 +0000)]
lwg-active.html, [...]: Import Revision 42.

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

* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 42.

From-SVN: r113193

18 years agofold-const.c (range_predecessor): Use operand_equal_p as the predicate for equality.
Eric Botcazou [Sun, 23 Apr 2006 09:06:32 +0000 (09:06 +0000)]
fold-const.c (range_predecessor): Use operand_equal_p as the predicate for equality.

* fold-const.c (range_predecessor): Use operand_equal_p
as the predicate for equality.
(range_successor): Likewise.

From-SVN: r113192

18 years agore PR libfortran/20257 (Fortran runtime error: End of record occurs when writing...
Jerry DeLisle [Sun, 23 Apr 2006 02:04:58 +0000 (02:04 +0000)]
re PR libfortran/20257 (Fortran runtime error: End of record occurs when writing large arrays)

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

PR libgfortran/20257
* io/io.h: Add prototypes for get_internal_unit and free_internal_unit.
* io/unit.c (get_internal_unit): Initialize unit number, not zero.
(free_internal_unit): New function to consolidate freeing memory.
(get_unit): Initialize internal_unit_desc to NULL when unit is
external.
* io/unix.c (mem_close): Check for not NULL before freeing memory.
* io/transfer.c (read_block): Reset bytes_left and skip error if unit
is preconnected and default record length is reached.
(read_block_direct): Ditto.
(write_block): Ditto.
(write_buf): Ditto.
(data_transfer_init): Only flush if not internal unit.
(finalize_transfer): Ditto and delete code to free memory used by
internal units.
(st_read_done): Use new function - free_internal_unit.
(st_write_done): Use new function - free_internal unit.

From-SVN: r113190

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

From-SVN: r113187

18 years agoconfigure.ac: Weaken the check for MMAP.
Andreas Tobler [Sat, 22 Apr 2006 22:17:26 +0000 (00:17 +0200)]
configure.ac: Weaken the check for MMAP.

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

* configure.ac: Weaken the check for MMAP.
* configure: Rebuilt.
* include/config.h.in: Likewise.

From-SVN: r113182

18 years agoREADME: Remove notice about 'Crazy Comments'.
Andreas Tobler [Sat, 22 Apr 2006 21:17:35 +0000 (23:17 +0200)]
README: Remove notice about 'Crazy Comments'.

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

* README: Remove notice about 'Crazy Comments'.
* src/debug.c: Remove lint directives. Cleanup white spaces.
* src/java_raw_api.c: Likewise.
* src/prep_cif.c: Likewise.
* src/raw_api.c: Likewise.
* src/ffitest.c: Delete. No longer needed, all test cases migrated
to the testsuite.
* src/arm/ffi.c: Remove lint directives.
* src/m32r/ffi.c: Likewise.
* src/pa/ffi.c: Likewise.
* src/powerpc/ffi.c: Likewise.
* src/powerpc/ffi_darwin.c: Likewise.
* src/sh/ffi.c: Likewise.
* src/sh64/ffi.c: Likewise.
* src/x86/ffi.c: Likewise.
* testsuite/libffi.call/float2.c: Likewise.
* testsuite/libffi.call/promotion.c: Likewise.
* testsuite/libffi.call/struct1.c: Likewise.

From-SVN: r113181

18 years agorevert: op-common.h: Fix a typo.
Kazu Hirata [Sat, 22 Apr 2006 16:45:28 +0000 (16:45 +0000)]
revert: op-common.h: Fix a typo.

Revert:
* config/soft-fp/op-common.h: Fix a typo.

From-SVN: r113180

18 years agore PR libmudflap/26864 (multithreaded mudflap not working)
Frank Ch. Eigler [Sat, 22 Apr 2006 16:22:54 +0000 (16:22 +0000)]
re PR libmudflap/26864 (multithreaded mudflap not working)

2006-04-22  Frank Ch. Eigler  <fche@redhat.com>

PR libmudflap/26864
* common.opt (flag_mudflap_threads): Overload flag_mudflap.
* tree-mudflap.c (flag_mudflap_threads): Derive from flag_mudflap.

From-SVN: r113179

18 years agoop-common.h, [...]: Fix comment typos.
Kazu Hirata [Sat, 22 Apr 2006 16:19:56 +0000 (16:19 +0000)]
op-common.h, [...]: Fix comment typos.

* config/soft-fp/op-common.h, double-int.h, tree-ssa-dom.c:
Fix comment typos.
* doc/tm.texi: Fix a typo.

From-SVN: r113178

18 years ago* decl.c: Fix comment typos.
Kazu Hirata [Sat, 22 Apr 2006 16:12:34 +0000 (16:12 +0000)]
* decl.c: Fix comment typos.

From-SVN: r113175

18 years ago* gcc.c-torture/compile/20060421-1.c: New testcase.
Joseph Myers [Sat, 22 Apr 2006 15:31:09 +0000 (16:31 +0100)]
* gcc.c-torture/compile/20060421-1.c: New testcase.

From-SVN: r113173

18 years agodwarf2out.c (struct die_struct): Document that die_sib makes a circular linked list.
Geoffrey Keating [Sat, 22 Apr 2006 08:50:36 +0000 (08:50 +0000)]
dwarf2out.c (struct die_struct): Document that die_sib makes a circular linked list.

* dwarf2out.c (struct die_struct): Document that die_sib makes
a circular linked list.
(FOR_EACH_CHILD): New.
(reverse_die_lists): Delete.
(reverse_all_dies): Delete.
(add_dwarf_attr): Correct documentation.
(remove_child_with_prev): New.
(remove_child_TAG): Update for change to die_struct, use
remove_child_with_prev.
(add_child_die): Update for change to die_struct.
(splice_child_die): Use remove_child_with_prev and add_child_die.
(print_die): Use FOR_EACH_CHILD.
(die_checksum): Likewise.
(assign_symbol_names): Likewise.
(output_location_lists): Likewise.
(build_abbrev_table): Likewise.
(calc_die_sizes): Likewise.
(mark_dies): Likewise.
(unmark_dies): Likewise.
(unmark_all_dies): Likewise.
(output_die): Likewise.
(prune_unused_types_mark): Likewise.
(prune_unused_types_walk): Likewise.
(same_die_p): Update for change to die_struct.
(break_out_includes): Likewise.
(prune_unused_types_prune): Likewise.
(add_sibling_attributes): Use FOR_EACH_CHILD, simplify logic.
(prune_unmark_dies): Use FOR_EACH_CHILD, don't clear die_mark if
it's already clear.
(dwarf2out_finish): Don't call reverse_all_dies.

From-SVN: r113171

18 years agore PR fortran/26769 (Implement transpose() and reshape() for real instead of using...
Jakub Jelinek [Sat, 22 Apr 2006 07:08:58 +0000 (09:08 +0200)]
re PR fortran/26769 (Implement transpose() and reshape() for real instead of using integer)

PR fortran/26769
* iresolve.c (gfc_resolve_reshape): Use reshape_r16 for real(16).
(gfc_resolve_transpose): Use transpose_r16 for real(16).

* Makefile.am (i_transpose_c): Add generated/transpose_r16.c.
(i_reshape_c): Add generated/reshape_r16.c.
* Makefile.in: Regenerated.
* generated/transpose_r16.c: Generated new file.
* generated/redhape_r16.c: Generated new file.

From-SVN: r113169

18 years agoCommit ChangeLog entries.
Eric Christopher [Sat, 22 Apr 2006 01:33:34 +0000 (01:33 +0000)]
Commit ChangeLog entries.

From-SVN: r113168

18 years agodecl.c: Fix typo in function name.
Eric Christopher [Sat, 22 Apr 2006 01:23:09 +0000 (01:23 +0000)]
decl.c: Fix typo in function name.

2006-04-21  Eric Christopher  <echristo@apple.com>

* decl.c: Fix typo in function name.

2006-04-21  Eric Christopher  <echristo@apple.com>

* df-core.c, tree-outof-ssa.c, config/i386/i386.c: Fix typos
in comments and function names.

From-SVN: r113167

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

From-SVN: r113162

18 years agore PR c/25875 (ICE: segmentation fault)
Volker Reichelt [Fri, 21 Apr 2006 23:02:26 +0000 (23:02 +0000)]
re PR c/25875 (ICE: segmentation fault)

PR c/25875
* c-typeck.c (digest_init): Robustify.

* gcc.dg/init-bad-4.c: New test.

From-SVN: r113153

18 years ago* c-typeck.c (pop_init_level): Simplify.
Volker Reichelt [Fri, 21 Apr 2006 22:58:28 +0000 (22:58 +0000)]
* c-typeck.c (pop_init_level): Simplify.

From-SVN: r113152

18 years agode.po, [...]: Update.
Joseph Myers [Fri, 21 Apr 2006 19:49:54 +0000 (20:49 +0100)]
de.po, [...]: Update.

* de.po, es.po, sv.po: Update.
* zh_TW.po: New.

From-SVN: r113148

18 years ago* de.po: Update.
Joseph Myers [Fri, 21 Apr 2006 19:45:50 +0000 (20:45 +0100)]
* de.po: Update.

From-SVN: r113146

18 years ago* config/pa/t-pa64: Add dependencies on $(GCC_PASSES).
Steve Ellcey [Fri, 21 Apr 2006 17:39:15 +0000 (17:39 +0000)]
* config/pa/t-pa64: Add dependencies on $(GCC_PASSES).

From-SVN: r113141

18 years agoarm.c (arm_override_options): Error on iWMMXt and hardware floating point.
Paul Brook [Fri, 21 Apr 2006 17:05:51 +0000 (17:05 +0000)]
arm.c (arm_override_options): Error on iWMMXt and hardware floating point.

2006-04-21  Paul Brook  <paul@codesourcery.com>

gcc/
* config/arm/arm.c (arm_override_options): Error on iWMMXt and
hardware floating point.
gcc/testsuite/
* gcc.dg/arm-vfp1.c: Skip on iWMMXt cpus.

From-SVN: r113138

18 years agors6000.h (REG_CLASS_CONTENTS): Add sfp to NON_FLOAT_REGS.
David Edelsohn [Fri, 21 Apr 2006 14:10:22 +0000 (14:10 +0000)]
rs6000.h (REG_CLASS_CONTENTS): Add sfp to NON_FLOAT_REGS.

* config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Add sfp to
NON_FLOAT_REGS.

From-SVN: r113136

18 years ago* config/sh/t-elf (EXTRA_MULTILIB_PARTS): Include OPT_EXTRA_PARTS.
Nick Clifton [Fri, 21 Apr 2006 08:10:42 +0000 (08:10 +0000)]
* config/sh/t-elf (EXTRA_MULTILIB_PARTS): Include OPT_EXTRA_PARTS.

From-SVN: r113135

18 years agore PR fortran/27122 (binary operator functions should require intent(in))
Paul Thomas [Fri, 21 Apr 2006 05:10:22 +0000 (05:10 +0000)]
re PR fortran/27122 (binary operator functions should require intent(in))

2006-04-21 Paul Thomas <pault@gcc.gnu.org>

PR fortran/27122
* resolve.c (resolve_function): Remove general restriction on auto
character length function interfaces.
(gfc_resolve_uops): Check restrictions on defined operator
procedures.
(resolve_types): Call the check for defined operators.

PR fortran/27113
* trans-array.c (gfc_trans_array_constructor_subarray): Remove
redundant gfc_todo_error.
(get_array_ctor_var_strlen): Remove typo in enum.

2006-04-21 Paul Thomas <pault@gcc.gnu.org>

PR fortran/27122
* gfortran.dg/defined_operators_1.f90: New test.
* gfortran.dg/assumed_charlen_function_1.f90: Add new error and
remove old ones associated, incorrectly, with Note 5.46.

PR fortran/27113
* gfortran.dg/character_array_constructor_1.f90: New test.

From-SVN: r113133

18 years agore PR target/27230 (many obj-c++.dg tests ICE in rs6000_output_function_epilogue)
Alan Modra [Fri, 21 Apr 2006 01:52:13 +0000 (01:52 +0000)]
re PR target/27230 (many obj-c++.dg tests ICE in rs6000_output_function_epilogue)

PR target/27230
* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use
C++ lang type in traceback table for Objective-C++.

* config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Update comment.

From-SVN: r113130

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

From-SVN: r113128

18 years agore PR libgcj/27170 (Deadlock in garbage collector)
Bryce McKinlay [Thu, 20 Apr 2006 23:47:56 +0000 (23:47 +0000)]
re PR libgcj/27170 (Deadlock in garbage collector)

        PR libgcj/27170
        * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
        dlopen(). From Anthony Green.

From-SVN: r113123

18 years agoi386.c (asm_preferred_eh_data_format): Reformat.
H.J. Lu [Thu, 20 Apr 2006 16:23:57 +0000 (16:23 +0000)]
i386.c (asm_preferred_eh_data_format): Reformat.

2006-04-20  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.c (asm_preferred_eh_data_format): Reformat.

From-SVN: r113122

18 years agore PR c++/26789 (ICE on incomplete struct with -fmudflap)
Volker Reichelt [Thu, 20 Apr 2006 16:19:21 +0000 (16:19 +0000)]
re PR c++/26789 (ICE on incomplete struct with -fmudflap)

PR mudflap/26789
* tree-mudflap.c (mudflap_finish_file): Skip function when there
were errors.  Remove check for erroneous objects.

From-SVN: r113121

18 years agore PR tree-optimization/26854 (Inordinate compile times on large routines)
Jeff Law [Thu, 20 Apr 2006 16:13:12 +0000 (10:13 -0600)]
re PR tree-optimization/26854 (Inordinate compile times on large routines)

PR tree-optimization/26854
* tree-ssa-dse.c (dse_optimize_stmt): Avoid num_imm_uses when
checking for zero or one use.
* tree-ssa-dom.c (propagate_rhs_into_lhs): Similarly.
* tree-cfgcleanup.c (merge_phi_nodes): Similarly.
* tree-ssa-reassoc.c (negate_value): Similarly.
(reassociate_bb): Similarly.

From-SVN: r113120

18 years agore PR libgcj/21941 (NPE in Socket.connect())
Tom Tromey [Thu, 20 Apr 2006 15:46:40 +0000 (15:46 +0000)]
re PR libgcj/21941 (NPE in Socket.connect())

PR libgcj/21941:
* gnu/java/net/natPlainDatagramSocketImplPosix.cc (send): Throw
UnknownHostException if needed.
* gnu/java/net/natPlainSocketImplPosix.cc (connect): Throw
UnknownHostException if needed.

From-SVN: r113118

18 years agoc-pretty-print.c (pp_c_direct_abstract_declarator): Print TYPE_MAX_VALUE (TYPE_DOMAIN...
Jakub Jelinek [Thu, 20 Apr 2006 09:04:26 +0000 (11:04 +0200)]
c-pretty-print.c (pp_c_direct_abstract_declarator): Print TYPE_MAX_VALUE (TYPE_DOMAIN (t)) + 1 for ARRAY_TYPE rather than plain...

* c-pretty-print.c (pp_c_direct_abstract_declarator): Print
TYPE_MAX_VALUE (TYPE_DOMAIN (t)) + 1 for ARRAY_TYPE rather
than plain TYPE_MAX_VALUE (TYPE_DOMAIN (t)).

* gcc.dg/20060419-1.c: New test.

From-SVN: r113112

18 years agors6000.c (rs6000_gimplify_va_arg): Consume all fp regs if the last fp arg doesn't...
Alan Modra [Thu, 20 Apr 2006 07:04:00 +0000 (07:04 +0000)]
rs6000.c (rs6000_gimplify_va_arg): Consume all fp regs if the last fp arg doesn't fit in regs.

* config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Consume all
fp regs if the last fp arg doesn't fit in regs.

From-SVN: r113111

18 years agore PR target/27182 (SH: wrong-code generation)
Kaz Kojima [Thu, 20 Apr 2006 01:54:20 +0000 (01:54 +0000)]
re PR target/27182 (SH: wrong-code generation)

PR target/27182
* config/sh/sh.md (movsicc_true+3): Tweak condition for the case
that the last insn has the REG_INC note.

From-SVN: r113109

18 years agore PR c/26774 (Out of memory compiling 9-line Delta-reduced Linux kernel driver msp34...
Carlos O'Donell [Thu, 20 Apr 2006 00:21:51 +0000 (00:21 +0000)]
re PR c/26774 (Out of memory compiling 9-line Delta-reduced Linux kernel driver msp3400.c)

gcc/

2006-04-19  Carlos O'Donell  <carlos@codesourcery.com>
    Nathan Sidwell  <nathan@codesourcery.com>

PR c/26774
* stor-layout.c (update_alignment_for_field): Do not align
ERROR_MARK nodes.
(place_union_field): Place union field at the start of the union.
(place_field): Move ERROR_MARK check later, and use the current
allocation position to maintain monotonicity.

gcc/testsuite/

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

PR c/26774
* gcc.dg/struct-parse-1.c: New test case.

Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>
From-SVN: r113107

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

From-SVN: r113105

18 years agoMakefile.in: Rebuilt.
Tom Tromey [Wed, 19 Apr 2006 23:05:14 +0000 (23:05 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (CLEANFILES): Removed all_java_filelist_files,
all_java_deps_files.

From-SVN: r113101

18 years agore PR libstdc++/26424 (tr1/unordered vs 64-bit machines)
Paolo Carlini [Wed, 19 Apr 2006 22:58:23 +0000 (22:58 +0000)]
re PR libstdc++/26424 (tr1/unordered vs 64-bit machines)

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

PR libstdc++/26424
* include/tr1/hashtable (X<>::primes): Extend for 64-bit machines.
(X<>::n_primes): Adjust.
(prime_rehash_policy::next_bkt, bkt_for_elements, need_rehash): Adjust.

From-SVN: r113100

18 years agore PR c++/26558 (segfault on syntax error)
Volker Reichelt [Wed, 19 Apr 2006 22:03:24 +0000 (22:03 +0000)]
re PR c++/26558 (segfault on syntax error)

PR c++/26558
* parser.c (cp_parser_class_name): Check for invalid typenames.
Rearrange code.

* g++.dg/parse/template19.C: New test.

From-SVN: r113096

18 years agore PR c++/26789 (ICE on incomplete struct with -fmudflap)
Volker Reichelt [Wed, 19 Apr 2006 21:47:03 +0000 (21:47 +0000)]
re PR c++/26789 (ICE on incomplete struct with -fmudflap)

PR mudflap/26789
* testsuite/libmudflap.c++/error1-frag.cxx: New test.

PR mudflap/26790
* testsuite/libmudflap.c++/error2-frag.cxx: New test.

From-SVN: r113095

18 years agoFix PR numbers.
Volker Reichelt [Wed, 19 Apr 2006 21:42:09 +0000 (21:42 +0000)]
Fix PR numbers.

From-SVN: r113094

18 years agore PR c++/26739 (ICE in g++.old-deja/g++.pt/friend36.C)
Volker Reichelt [Wed, 19 Apr 2006 18:07:19 +0000 (18:07 +0000)]
re PR c++/26739 (ICE in g++.old-deja/g++.pt/friend36.C)

PR c++/26739
* pt.c (tsubst_friend_function): Return early if
pushdecl_namespace_level fails.

* g++.old-deja/g++.pt/friend36.C: Adjust error markers.

From-SVN: r113090

18 years agore PR c++/26036 (Treating a class object as a function with member variables causes...
Volker Reichelt [Wed, 19 Apr 2006 17:36:59 +0000 (17:36 +0000)]
re PR c++/26036 (Treating a class object as a function with member variables causes hang)

PR c++/26036
* typeck.c (convert_arguments): Return error_mark_node instead of
error_mark_list.
* cp-tree.h (error_mark_list): Remove declaration.
* decl.c (error_mark_list): Remove definition.
(cxx_init_decl_processing): Do not initialize error_mark_list.

* g++.dg/expr/call3.C: New test.

From-SVN: r113087

18 years agore PR c++/10385 (Internal compiler error in build_up_reference, at cp/cvt.c:353,...
Volker Reichelt [Wed, 19 Apr 2006 17:15:54 +0000 (17:15 +0000)]
re PR c++/10385 (Internal compiler error in build_up_reference, at cp/cvt.c:353, on invalid dynamic_cast)

PR c++/10385
* rtti.c (build_dynamic_cast_1): Check for invalid conversions
before calling convert_to_reference.
* cvt.c (convert_to_reference): Assert that reftype is a
REFERENCE_TYPE.

* g++.dg/conversion/dynamic1.C: New test.

From-SVN: r113084

18 years agonatFileChannelPosix.cc (write): Properly handle EINTR.
Tom Tromey [Wed, 19 Apr 2006 17:01:53 +0000 (17:01 +0000)]
natFileChannelPosix.cc (write): Properly handle EINTR.

* gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
handle EINTR.

From-SVN: r113082

18 years agore PR c++/27102 (ICE with invalid class name in function template)
Mark Mitchell [Wed, 19 Apr 2006 16:58:23 +0000 (16:58 +0000)]
re PR c++/27102 (ICE with invalid class name in function template)

PR c++/27102
* class.c (currently_open_class): Tidy.
* decl.c (grokdeclarator): If we encounter an erroneous
declarator, assume that we have already issued an error message
and return.  Return error_mark_node instead of NULL_TREE in more
places.  Issue errors about function definitions that do not have
a function declarator.  Check for complete types for all function
definitions.
* cp-tree.h (cp_error_declarator): Remove.
(currently_open_class): Change return type.
* parser.c (cp_parser_id_expression): Add optional_p parameter.
(cp_parser_parse_diagnose_invalid_type_name): Adjust calls.
(cp_parser_id_expression): Likewise.
(cp_parser_unqualified_id): If the name is optional, return
NULL_TREE.
(cp_parser_postfix_dot_deref_expression): Adjust calls.
(cp_parser_type_parameter): Likewise.
(cp_parser_unqualified_id): Likewise.
(cp_parser_direct_declarator): Likewise.
(cp_parser_declarator_id): Add optional_p parameter.
(cp_parser_function_definition_from_specifiers_and_declarator):
Assume that start_function indicates failure only if it has issued
an error.
(cp_parser_omp_var_list_no_open): Adjust calls.

PR c++/27102
* g++.dg/template/crash35.C: Tweak error markers.
* g++.dg/template/crash46.C: New test.
* g++.old-deja/g++.brendan/friend4.C: Tweak error markers.
* g++.old-deja/g++.pt/incomplete1.C: Likewise.

From-SVN: r113081

18 years agodominance.c: Include timevar.h.
Zdenek Dvorak [Wed, 19 Apr 2006 12:48:35 +0000 (14:48 +0200)]
dominance.c: Include timevar.h.

* dominance.c: Include timevar.h.
(calculate_dominance_info): Use TV_DOMINANCE.
* timevar.def (TV_DOMINANCE): New timevar.
* Makefile.in (dominance.o): Add TIMEVAR_H dependency.

From-SVN: r113075

18 years agoPR reference added to ChangeLog
Andreas Krebbel [Wed, 19 Apr 2006 11:56:18 +0000 (11:56 +0000)]
PR reference added to ChangeLog

From-SVN: r113073

18 years agoifcvt.c (noce_emit_move_insn): Call store_bit_field if the resulting move would be...
Andreas Krebbel [Wed, 19 Apr 2006 11:45:41 +0000 (11:45 +0000)]
ifcvt.c (noce_emit_move_insn): Call store_bit_field if the resulting move would be an INSV insn.

2006-04-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* ifcvt.c (noce_emit_move_insn): Call store_bit_field if the resulting
move would be an INSV insn.
(noce_process_if_block): Don't optimize if the destination is a
ZERO_EXTRACT which can't be handled by noce_emit_move_insn.

2006-04-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* gcc.c-torture/compile/20060419-1.c: Added.

From-SVN: r113072

18 years agos390.md: Add comments with the instructions emitted by an insn pattern if macros...
Andreas Krebbel [Wed, 19 Apr 2006 10:42:19 +0000 (10:42 +0000)]
s390.md: Add comments with the instructions emitted by an insn pattern if macros are used.

2006-04-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.md: Add comments with the instructions emitted
by an insn pattern if macros are used.

From-SVN: r113071

18 years agoconfigure.in (m32c): Build libstdc++-v3.
DJ Delorie [Wed, 19 Apr 2006 00:56:33 +0000 (20:56 -0400)]
configure.in (m32c): Build libstdc++-v3.

* configure.in (m32c): Build libstdc++-v3.  Pass flags to
reference libgloss so that libssp can be built in a combined
tree.
* configure: Regenerate.

From-SVN: r113066

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

From-SVN: r113064

18 years agore PR rtl-optimization/26026 (power of 2 mod missing optimisation)
Alan Modra [Tue, 18 Apr 2006 23:45:47 +0000 (23:45 +0000)]
re PR rtl-optimization/26026 (power of 2 mod missing optimisation)

PR rtl-optimization/26026
* fold-const.c (fold_binary): Optimize div and mod where the divisor
is a known power of two shifted left a variable amount.

From-SVN: r113060

18 years agodwarf2out.c (prune_unused_types_update_strings): Don't add strings to hash table...
Geoffrey Keating [Tue, 18 Apr 2006 21:52:49 +0000 (21:52 +0000)]
dwarf2out.c (prune_unused_types_update_strings): Don't add strings to hash table twice when the debug_str section has SECTION_MERGE.

* dwarf2out.c (prune_unused_types_update_strings): Don't add strings
to hash table twice when the debug_str section has SECTION_MERGE.

From-SVN: r113057

18 years agosoft-fp: New directory.
Joseph Myers [Tue, 18 Apr 2006 20:50:45 +0000 (21:50 +0100)]
soft-fp: New directory.

* config/soft-fp: New directory.  From glibc.
* config/soft-fp/t-softfp: New.
* config/soft-fp/README: New.
* mklibgcc.in: Handle LIB2FUNCS_EXCLUDE.
* Makefile.in (LIB2FUNCS_EXCLUDE, SFP_MACHINE): New.
(libgcc.mk): Pass LIB2FUNCS_EXCLUDE.
(LIBGCC_DEPS): Add $(SFP_MACHINE).
* config.gcc: Use rs6000/t-fprules-fpbit or
rs6000/t-fprules-softfp and soft-fp/t-softfp together with
rs6000/t-fprules.
* config/rs6000/sfp-machine.h: New.  Based on glibc.
* config/rs6000/t-fprules-fpbit, config/rs6000/t-fprules-softfp:
New.
* config/rs6000/t-fprules: Remove fp-bit rules.
* config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Use +=.
* config/rs6000/t-linux64: Likewise.  Remove duplicates from
LIB2FUNCS_EXTRA.  Remove fp-bit rules.
(softfp_wrap_start, softfp_wrap_end): New.

From-SVN: r113056

18 years ago* config/m32c/m32c.h (PTRDIFF_TYPE): Define.
DJ Delorie [Tue, 18 Apr 2006 18:58:17 +0000 (14:58 -0400)]
* config/m32c/m32c.h (PTRDIFF_TYPE): Define.

From-SVN: r113054

18 years agoparse.c (next_free): Use consistent error string between free-form and fixed-form...
Bernhard Fischer [Tue, 18 Apr 2006 17:58:41 +0000 (19:58 +0200)]
parse.c (next_free): Use consistent error string between free-form and fixed-form for illegal...

fortran/

* parse.c (next_free): Use consistent error string between
free-form and fixed-form for illegal statement label of zero.
(next_fixed): Use consistent warning string between free-form
and fixed-form for statement labels for empty statements.

testsuite/

* gfortran.dg/label_1.f90: Adjust dg-error.

From-SVN: r113053

18 years ago* doc/invoke.texi (-Wuninitialized): Clarify -O connection.
Devang Patel [Tue, 18 Apr 2006 16:06:32 +0000 (09:06 -0700)]
* doc/invoke.texi (-Wuninitialized): Clarify -O connection.

From-SVN: r113048

18 years ago* trans-io.c (gfc_build_io_library_fndecls): Align pad.
Steve Ellcey [Tue, 18 Apr 2006 16:05:42 +0000 (16:05 +0000)]
* trans-io.c (gfc_build_io_library_fndecls): Align pad.

From-SVN: r113047

18 years agot-symbian: Add rule to build sh-c.o
Nick Clifton [Tue, 18 Apr 2006 14:48:36 +0000 (14:48 +0000)]
t-symbian: Add rule to build sh-c.o

* config/sh/t-symbian: Add rule to build sh-c.o
* config/sh/symbian.c (sh_symbian_mark_dllexport): Replace use
  of DECL_NON_ADDR_CONST_P with DECL_DLLIMPORT_P.
  (sh_symbian_encode_section_info): Likewise.

From-SVN: r113042

18 years agobuiltins.c (expand_builtin_strcmp): Cover label definition of do_libcall with HAVE_cm...
Andreas Krebbel [Tue, 18 Apr 2006 13:56:51 +0000 (13:56 +0000)]
builtins.c (expand_builtin_strcmp): Cover label definition of do_libcall with HAVE_cmpstrnsi.

2006-04-18  Andreas Krebbel  <krebbel1@de.ibm.com>

* builtins.c (expand_builtin_strcmp): Cover label definition of
do_libcall with HAVE_cmpstrnsi.

From-SVN: r113039

18 years agoindex.html ([5.5]): Adjust to mention function objects and reference_wrapper; minor...
Paolo Carlini [Tue, 18 Apr 2006 12:34:41 +0000 (12:34 +0000)]
index.html ([5.5]): Adjust to mention function objects and reference_wrapper; minor tweaks.

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

* docs/html/faq/index.html ([5.5]): Adjust to mention function
objects and reference_wrapper; minor tweaks.
* docs/html/faq/index.txt: Regenerate.

From-SVN: r113031

18 years agofunction.c (temp_slots_at_level, [...]): Use VEC instead of VARRAY.
Kazu Hirata [Tue, 18 Apr 2006 12:32:11 +0000 (12:32 +0000)]
function.c (temp_slots_at_level, [...]): Use VEC instead of VARRAY.

* function.c (temp_slots_at_level, max_slot_level): Use VEC
instead of VARRAY.
* function.h (temp_slot_p): New.
(function): Change the type of x_used_temp_slots to
VEC(temp_slot_p,gc) *.

From-SVN: r113029

18 years ago* config/mmix/mmix.h (OPTIMIZATION_OPTIONS): Remove reference to flag_strength_reduce.
Nick Clifton [Tue, 18 Apr 2006 10:15:41 +0000 (10:15 +0000)]
* config/mmix/mmix.h (OPTIMIZATION_OPTIONS): Remove reference to flag_strength_reduce.

From-SVN: r113028

18 years ago* doc/tm.texi (TARGET_SECTION_TYPE_FLAGS): Fix typo.
Nick Clifton [Tue, 18 Apr 2006 10:11:30 +0000 (10:11 +0000)]
* doc/tm.texi (TARGET_SECTION_TYPE_FLAGS): Fix typo.

From-SVN: r113027

18 years agore PR target/27117 (SH backend cheats to reload -- disables indexed addressing but...
Paolo Bonzini [Tue, 18 Apr 2006 08:23:39 +0000 (08:23 +0000)]
re PR target/27117 (SH backend cheats to reload -- disables indexed addressing but uses it internally)

2006-04-18  Paolo Bonzini  <bonzini@gnu.org>

        PR target/27117

Partial revert of revision 112637
2006-04-03  Paolo Bonzini  <bonzini@gnu.org>
    Dale Johannesen  <dalej@apple.com>

PR target/19653
* regclass.c (struct reg_pref): Update documentation.
(regclass): Set prefclass to NO_REGS if memory is the best option.
(record_reg_classes): Cope with a prefclass set to NO_REGS.

From-SVN: r113026

18 years agore PR tree-optimization/26821 (ice in varasm.c with certain flags)
Paolo Bonzini [Tue, 18 Apr 2006 08:08:47 +0000 (08:08 +0000)]
re PR tree-optimization/26821 (ice in varasm.c with certain flags)

2006-04-18  Paolo Bonzini  <bonzini@gnu.org>

        PR tree-optimization/26821
        * tree-ssa-math-opts.c (get_constant_one): New.
        (insert_reciprocals): Use it.

From-SVN: r113025