Skip to content
Snippets Groups Projects
  1. Jun 01, 2005
    • Danny Smith's avatar
      * config/i386/cygming.h (NO_PROFILE_COUNTERS): Define. · d68c2f42
      Danny Smith authored
      From-SVN: r100419
      d68c2f42
    • Geoffrey Keating's avatar
      Index: ChangeLog · a9c9d3fa
      Geoffrey Keating authored
      2005-05-31  Geoffrey Keating  <geoffk@geoffk.org>
      
      	* config/rs6000/rs6000.md (sync_boolcshort_internal): New.
      	* config/rs6000/rs6000.c (rs6000_emit_sync): Shift count must
      	be complemented for big-endian.  Mask for AND must be rotated,
      	not shifted.  Handle short operands with NOT on the memory
      	operation.
      
      Index: testsuite/ChangeLog
      2005-05-31  Geoffrey Keating  <geoffk@geoffk.org>
      
      	* lib/target-supports.exp
      	(check_effective_target_sync_char_short): New.
      	* gcc.dg/sync-2.c: New.
      
      From-SVN: r100418
      a9c9d3fa
    • Daniel Berlin's avatar
      c-objc-common.c (c_tree_printer): Check flag before hashtable. · f991abd1
      Daniel Berlin authored
      2005-05-30  Daniel Berlin  <dberlin@dberlin.org>
      
      	* c-objc-common.c (c_tree_printer): Check flag before hashtable.
      	Use DECL_DEBUG_EXPR and SET_DECL_DEBUG_EXPR.
      	* dwarf2out.c (dwarf2out_var_location): Ditto.
      	* toplev.c (default_tree_printer): Ditto.
      	* tree-outof-ssa.c (create_temp): Ditto.
      	* tree-sra.c (instantiate_element): Ditto.
      	* var-tracking.c (track_expr_p): Ditto.
      	* tree.c (struct tree_map): New structure.
      	(debug_expr_for_decl): New.
      	(tree_map_eq): New function.
      	(tree_map_hash): Ditto.
      	(tree_map_marked_p): Ditto.
      	(print_debug_expr_statistics): Ditto.
      	(decl_debug_expr_lookup): Ditto.
      	(decl_debug_expr_insert): Ditto.
      	(dump_tree_statistics): Dump debug_expr hashtable stats.
      	* tree.h (DECL_DEBUG_EXPR): Change
      	(SET_DECL_DEBUG_EXPR): Add.
      
      From-SVN: r100417
      f991abd1
    • Alan Modra's avatar
      ppc_closure.S (ffi_closure_SYSV): Don't use JUMPTARGET to call ffi_closure_helper_SYSV. · 6d0d376c
      Alan Modra authored
      	* src/powerpc/ppc_closure.S (ffi_closure_SYSV): Don't use JUMPTARGET
      	to call ffi_closure_helper_SYSV.  Append @local instead.
      	* src/powerpc/sysv.S (ffi_call_SYSV): Likewise for ffi_prep_args_SYSV.
      
      From-SVN: r100416
      6d0d376c
    • Alan Modra's avatar
      configure.ac: Add --enable-secureplt. · 7f970b70
      Alan Modra authored
      	* configure.ac: Add --enable-secureplt.
      	(HAVE_AS_REL16): Test for R_PPC_REL16 relocs.
      	* config.in: Regenerate.
      	* configure: Regenerate.
      	* config.gcc (powerpc64-*-linux*, powerpc-*-linux*): Add
      	rs6000/secureplt.h to tm_file when enable_secureplt.
      	* doc/invoke.texi (msecure-plt, mbss-plt): Document.
      	* doc/install.texi: Document --enable-targets and --enable-secureplt.
      	Correct xrefs to "Using the GNU Compiler Collection (GCC)".
      	* config/rs6000/secureplt.h: New file.
      	* config/rs6000/sysv4.h (TARGET_SECURE_PLT): Define.
      	(SUBTARGET_OVERRIDE_OPTIONS): Error if -msecure-plt given without
      	assembler support.
      	(CC1_SECURE_PLT_DEFAULT_SPEC): Define.
      	(CC1_SPEC): Delete duplicate mno-sdata.  Invoke cc1_secure_plt_default.
      	(SUBTARGET_EXTRA_SPECS): Add cc1_secure_plt_default.
      	* config/rs6000/sysv4.opt (msecure-plt, bss-plt): Add options.
      	* config/rs6000/rs6000.h (TARGET_SECURE_PLT): Define.
      	* config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Handle
      	TARGET_SECURE_PLT got register load sequence.
      	(rs6000_emit_prologue): Call rs6000_emit_load_toc_table when
      	TARGET_SECURE_PLT.
      	(rs6000_elf_declare_function_name): Don't emit toc address offset
      	word when TARGET_SECURE_PLT.
      	* config/rs6000/rs6000.md (elf_high, elf_low): Move past load_toc_*.
      	(load_toc_v4_PIC_1) Enable for TARGET_SECURE_PLT.
      	(load_toc_v4_PIC_3b, load_toc_v4_PIC_3c): New insns.
      	(call, call_value): Mark pic_offset_table_rtx used for sysv pic and
      	TARGET_SECURE_PLT.
      	(call_nonlocal_sysv, call_value_nonlocal_sysv, sibcall_nonlocal_sysv,
      	sibcall_value_nonlocal_sysv): Add 32768 offset when TARGET_SECURE_PLT
      	and -fPIC.
      	* config/rs6000/tramp.asm (trampoline_initial): Use "bcl 20,31".
      	(__trampoline_setup): Likewise.  Init r30 before plt call.
      
      From-SVN: r100415
      7f970b70
    • DJ Delorie's avatar
      expr.c (convert_move): When a partial_int requires multiple conversion steps... · d2348bd5
      DJ Delorie authored
      * expr.c (convert_move): When a partial_int requires multiple
      conversion steps, make sure successive steps convert the
      intermediate value, not the original value.
      
      * expmed.c (expand_mult): Convert partial_int multiplies to
      shift/add combinations too.
      
      * genmodes.c (mode_data): Add wider_2x.
      (calc_wider_mode): Calculate twice-wider mode too.
      (emit_mode_wider): Emit twice-wider mode too.
      * machmode.h (mode_2xwider, GET_MODE_2XWIDER_MODE): New.
      * expr.c (expand_expr_real_1): Use it for expanding
      multiplies.
      
      From-SVN: r100414
      d2348bd5
    • GCC Administrator's avatar
      Daily bump. · cc2f3fa6
      GCC Administrator authored
      [[Split portion of a mixed commit.]]
      
      From-SVN: r100412.2
      cc2f3fa6
  2. May 31, 2005
    • Zdenek Dvorak's avatar
      re PR tree-optimization/21817 (ICE in for_each_index, at tree-ssa-loop-im.c:200) · 60407f7a
      Zdenek Dvorak authored
      	PR tree-optimization/21817
      	* tree-ssa-loop-im.c (for_each_index): Handle VECTOR_CST.
      
      From-SVN: r100410
      60407f7a
    • Pat Haugen's avatar
      loop.c (loop_invariant_p, [...]): Revert last change. · ec22e73b
      Pat Haugen authored
      2005-05-31  Pat Haugen  <pthaugen@us.ibm.com>
      
              * loop.c (loop_invariant_p, valid_initial_value_p): Revert last
              change.
      
      From-SVN: r100408
      ec22e73b
    • Paolo Carlini's avatar
      PR libstdc++/20534 (contd) · 87d33b41
      Paolo Carlini authored
      2005-05-31  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/20534 (contd)
      	* include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using
      	__gnu_debug::__fancy_abort.
      	* src/debug.cc: Define the latter.
      	* include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of
      	assert.
      	* config/linker-map.gnu (__gnu_debug::__fancy_abort): Add.
      
      From-SVN: r100405
      87d33b41
    • Nathan Sidwell's avatar
      re PR c++/21165 (bogus error on a user-defined conversion in a template) · 8bd46447
      Nathan Sidwell authored
      cp:
      PR c++/21165
      	* init.c (integral_constant_value): Check the type of the
      	initializer, not the decl.
      testsuite:
      	PR c++/21165
      	* g++.dg/template/init5.C: New.
      
      From-SVN: r100402
      8bd46447
    • Paul Thomas's avatar
      char_initialiser_actual.f90: Test character initialisers as actual arguments. · fba53b18
      Paul Thomas authored
      2005-05-30  Paul Thomas  <pault@gcc.gnu.org>
      
      	* gfortran.dg/char_initialiser_actual.f90:
      	Test character initialisers as actual arguments.
      	* gfortran.dg/char_pointer_comp_assign.f90:
      	Test character pointer structure component assignments.
      	* gfortran.dg/char_array_structure_constructor.f90:
      	Test character components in structure constructors.
      
      From-SVN: r100401
      fba53b18
    • Paul Thomas's avatar
      re PR fortran/18109 (ICE with explicit array of strings) · 2b052ce2
      Paul Thomas authored
      2005-05-30  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/18109
      	PR fortran/18283
      	PR fortran/19107
      	* fortran/trans-array.c (gfc_conv_expr_descriptor): Obtain the
      	string length from the expression typespec character length value
      	and set temp_ss->stringlength and backend_decl. Obtain the
      	tree expression from gfc_conv_expr rather than gfc_conv_expr_val.
      	Dereference the expression to obtain the character.
      	* fortran/trans-expr.c (gfc_conv_component_ref): Remove the
      	dereference of scalar character pointer structure components.
      	* fortran/trans-expr.c (gfc_trans_subarray_assign): Obtain the
      	string length for the structure component from the component
      	expression.
      
      From-SVN: r100400
      2b052ce2
    • Andrew Pinski's avatar
      [multiple changes] · d763bb10
      Andrew Pinski authored
      2005-05-31  Andrew pinski  <pinskia@physics.uc.edu>
      
              PR middle-end/20931
              * g++.dg/opt/pr20931.C: New test.
      
      2005-05-31  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR middle-end/20931
              PR middle-end/20946
              * fold-const.c (fold_checksum_tree): Copy types also if
              TYPE_CONTAINS_PLACEHOLDER_INTERNAL is set.
              Don't call fold_checksum_tree for TREE_LIST's TREE_CHAIN
              first.
              Tail recurse TREE_LIST's TREE_CHAIN.
      
      From-SVN: r100397
      d763bb10
    • Andrew Pinski's avatar
      re PR tree-optimization/21732 (-ftree-dump-all-details hangs during... · fb03baf2
      Andrew Pinski authored
      re PR tree-optimization/21732 (-ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2)
      
      2005-05-31  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR tree-opt/21732
              * tree-ssa-copy.c (dump_copy_of): Create a bitmap and don't visit a
              SSA_NAME twice and cause the loop to become finite.  Remove the test
              for val.
      
      From-SVN: r100396
      fb03baf2
    • Andreas Jaeger's avatar
      re PR testsuite/20772 (x86 tests should run on both i?86 and x86_64) · 8c7a0ea6
      Andreas Jaeger authored
      	PR testsuite/20772
      	* g++.dg/abi/dtor1.C, g++.dg/abi/empty10.C, g++.dg/abi/layout3.C,
      	g++.dg/eh/simd-2.C, g++.dg/opt/cse2.C,
      	g++.old-deja/g++.ext/asmspec1.C,
      	g++.old-deja/g++.other/regstack.C,
      	gcc.dg/20000614-1.c, gcc.dg/20000807-1.c, gcc.dg/20000904-1.c,
      	gcc.dg/20001127-1.c, gcc.dg/20010202-1.c, gcc.dg/20010520-1.c,
      	gcc.dg/20011009-1.c, gcc.dg/20011029-2.c, gcc.dg/20020224-1.c,
      	gcc.dg/20020531-1.c, gcc.dg/20020616-1.c, gcc.dg/980226-1.c,
      	gcc.dg/980414-1.c, gcc.dg/980520-1.c, gcc.dg/980709-1.c,
      	gcc.dg/990117-1.c, gcc.dg/990130-1.c, gcc.dg/990213-2.c,
      	gcc.dg/990214-1.c, gcc.dg/991129-1.c, gcc.dg/991209-1.c,
      	gcc.dg/991214-1.c, gcc.dg/asm-1.c, gcc.dg/attr-returns_twice-1.c,
      	gcc.dg/clobbers.c, gcc.dg/i386-387-7.c, gcc.dg/i386-387-8.c,
      	gcc.dg/i386-3dnowA-1.c, gcc.dg/i386-3dnowA-2.c, gcc.dg/i386-asm-1.c
      	gcc.dg/i386-asm-2.c, gcc.dg/i386-asm-3.c, gcc.dg/i386-bitfield3.c
      	gcc.dg/i386-call-1.c, gcc.dg/i386-memset-1.c,
      	gcc.dg/i386-signbit-3.c, gcc.dg/i386-ssefn-1.c,
      	gcc.dg/i386-ssefn-2.c, gcc.dg/i386-ssefn-3.c, gcc.dg/i386-ssefn-4.c
      	gcc.dg/i386-volatile-1.c, gcc.dg/i386-xorps.c, gcc.dg/pr12092-1.c
      	gcc.dg/pr14289-1.c, gcc.dg/pr19236-1.c, gcc.dg/pr20204.c,
      	gcc.dg/pr9771-1.c, gcc.dg/register-var-1.c,
      	gcc.dg/sibcall-5.c, gcc.dg/charset/asm3.c,
      	gcc.dg/cpp/trad/num-sign.c: Run tests also on x86_64.
      
      From-SVN: r100394
      8c7a0ea6
    • Andrew Pinski's avatar
      tree-cfg.c (verify_expr): Add checking for COND_EXPR's conditional expression. · 9c691961
      Andrew Pinski authored
      2005-05-31  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * tree-cfg.c (verify_expr): Add checking for COND_EXPR's conditional
              expression.
      
      From-SVN: r100393
      9c691961
    • Richard Sandiford's avatar
      tm.texi (TARGET_GET_PCH_VALIDITY, [...]): Tweak the documentation to make it more future-proof. · 8d932be3
      Richard Sandiford authored
      	* doc/tm.texi (TARGET_GET_PCH_VALIDITY, TARGET_PCH_VALID_P): Tweak
      	the documentation to make it more future-proof.
      	(TARGET_CHECK_PCH_TARGET_FLAGS): Document this new hook.
      	* target.h (gcc_target): Add check_pch_target_flags.
      	* target-def.h (TARGET_CHECK_PCH_TARGET_FLAGS): New macro.
      	(TARGET_INITIALIZER): Include it.
      	* toplev.c (default_pch_valid_p): Use targetm.check_pch_target_flags.
      	* config/sh/sh.h (sh_pch_valid_p): Delete.
      	* config/sh/sh.c (TARGET_PCH_VALID_P, sh_pch_valid_p): Delete.
      	(sh_check_pch_target_flags): New function.
      	(TARGET_CHECK_PCH_TARGET_FLAGS): Override default.
      
      From-SVN: r100392
      8d932be3
    • Jeff Law's avatar
      fold-const.c (extract_array_ref): Handle more cases, do some useful canonicalization of the base. · 4ea73bfa
      Jeff Law authored
              * fold-const.c (extract_array_ref): Handle more cases,
              do some useful canonicalization of the base.
              (fold_binary): Explicitly deal with arrays of zero-sized
              structures during folding of &a[i] == &a[j].
      
              * gcc.dg/tree-ssa/foldaddr-1.c: New test.
      
      From-SVN: r100391
      4ea73bfa
    • Joseph Myers's avatar
      * sv.po: Update. · aa7f9102
      Joseph Myers authored
      From-SVN: r100389
      aa7f9102
    • Eric Botcazou's avatar
      install.texi (sparc-sun-solaris2*): Update note about Sun bug 4910101. · dd48afcd
      Eric Botcazou authored
      	* doc/install.texi (sparc-sun-solaris2*): Update note
      	about Sun bug 4910101.
      
      From-SVN: r100385
      dd48afcd
    • Eric Botcazou's avatar
      install.texi (sparc-sun-solaris2.7): Document bootstrap failure with Sun WorkShop 6 99/08/18 as. · 661f4f90
      Eric Botcazou authored
      	* doc/install.texi (sparc-sun-solaris2.7): Document bootstrap
      	failure with Sun WorkShop 6 99/08/18 as.
      
      From-SVN: r100383
      661f4f90
    • GCC Administrator's avatar
      Daily bump. · 994d1b20
      GCC Administrator authored
      [[Split portion of a mixed commit.]]
      
      From-SVN: r100380.2
      994d1b20
  3. May 30, 2005
Loading