Benjamin Kosnik
a72c74a1de
acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
...
2005-05-04 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
* testsuite/Makefile.am: Same.
* scripts/create_testsuite_files: Same.
* Makefile.in: Regenerate.
* configure: Same.
* include/Makefile.in: Same.
* libmath/Makefile.in: Same.
* libsupc++/Makefile.in: Same.
* po/Makefile.in: Same.
* src/Makefile.in: Same.
From-SVN: r99273
2005-05-05 16:12:28 +00:00
Denis Chertykov
fde6858e7c
re PR target/21284 (AVR target: switch/case jump table is placed in .data instead of .progmem.gcc_sw_table)
...
PR target/21284
* config/avr/avr.c (avr_output_addr_vec_elt): Use special section
for output.
From-SVN: r99272
2005-05-05 19:42:03 +04:00
Paul Brook
0d341a6ae1
arm-g2.c: Use effective-target arm32.
...
2005-05-05 Paul Brook <paul@codesourcery.com>
* gcc.dg/arm-g2.c: Use effective-target arm32.
* gcc.dg/arm-mmx-1.c: Ditto.
* gcc.dg/arm-scd42-2.c: Ditto.
* gcc.dg/arm-vfp1.c: Ditto.
* lib/target-supports.exp (check_effective_target_arm32): New
function.
From-SVN: r99269
2005-05-05 15:12:01 +00:00
David Edelsohn
c9392a2bf8
ltconfig: Define file_list_spec.
...
* ltconfig: Define file_list_spec. Pass file_list_spec and
with_gnu_ld to libtool.
* ltcf-c.sh (aix[45]): Define file_list_spec.
* ltcf-cxx.sh (aix[45]): Same.
* ltcf-gcj.sh (aix[45]): Same.
* ltmain.sh: If command exceeds max_cmd_len and file_list_spec
exists, write list of input files to temporary file.
From-SVN: r99268
2005-05-05 11:04:39 -04:00
Richard Sandiford
c54c732251
config.gcc (arm*-wince-pe*, [...]): Add arm/pe.opt to $extra_options.
...
* config.gcc (arm*-wince-pe*, arm-*-pe*, strongarm-*-pe): Add
arm/pe.opt to $extra_options.
* config/arm/arm.h (target_flags, target_fpu_name, target_fpe_name)
(target_float_abi_name, target_float_switch, target_abi_name)
(ARM_FLAG_APCS_FRAME, ARM_FLAG_POKE, ARM_FLAG_FPE, ARM_FLAG_APCS_STACK)
(ARM_FLAG_APCS_FLOAT, ARM_FLAG_APCS_REENT, ARM_FLAG_BIG_END)
(ARM_FLAG_INTERWORK, ARM_FLAG_LITTLE_WORDS, ARM_FLAG_NO_SCHED_PRO)
(ARM_FLAG_ABORT_NORETURN, ARM_FLAG_SINGLE_PIC_BASE)
(ARM_FLAG_LONG_CALLS, ARM_FLAG_THUMB, THUMB_FLAG_BACKTRACE)
(THUMB_FLAG_LEAF_BACKTRACE, THUMB_FLAG_CALLEE_SUPER_INTERWORKING)
(THUMB_FLAG_CALLER_SUPER_INTERWORKING, CIRRUS_FIX_INVALID_INSNS)
(TARGET_APCS_FRAME, TARGET_POKE_FUNCTION_NAME, TARGET_FPE)
(TARGET_APCS_STACK, TARGET_APCS_FLOAT, TARGET_APCS_REENT)
(TARGET_BIG_END, TARGET_INTERWORK, TARGET_LITTLE_WORDS)
(TARGET_NO_SCHED_PRO, TARGET_ABORT_NORETURN, TARGET_SINGLE_PIC_BASE)
(TARGET_LONG_CALLS, TARGET_THUMB, TARGET_CALLER_INTERWORKING)
(TARGET_CIRRUS_FIX_INVALID_INSNS, SUBTARGET_SWITCHES, TARGET_SWITCHES)
(TARGET_OPTIONS, arm_cpu_select, arm_select, structure_size_string)
(arm_pic_register_string): Delete.
(TARGET_BACKTRACE): Redefine using TARGET_TPCS_LEAF_FRAME and
TARGET_TPCS_FRAME.
(TARGET_DEFAULT, CONDITIONAL_REGISTER_USAGE): Update mask names.
* config/arm/coff.h (TARGET_DEFAULT): Likewise.
* config/arm/elf.h (TARGET_DEFAULT): Likewise.
* config/arm/netbsd-elf.h (TARGET_DEFAULT): Likewise.
* config/arm/netbsd.h (TARGET_DEFAULT): Likewise.
* config/arm/semi.h (TARGET_DEFAULT): Likewise.
* config/arm/uclinux-elf.h (TARGET_DEFAULT): Likewise.
* config/arm/wince-pe.h (TARGET_DEFAULT): Likewise.
* config/arm/pe.h (TARGET_DEFAULT): Likewise.
(TARGET_FLAG_NOP_FUN, TARGET_NOP_FUN_DLLIMPORT): Delete.
(SUBTARGET_SWITCHES): Delete.
* config/arm/arm.c (target_float_switch): Delete.
(arm_cpu_select): Moved from config/arm/arm.h.
(target_fpu_name, target_fpe_name, target_float_abi_name)
(target_abi_name, structure_size_string, arm_pic_register_string)
(arm_select): Make static.
(TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Override defaults.
(arm_handle_option): New function.
(arm_override_options): Update target_flags checks for new mask names.
Remove target_float_switch code.
(arm_expand_prologue, thumb_expand_prologue): Check
!TARGET_SCHED_PROLOG instead of TARGET_NO_SCHED_PRO.
* config/arm/arm.opt, config/arm/pe.opt: New files.
From-SVN: r99265
2005-05-05 12:09:00 +00:00
Nathan Sidwell
5e16a15b83
arc.c (get_arc_condition_code): Use gcc_assert & gcc_unreachable as appropriate.
...
* config/arc/arc.c (get_arc_condition_code): Use gcc_assert &
gcc_unreachable as appropriate.
(arc_double_limm_p, arc_setup_incoming_varargs,
arc_compute_function_type, arc_output_function_prologue,
arc_output_function_epilogue, arc_eligible_for_epilogue_delay,
output_shift, arc_print_operand, arc_print_operand_address,
arc_final_prescan_insn): Likewise.
* config/arc/arc.md (*movdi_insn, *movdf_insn): Likewise.
From-SVN: r99264
2005-05-05 11:06:14 +00:00
Geoffrey Keating
0354e5d8b6
rs6000.md (P): Use TARGET_*BIT rather than comparing Pmode.
...
* config/rs6000/rs6000.md (P): Use TARGET_*BIT rather than
comparing Pmode.
(SDI): New.
(cmp): Delete.
(wd): New.
(add<mode>3, add<mode>3_internal1, add<mode>3_internal2,
add<mode>3_internal3, one_cmpl<mode>2, sub<mode>3, neg<mode>2,
clz<mode>2, ctz<mode>2, ffs<mode>2): New.
(addsi3, addsi3_internal1, addsi3_internal2, addsi3_internal3,
(one_cmplsi2, subsi3, negsi2, clzsi2, ctzsi2, ffssi2): Remove.
(adddi3, adddi3_internal1, adddi3_internal2, adddi3_internal3,
(one_cmpldi2, subdi3, negdi2, clzdi2, ctzdi2, ffsdi2): Remove.
(sync_compare_and_swap<mode>): Use <wd> rather than <cmp>.
From-SVN: r99262
2005-05-05 05:09:12 +00:00
H.J. Lu
1df5d87d8c
BufferCapabilities.java (BufferCapabilities): Fix the typo.
...
2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
* java/awt/BufferCapabilities.java (BufferCapabilities): Fix
the typo.
From-SVN: r99261
2005-05-04 21:27:06 -07:00
Richard Henderson
d56ea8d9a9
ffi64.c (ffi_prep_cif_machdep): Save sse-used flag in bit 11 of flags.
...
* src/x86/ffi64.c (ffi_prep_cif_machdep): Save sse-used flag in
bit 11 of flags.
(ffi_call): Mask return type field. Pass ssecount to ffi_call_unix64.
(ffi_prep_closure): Set carry bit if sse-used flag set.
* src/x86/unix64.S (ffi_call_unix64): Add ssecount argument.
Only load sse registers if ssecount non-zero.
(ffi_closure_unix64): Only save sse registers if carry set on entry.
From-SVN: r99257
2005-05-04 21:06:38 -07:00
Mark Mitchell
08cce8fe0c
libstdc++.exp (v3-build_support): Look for __GTHREADS...
...
* testsuite/lib/libstdc++.exp (v3-build_support): Look for
__GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
whether or not thread support is available.
From-SVN: r99256
2005-05-05 04:05:35 +00:00
Mark Mitchell
86abebe216
test.html: Explain how to run the testsuite on an installed directory.
...
* docs/html/test.html: Explain how to run the testsuite on an
installed directory.
From-SVN: r99255
2005-05-05 03:57:28 +00:00
Paul Brook
e7716c955e
Makefile.in: Replace dependencies on basic-block.h...
...
2005-05-05 Paul Brook <paul@codesourcery.com>
* Makefile.in: Replace dependencies on basic-block.h, c-pragma.h,
cfgloop.h, diagnostic.h, insn-attr.h, langhooks-def.h, params.h,
regs.h, system.h, tree-dump.h, tree-gimple.h, tree-scalar-evolution.h
and tree-data-ref.h with *_H variables.
From-SVN: r99254
2005-05-05 03:04:15 +00:00
Kelley Cook
a78315cc74
xm-m32r.h, linux.h: Delete files.
...
2005-05-05 Kelley Cook <kcook@gcc.gnu.org>
* config/m32r/xm-m32r.h, config/m32r/linux.h: Delete files.
From-SVN: r99253
2005-05-05 03:00:27 +00:00
Kelley Cook
68d5a1cdf6
system.h: Poison BYTEORDER and HOST_WORDS_BIG_ENDIAN.
...
2005-05-05 Kelley Cook <kcook@gcc.gnu.org>
* system.h: Poison BYTEORDER and HOST_WORDS_BIG_ENDIAN.
From-SVN: r99252
2005-05-05 02:55:04 +00:00
Mike Stump
9da51f74af
Oops, regenerate with updated tree.
...
From-SVN: r99251
2005-05-05 01:31:58 +00:00
Thomas Fitzsimmons
ff6d54b3cd
BufferStrategy.java: Document.
...
2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
* java/awt/image/BufferStrategy.java: Document.
From-SVN: r99250
2005-05-05 01:22:12 +00:00
Mike Stump
bebcd931d7
configure.in: Always pass --target to target configures as otherwise rebuilds that do...
...
* configure.in: Always pass --target to target configures as
otherwise rebuilds that do --recheck will fail.
* confiugure: Rebuilt.
From-SVN: r99247
2005-05-05 00:59:26 +00:00
GCC Administrator
251ce4ea5a
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r99244.2
2005-05-05 00:16:28 +00:00
Gerald Pfeifer
ddfe45ef80
* doc/contrib.texi (Contributors): Add Mostafa Hagog and Ayal Zaks.
...
From-SVN: r99238
2005-05-04 23:09:42 +00:00
Fariborz Jahanian
bcb604b6be
Fixed a vrsave problem in the presense of save_world call in the prologue.
...
Oked by Dale Johannesen.
From-SVN: r99236
2005-05-04 22:44:14 +00:00
Hans-Peter Nilsson
cc73528f07
predicates.md: New file.
...
* config/mmix/predicates.md: New file.
* config/mmix/mmix.c (mmix_symbolic_or_address_operand)
(mmix_reg_or_constant_operand, mmix_reg_cc_operand)
(mmix_foldable_comparison_operator, mmix_comparison_operator)
(mmix_reg_or_0_operand, mmix_reg_or_8bit_operand): Remove.
* config/mmix/mmix.h (PREDICATE_CODES, SPECIAL_MODE_PREDICATES):
Don't define.
* config/mmix/mmix.md: Include predicates.md.
("call", "call_value"): Force address to register if it isn't a
mmix_symbolic_or_address_operand.
From-SVN: r99235
2005-05-04 22:36:14 +00:00
Thomas Fitzsimmons
29572b4dae
BufferCapabilities.java: Document.
...
2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
* java/awt/BufferCapabilities.java: Document.
From-SVN: r99234
2005-05-04 22:13:45 +00:00
Thomas Koenig
e33e218bad
re PR libfortran/21354 ([4.0 only] Rank 7 not handled correctly)
...
2005-05-04 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/21354
* m4/cshift1.m4: Change dimension of auxiliary arrays from
GFC_MAX_DIMENSION - 1 to GFC_MAX_DIMENSION.
* m4/eoshift1.m4: Likewise.
* m4/eoshift3.m4: Likewise.
* m4/ifunction.m4: Likewise.
* m4/in_pack.m4: Likewise.
* m4/in_unpack.m4: Likewise.
* intrinsics/cshift0.c: Likewise.
* intrinsics/eoshift0.c: Likewise.
* intrinsics/eoshift2.c: Likewise.
* intrinsics/random.c: Likewise.
* intrinsics/spread_generic.c: Likewise.
* intrinsics/stat.c: Likewise.
* generated/all_l4.c: Regenerated.
* generated/all_l8.c: Regenerated.
* generated/any_l4.c: Regenerated.
* generated/any_l8.c: Regenerated.
* generated/count_4_l4.c: Regenerated.
* generated/count_4_l8.c: Regenerated.
* generated/count_8_l4.c: Regenerated.
* generated/count_8_l8.c: Regenerated.
* generated/cshift1_4.c: Regenerated.
* generated/cshift1_8.c: Regenerated.
* generated/eoshift1_4.c: Regenerated.
* generated/eoshift1_8.c: Regenerated.
* generated/eoshift3_4.c: Regenerated.
* generated/eoshift3_8.c: Regenerated.
* generated/in_pack_i4.c: Regenerated.
* generated/in_pack_i8.c: Regenerated.
* generated/in_unpack_i4.c: Regenerated.
* generated/in_unpack_i8.c: Regenerated.
* generated/maxloc0_4_i4.c: Regenerated.
* generated/maxloc0_4_i8.c: Regenerated.
* generated/maxloc0_4_r4.c: Regenerated.
* generated/maxloc0_4_r8.c: Regenerated.
* generated/maxloc0_8_i4.c: Regenerated.
* generated/maxloc0_8_i8.c: Regenerated.
* generated/maxloc0_8_r4.c: Regenerated.
* generated/maxloc0_8_r8.c: Regenerated.
* generated/maxloc1_4_i4.c: Regenerated.
* generated/maxloc1_4_i8.c: Regenerated.
* generated/maxloc1_4_r4.c: Regenerated.
* generated/maxloc1_4_r8.c: Regenerated.
* generated/maxloc1_8_i4.c: Regenerated.
* generated/maxloc1_8_i8.c: Regenerated.
* generated/maxloc1_8_r4.c: Regenerated.
* generated/maxloc1_8_r8.c: Regenerated.
* generated/maxval_i4.c: Regenerated.
* generated/maxval_i8.c: Regenerated.
* generated/maxval_r4.c: Regenerated.
* generated/maxval_r8.c: Regenerated.
* generated/minloc0_4_i4.c: Regenerated.
* generated/minloc0_4_i8.c: Regenerated.
* generated/minloc0_4_r4.c: Regenerated.
* generated/minloc0_4_r8.c: Regenerated.
* generated/minloc0_8_i4.c: Regenerated.
* generated/minloc0_8_i8.c: Regenerated.
* generated/minloc0_8_r4.c: Regenerated.
* generated/minloc0_8_r8.c: Regenerated.
* generated/minloc1_4_i4.c: Regenerated.
* generated/minloc1_4_i8.c: Regenerated.
* generated/minloc1_4_r4.c: Regenerated.
* generated/minloc1_4_r8.c: Regenerated.
* generated/minloc1_8_i4.c: Regenerated.
* generated/minloc1_8_i8.c: Regenerated.
* generated/minloc1_8_r4.c: Regenerated.
* generated/minloc1_8_r8.c: Regenerated.
* generated/minval_i4.c: Regenerated.
* generated/minval_i8.c: Regenerated.
* generated/minval_r4.c: Regenerated.
* generated/minval_r8.c: Regenerated.
* generated/product_c4.c: Regenerated.
* generated/product_c8.c: Regenerated.
* generated/product_i4.c: Regenerated.
* generated/product_i8.c: Regenerated.
* generated/product_r4.c: Regenerated.
* generated/product_r8.c: Regenerated.
* generated/sum_c4.c: Regenerated.
* generated/sum_c8.c: Regenerated.
* generated/sum_i4.c: Regenerated.
* generated/sum_i8.c: Regenerated.
* generated/sum_r4.c: Regenerated.
* generated/sum_r8.c: Regenerated.
2005-05-04 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/21354
gfortran.dg/in_pack_rank7.f90: New test.
From-SVN: r99232
2005-05-04 21:38:23 +00:00
Tom Tromey
5b3ceafea5
FileLock.java (toString): Entirely avoid String "+".
...
* java/nio/channels/FileLock.java (toString): Entirely avoid
String "+".
2005-05-04 Andrew Overholt <overholt@redhat.com>
* java/nio/channels/FileLock.java (toString): Re-implement using
StringBuffer.
From-SVN: r99230
2005-05-04 21:09:36 +00:00
Andrew MacLeod
66d3fe476a
tree-flow-inline.h (op_iter_init_use, [...]): Assert that the flags are of appropriate types.
...
2005-05-04 Andrew MacLeod <amacleod@redhat.com>
* tree-flow-inline.h (op_iter_init_use, op_iter_init_def): Assert that
the flags are of appropriate types.
(num_ssa_operands): Generalize using the generic interface.
* tree-ssa-dce.c (remove_dead_stmt): Don't ask for kills on a DEF
iterator.
From-SVN: r99227
2005-05-04 20:31:11 +00:00
Ian Lance Taylor
158a48bee4
Shuffle ChangeLog entries into new files ChangeLog-1998,
...
ChangeLog-2000, and ChangeLog-2004. Correct some typos. This change
does not itself get a ChangeLog entry.
From-SVN: r99225
2005-05-04 18:29:28 +00:00
Thomas Fitzsimmons
d1ca2cfe44
ImageCapabilities.java: Document.
...
2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
* java/awt/ImageCapabilities.java: Document.
* java/awt/image/VolatileImage.java: Unindent copyright header.
From-SVN: r99224
2005-05-04 18:25:37 +00:00
Richard Sandiford
1351ec8243
* protoize.c (version_flag, quiet_flag, nochange_flag, nosave_flag)
...
(keep_flag, local_flag, global_flag, cplusplus_flag): Make extern.
From-SVN: r99223
2005-05-04 17:56:21 +00:00
Kazu Hirata
5ea30da0d2
tree-outof-ssa.c (edge_leader, [...]): Use VEC instead of VARRAY.
...
* tree-outof-ssa.c (edge_leader, stmt_list,
analyze_edges_for_bb): Use VEC instead of VARRAY.
(init_analayze_edges_for_bb, fini_analayze_edges_for_bb): New.
(perform_edge_inserts): Call init_analayze_edges_for_bb and
fini_analayze_edges_for_bb.
From-SVN: r99222
2005-05-04 17:23:56 +00:00
James E Wilson
10bf9e8a16
Fix the Xassembler and Xpreprocessor options, which have never worked right.
...
PR driver/21112
* gcc.c (process_command): In the second argv scan loop, ignore
Xassembler and Xpreprocessor, along with their argument.
From-SVN: r99221
2005-05-04 10:20:43 -07:00
Kazu Hirata
395bda42dd
tree-flow-inline.h, [...]: Likewise.
...
* tree-flow-inline.h, tree-ssa-operands.c,
tree-ssa-operands.h, tree-ssa-opfinalize.h:
Likewise. tree-vn.c: Fix comment typos.
* doc/passes.texi, doc/tree-ssa.texi: Fix typos.
From-SVN: r99220
2005-05-04 17:15:31 +00:00
Paolo Bonzini
4268e4cfa2
tm.texi (Target Hooks): Document TARGET_RESOLVE_OVERLOADED_BUILTIN.
...
2005-05-04 Paolo Bonzini <bonzini@gnu.org>
* doc/tm.texi (Target Hooks): Document
TARGET_RESOLVE_OVERLOADED_BUILTIN.
From-SVN: r99219
2005-05-04 16:27:21 +00:00
Paolo Bonzini
ce4065374b
Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Rename from STAGE_HOST_EXPORTS.
...
2005-05-04 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Rename from
STAGE_HOST_EXPORTS.
(configure, all): Add bootstrap support.
(Host modules, target modules): Pass post-stage1 flags and exports.
(Top-level bootstrap): Remove bootstrap rules, expanded elsewhere.
* Makefile.in: Regenerate.
From-SVN: r99218
2005-05-04 15:41:56 +00:00
Paul Brook
cedc99b54d
Makefile.in: Change dependencies on target.h to $(TARGET_H).
...
2005-05-04 Paul Brook <paul@codesourcery.com>
* Makefile.in: Change dependencies on target.h to $(TARGET_H).
From-SVN: r99217
2005-05-04 15:05:03 +00:00
Kazu Hirata
5396a14231
tree-ssa-loop-ivopts.c (rewrite_address_base): Don't call update_stmt.
...
* tree-ssa-loop-ivopts.c (rewrite_address_base): Don't call
update_stmt.
From-SVN: r99216
2005-05-04 13:57:40 +00:00
Kazu Hirata
0cc3908286
loop-unroll.c (var_to_expand, [...]): Use VEC instead of VARRAY.
...
* loop-unroll.c (var_to_expand, analyze_insn_to_expand_var,
get_expansion, expand_var_during_unrolling,
insert_var_expansion_initialization,
combine_var_copies_in_loop_exit, release_var_copies): Use VEC
instead of VARRAY.
From-SVN: r99211
2005-05-04 06:10:21 +00:00
Kazu Hirata
887fb69bbc
dwarf2out.c (incomplete_types, [...]): Use VEC instead of VARRAY.
...
* dwarf2out.c (incomplete_types, retry_incomplete_types,
gen_struct_or_union_type_die, dwarf2out_init): Use VEC instead
of VARRAY.
From-SVN: r99210
2005-05-04 06:03:00 +00:00
Kazu Hirata
9acaf84abb
cp-tree.h (language_function): Change the type of x_local_names to VEC.
...
* cp-tree.h (language_function): Change the type of
x_local_names to VEC.
* decl.c (push_local_name): Adjust uses of local_names.
From-SVN: r99209
2005-05-04 06:00:13 +00:00
Thomas Fitzsimmons
78da4d2e84
VolatileImage.java: Document.
...
2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
* java/awt/image/VolatileImage.java: Document.
From-SVN: r99208
2005-05-04 03:18:49 +00:00
Andrew Pinski
a7e1c9287c
[multiple changes]
...
2004-05-03 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/15618
* fold-const.c (fold_widened_comparison): Treat BOOLEAN_TYPE
the same as INTEGER_TYPE.
(fold_binary): Fold "bool_var != 0" to bool_var.
Fold "bool_var == 1" to bool_var.
2005-05-03 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/15618
* gcc.dg/tree-ssa/bool-[1-9].c: New tests.
From-SVN: r99207
2005-05-03 18:52:06 -07:00
Thomas Fitzsimmons
d8be0aabf7
re PR java/20309 (gcjh needs a -force option)
...
2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
PR java/20309
* Make-lang.in (java): Add gjnih.
(JAVA_TARGET_INDEPENDENT_BIN_TOOLS): Likewise.
(GJNIH_OBJS): New variable.
(gjnih$(exeext)): New target.
(JAVA_MANFILES): Add gjnih.1.
(java.uninstall): Add gjnih.1.
(java.mostlyclean): Add gjnih.
(java.maintainer-clean): Add gjnih.1.
(java/gjavah-jni.o): New target.
(.INTERMEDIATE): Add gjnih.pod.
(gjnih.pod): New target.
* config-lang.in (stagestuff): Add gjnih.
* gcj.texi (Top): Add gjnih node.
(Invoking gcjh): Add descriptions of -force, -old, -trace, -J and
-bootclasspath options.
(Invoking gjnih): New node.
* gjavah.c Initialize flag_jni to 1 if JNI_DEFAULT is defined.
(TOOLNAME): New macro.
(error): Replace hard-coded gcjh with TOOLNAME.
(process_file): Likewise.
(usage): Likewise.
(version): Likewise.
(help): Likewise. Add help output for -force, -old, -trace and -J
options.
(OPT_FORCE, OPT_OLD, OPT_TRACE): New macros.
(options): Add force, old, trace and J fields.
(main): Handle -force, -old, -trace and -J options.
From-SVN: r99206
2005-05-04 01:46:41 +00:00
Richard Henderson
fbdd0b0924
re PR middle-end/21318 (ICE in instantiate_virtual_regs_in_insn)
...
PR middle-end/21318
* function.c (instantiate_virtual_regs_in_insn): Use the mode
from recog_data instead of insn_data.
From-SVN: r99205
2005-05-03 18:38:14 -07:00
DJ Delorie
2098fe9ed5
common.opt (fdiagnostics-show-option): No variable is needed.
...
* common.opt (fdiagnostics-show-option): No variable is needed.
* diagnostic.h (diagnostic_context): Add show_option_requested flag.
* diagnostic.c (diagnostic_initialize): Initialize show_option_requested.
(diagnostic_report_diagnostic): Test for enabled diagnostics here.
Save and restore original message format. Use flag in context
instead of global.
(warning): Don't test for enabled warnings here.
* opts.c (common_handle_option): Handle -fdiagnostics-show-option
here.
From-SVN: r99204
2005-05-03 21:36:13 -04:00
Kelley Cook
9791c75c41
xm-m32r.h: Don't define HOST_WORDS_BIG_ENDIAN.
...
2005-05-04 Kelley Cook <kcook@gcc.gnu.org>
* config/m32r/xm-m32r.h: Don't define HOST_WORDS_BIG_ENDIAN.
* config/m32r/xm-linux.h: Don't undefine HOST_WORDS_BIG_ENDIAN.
* mips-tfile.c: Use WORDS_BIG_ENDIAN instead of HOST_WORDS_BIG_ENDIAN.
* aclocal.m4: Don't include accross.m4.
* configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
* configure, config.in: Regenerate.
From-SVN: r99203
2005-05-04 01:14:51 +00:00
GCC Administrator
055f6c0fdf
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r99200.2
2005-05-04 00:16:24 +00:00
Thomas Fitzsimmons
1d1fafea50
* ChangeLog: Remove conflict indicator.
...
From-SVN: r99197
2005-05-03 23:53:58 +00:00
Thomas Fitzsimmons
9247d229f6
2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
...
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
(init_glib_threads): Check if threading system is already
initialized.
From-SVN: r99196
2005-05-03 23:53:27 +00:00
Andrew Overholt
f525d7a75f
re PR libgcj/21372 (FileChannel.tryLock() return value incorrect)
...
2005-05-03 Andrew Overholt <overholt@redhat.com>
PR libgcj/21372:
* gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
could not be acquired.
* java/nio/channels/FileLock.java (toString): Re-implement to be
in line with other implementations.
From-SVN: r99188
2005-05-03 22:38:17 +00:00
Jakub Jelinek
8148fe656d
re PR middle-end/21265 (GCC fails to optimize tail call to memset)
...
PR middle-end/21265
* expr.h (enum block_op_methods): Add BLOCK_OP_TAILCALL.
(clear_storage): Add argument.
* expr.c (emit_block_move_via_libcall, clear_storage_via_libcall):
Add tailcall argument, set CALL_EXPR_TAILCALL of the CALL_EXPR to
tailcall.
(emit_block_move): Handle BLOCK_OP_TAILCALL method.
(clear_storage): Add method argument, handle BLOCK_OP_TAILCALL.
(store_expr, store_constructor): Adjust callers.
* builtins.c (expand_builtin_memcpy): Pass BLOCK_OP_TAILCALL
to emit_block_move if CALL_EXPR_TAILCALL (exp).
(expand_builtin_memmove): Add ORIG_EXP argument, copy
CALL_EXPR_TAILCALL from ORIG_EXP to the new CALL_EXPR.
(expand_builtin_bcopy): Replace ARGLIST and TYPE arguments
with EXP. Pass EXP to expand_builtin_memmove.
(expand_builtin_memset): Add ORIG_EXP argument, pass
BLOCK_OP_TAILCALL to clear_storage if CALL_EXPR_TAILCALL (orig_exp).
(expand_builtin_bzero): Replace ARGLIST argument with EXP.
Pass EXP to expand_builtin_memset.
(expand_builtin_strcmp): Copy CALL_EXPR_TAILCALL from EXP to
the new CALL_EXPR.
(expand_builtin_strncmp): Likewise.
(expand_builtin_printf): Replace ARGLIST argument with EXP.
Copy CALL_EXPR_TAILCALL from EXP to the new CALL_EXPR.
(expand_builtin_fprintf): Likewise.
(expand_builtin): Adjust calls to
expand_builtin_{memmove,bcopy,memset,bzero,{,f}printf}.
* gcc.dg/20050503-1.c: New test.
From-SVN: r99187
2005-05-04 00:22:02 +02:00
Jakub Jelinek
125886c749
re PR rtl-optimization/21239 (Illegal elimination of SSE2 load/store using xmm intrinsics)
...
* config/i386/i386.c (ix86_expand_vector_set): Fix setting 3rd and 4th
item in V4SF mode.
PR rtl-optimization/21239
* combine.c (combine_simplify_rtx) <case VEC_SELECT>: Fix a typo.
* gcc.dg/i386-sse-11.c: New test.
From-SVN: r99186
2005-05-04 00:16:01 +02:00