DJ Delorie
b3df8be147
configure.ac (target_header_dir): vfork is a stub under djgpp.
...
* configure.ac (target_header_dir): vfork is a stub under djgpp.
* configure: Regenerated.
From-SVN: r95980
2005-03-06 12:41:16 -05:00
DJ Delorie
fe8ee922e3
configure.ac (target_header_dir): vfork is a stub under djgpp.
...
* configure.ac (target_header_dir): vfork is a stub under djgpp.
* configure: Regenerated.
From-SVN: r95979
2005-03-06 12:40:06 -05:00
Kazu Hirata
e9da788c50
fold-const.c (fold_binary_op_with_conditional_arg): Take decomposed arguments code, type, op0, and op1 instead of t.
...
* fold-const.c (fold_binary_op_with_conditional_arg): Take
decomposed arguments code, type, op0, and op1 instead of t.
(fold_binary): Update a call to fold_range_test.
From-SVN: r95978
2005-03-06 17:23:03 +00:00
Kazu Hirata
e1f04615c7
fold-const.c (fold_range_test): Take decomposed arguments code, type, op0, and op1 instead of t.
...
* fold-const.c (fold_range_test): Take decomposed arguments
code, type, op0, and op1 instead of t.
(fold_binary): Update a call to fold_range_test.
From-SVN: r95977
2005-03-06 17:20:42 +00:00
Kriang Lerdsuwanakij
a103aa92fd
Fix ChangeLog date of PR19311
...
From-SVN: r95973
2005-03-06 16:50:46 +00:00
James A. Morrison
597eb1d72b
re PR treelang/20326 (treelang does install the backend as a driver)
...
2005-03-06 James A. Morrison <phython@gcc.gnu.org>
PR other/20326
* Make-lang.in (gtreelang, treelang/spec.o): New targets.
* spec.c: New file.
From-SVN: r95972
2005-03-06 16:02:40 +00:00
Kazu Hirata
d7e5b287a0
fold-const.c (optimize_minmax_comparison): Take decomposed arguments code, type, op0, and op1 instead of t.
...
* fold-const.c (optimize_minmax_comparison): Take decomposed
arguments code, type, op0, and op1 instead of t.
(fold_binary): Update a call to optimize_minmax_comparison.
From-SVN: r95971
2005-03-06 14:19:45 +00:00
Kazu Hirata
c933f71e3d
* fold-const.c (fold_binary): Use code instead of t.
...
From-SVN: r95970
2005-03-06 14:18:08 +00:00
John David Anglin
0022eee395
* ChangeLog: Update entry.
...
From-SVN: r95968
2005-03-06 13:33:58 +00:00
Kazu Hirata
1ddc032813
jcf-dump.c, [...]: Update copyright.
...
* jcf-dump.c, jcf-io.c, jcf-reader.c, lang.c, parse.h,
typeck.c: Update copyright.
From-SVN: r95967
2005-03-06 12:57:57 +00:00
Ranjit Mathew
ecf713657e
Remove xref code.
...
* xref.c, xref.h: Remove file.
* Make-lang.in (java/xref.o): Remove.
* java-tree.h (flag_emit_xref, do_not_fold): Remove declaration.
* lang.c (flag_emit_xref): Remove definition.
* parse.h (DECL_END_SOURCE_LINE, DECL_INHERITED_SOURCE_LINE): Remove.
* typeck.c (convert): Remove use of do_not_fold.
* parse.y (do_not_fold): Remove definition.
(parser grammar): Remove xref code.
(maybe_create_class_interface_decl, create_class): Likewise.
(register_fields, method_header, finish_method_declaration): Likewise.
(declare_local_variables, source_end_java_method): Likewise.
(java_complete_expand_classes): Do not set do_not_fold.
(java_complete_expand_method): Remove xref code.
(java_expand_classes, resolve_field_access, patch_invoke): Likewise.
(java_complete_tree, java_complete_lhs, patch_assignment): Likewise.
(patch_binop, build_string_concatenation, patch_array_ref): Likewise.
(patch_synchronized_statement, patch_throw_statement): Likewise.
(maybe_build_class_init_for_field): Likewise.
From-SVN: r95965
2005-03-06 08:42:33 +00:00
Kazu Hirata
25910ca462
cse.c (fold_rtx_subreg, [...]): New.
...
* cse.c (fold_rtx_subreg, fold_rtx_mem): New.
(fold_rtx): Call fold_rtx_subreg and fold_rtx_mem to handle
SUBREG and MEM, respectively.
From-SVN: r95964
2005-03-06 05:21:10 +00:00
Kazu Hirata
7104730324
fold-const.c (fold_binary): Avoid directly using the original expression t as much as possible.
...
* fold-const.c (fold_binary): Avoid directly using the original
expression t as much as possible.
From-SVN: r95962
2005-03-06 02:25:03 +00:00
Kazu Hirata
75505450f6
* fold-const.c (fold): Remove handling of binary expressions.
...
From-SVN: r95961
2005-03-06 00:42:56 +00:00
GCC Administrator
5c2ff394f3
Daily bump.
...
From-SVN: r95959
2005-03-06 00:16:33 +00:00
Steven G. Kargl
715c9326eb
pr19936_1.f90: New test.
...
* gfortran.dg/pr19936_1.f90: New test.
* gfortran.dg/pr19936_2.f90: New test.
* gfortran.dg/pr19936_3.f90: New test.
From-SVN: r95952
2005-03-05 23:38:20 +00:00
Steven G. Kargl
87ebdf2fab
re PR fortran/19936 (confused error message about implied do loop)
...
PR 19936
* primary.c (match_complex_constant): Mangled complex constant may
be an implied do-loop. Give implied do-loop matcher a chance.
From-SVN: r95951
2005-03-05 23:35:44 +00:00
Steven G. Kargl
8c355f427e
PR19754_1.f90: New test.
...
* PR19754_1.f90: New test.
* PR19754_2.f90: ditto.
Co-Authored-By: Paul Thomas <prthomas@drfccad.cea.fr>
From-SVN: r95946
2005-03-05 22:16:41 +00:00
Steven G. Kargl
2c5ed587af
re PR fortran/19754 (Shape conformance not checked)
...
PR fortran/19754
* resolve.c (compare_shapes): New function.
(resolve_operator): Use it.
From-SVN: r95945
2005-03-05 22:13:21 +00:00
Thomas Fitzsimmons
098c1ef8fa
* ChangeLog: Fix gtk_jawt.c entry.
...
From-SVN: r95944
2005-03-05 21:53:29 +00:00
Anthony Green
011ad05844
gtk_jawt.c (classpath_jawt_get_drawable, [...]): New functions.
...
2005-02-15 Anthony Green <green@redhat.com>
* jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
classpath_jawt_lock, classpath_jawt_unlock): New functions.
* jawt.c (_Jv_JAWT_Lock, _Jv_JAWT_Unlock): New functions.
(_Jv_GetDrawingSurface): Set visualID.
(_Jv_FreeDrawingSurfaceInfo): Clear visualID.
(JAWT_GetAWT): Set Lock and Unlock.
* include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add visualID.
* include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
JAWT_LOCK_SURFACE_CHANGED): New macros.
(struct _JAWT): Add Lock and Unlock.
From-SVN: r95943
2005-03-05 21:47:10 +00:00
Kazu Hirata
3f724eb8a7
c-semantics.c (build_stmt): Use TYPE_P instead of IS_NON_TYPE_CODE_CLASS.
...
gcc/
* c-semantics.c (build_stmt): Use TYPE_P instead of
IS_NON_TYPE_CODE_CLASS.
* tree.h (IS_NON_TYPE_CODE_CLASS): Remove.
(NON_TYPE_CHECK): Use TYPE_P instead of
IS_NON_TYPE_CODE_CLASS.
java/
* expr.c (build_expr_wfl, expr_add_location): Use TYPE_P
instead of IS_NON_TYPE_CODE_CLASS.
From-SVN: r95942
2005-03-05 20:21:31 +00:00
Tobias Schlüter
19db01bb45
trans-const.c (gfc_conv_constant_to_tree): Use correct tree type for COMPLEX constants.
...
* trans-const.c (gfc_conv_constant_to_tree): Use correct tree
type for COMPLEX constants.
From-SVN: r95941
2005-03-05 21:14:52 +01:00
James A. Morrison
12bcfaa1cb
c-tree.texi: Wrap comments in @r{}.
...
2005-03-05 James A. Morrison <phython@gcc.gnu.org>
* doc/c-tree.texi: Wrap comments in @r{}.
* doc/cpp.texi: Likewise.
* doc/cppinternals.texi: Likewise.
* doc/extend.texi: Likewise.
* doc/md.texi: Likewise.
* doc/objc.texi: Likewise.
* doc/sourcebuild.texi: Likewise.
* doc/tm.texi: Likewise.
* doc/tree-ssa.texi
From-SVN: r95939
2005-03-05 19:56:31 +00:00
Kazu Hirata
0aee475150
fold-const.c (fold_binary): New.
...
* fold-const.c (fold_binary): New.
(fold): Call fold_binary on binary expressions.
From-SVN: r95938
2005-03-05 18:09:17 +00:00
Kazu Hirata
bb80db7b6d
combine.c (simplify_and_const_int): Use gen_int_mode instead of GEN_INT (trunc_int_for_mode (...)).
...
* combine.c (simplify_and_const_int): Use gen_int_mode instead
of GEN_INT (trunc_int_for_mode (...)).
* loop-iv.c (iv_number_of_iterations): Likewise.
* postreload.c (reload_cse_move2add): Likewise.
* simplify-rtx.c (simplify_const_unary_operation,
simplify_const_binary_operation): Likewise.
* stor-layout.c (get_mode_bounds): Likewise.
From-SVN: r95935
2005-03-05 17:25:33 +00:00
Roger Sayle
60b92d7028
re PR bootstrap/20155 (libgcj build fails with "execvp: /bin/sh: Argument list too long")
...
2005-03-05 Roger Sayle <roger@eyesopen.com>
Alexandre Oliva <aoliva@redhat.com>
Kelley Cook <kcook@gcc.gnu.org>
PR libgcj/20155
* Makefile.am (libgcj0_convenience.la): New rule to create a file
of the object files to link to avoid exceeding the command line
length limits on some platforms.
(clean-local): Clean up objectlist files.
* Makefile.in: Regenerate.
Co-Authored-By: Alexandre Oliva <aoliva@redhat.com>
Co-Authored-By: Kelley Cook <kcook@gcc.gnu.org>
From-SVN: r95934
2005-03-05 16:32:59 +00:00
Kriang Lerdsuwanakij
6439fffd56
re PR c++/19311 (ICE in resolve_overloaded_unification)
...
PR c++/19311
* init.c (build_offset_ref): Don't build non-dependent SCOPE_REF.
* pt.c (build_non_dependent_expr): Don't build NON_DEPENDENT_EXPR
for OFFSET_TYPE.
* typeck.c (build_x_unary_op): Don't build non-dependent SCOPE_REF.
Also set PTRMEM_OK_P for NON_DEPENDENT_EXPR.
(build_unary_op): Handle building ADDR_EXPR of OFFSET_REF inside
template.
* g++.dg/template/non-dependent11.C: New test.
From-SVN: r95933
2005-03-05 15:44:22 +00:00
Kazu Hirata
d19e3ef696
tree-phinodes.c (remove_phi_node): Drop the last argument.
...
* tree-phinodes.c (remove_phi_node): Drop the last argument.
* tree-flow.h: Adjust the prototype for remove_phi_node.
* lambda-code.c (perfect_nestify): Adjust a call to
remove_phi_node.
* tree-cfg.c
(remove_phi_nodes_and_edges_for_unreachable_block): Likewise.
* tree-outof-ssa.c (eliminate_virtual_phis, remove_ssa_form):
Likewise.
* tree-ssa-dce.c (remove_dead_phis): Likewise.
* tree-ssa-loop-ivopts.c (remove_statement): Likewise.
* tree-ssa-pre.c (remove_dead_inserted_code): Likewise.
* tree-ssa.c (kill_redundant_phi_nodes): Likewise.
From-SVN: r95932
2005-03-05 15:29:25 +00:00
Kazu Hirata
25f99665af
genattrtab.c, [...]: Update copyright.
...
* genattrtab.c, genemit.c, genoutput.c, genrecog.c,
gensupport.c, jump.c, tree-phinodes.c, unwind-dw2-fde-glibc.c:
Update copyright.
From-SVN: r95931
2005-03-05 14:01:02 +00:00
Kazu Hirata
52c3e649f6
predict.c (apply_return_prediction): Standardize PHI chain walking.
...
* predict.c (apply_return_prediction): Standardize PHI chain
walking.
* tree-ssa.c (ssa_redirect_edge): Likewise.
From-SVN: r95930
2005-03-05 13:49:43 +00:00
Uros Bizjak
74231b0f2c
* lib/target-supports.exp (check_iconv_available): Fix comment.
...
From-SVN: r95927
2005-03-05 11:08:31 +01:00
Richard Sandiford
acda0e26ae
invoke.texi: Document new MIPS -msym32 and -mno-sym32 options.
...
* doc/invoke.texi: Document new MIPS -msym32 and -mno-sym32 options.
* config/mips/mips.h (MASK_SYM32, TARGET_SYM32): New macros.
(TARGET_SWITCHES): Add -msym32 and -mno-sym32.
(ABI_HAS_64BIT_SYMBOLS): Set to false if TARGET_SYM32.
(ASM_SPEC): Pass down -msym32 and -mno-sym32.
From-SVN: r95926
2005-03-05 09:04:33 +00:00
Andreas Tobler
2fdedf0462
dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and spec_case.
...
2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
* java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
spec_case. Initialize pointer mlo.
* java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
delta.
* java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
* java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
and k.
* java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
uninitialized variable z.
* gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
possible unused variables.
* gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
* jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
From-SVN: r95925
2005-03-05 08:47:58 +01:00
Devang Patel
537a2904e7
re PR tree-optimization/18815 (Tree if-conversion screws up cfg very badly)
...
PR tree-optimization/18815
* tree-if-conv.c (combine_blocks): Adjust loop header edges for
loops with zero exit edges.
From-SVN: r95923
2005-03-04 18:59:25 -08:00
Devang Patel
c533f56b23
* doc/invoke.texi: Remove reference to webpage that does not exist.
...
From-SVN: r95922
2005-03-04 18:57:01 -08:00
John David Anglin
744b2d6184
re PR c++/19797 (g++.dg/abi/inline1.C fails on hppa*-*-hpux*)
...
PR c++/19797
* elf.h, pa64-hpux.h, som.h (ASM_OUTPUT_EXTERNAL_REAL): Define.
(ASM_OUTPUT_EXTERNAL): Call pa_hpux_asm_output_external.
* pa-protos.h (pa_hpux_asm_output_external): Add prototype.
* pa.c (get_plabel): Change argument to symbol_ref. Call
maybe_get_identifier instead of get_identifier.
(pa_hpux_asm_output_external, pa_hpux_file_end): New functions.
(struct deferred_plabel): Replace name field with symbol field.
(TARGET_ASM_FILE_END): Define as pa_hpux_file_end if
ASM_OUTPUT_EXTERNAL_REAL is defined.
(output_global_address): Use output_addr_const for output of all
symbol_refs.
(output_deferred_plabels): Use symbol_ref instead of name for address
output.
* pa.h (SYMBOL_FLAG_REFERENCED, SYMBOL_REF_REFERENCED_P,
ASM_OUTPUT_SYMBOL_REF): New macros.
* som.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use assemble_name_raw. Update
comment.
(ASM_WEAKEN_LABEL): Use targetm.asm_out.globalize_label to globalize
label.
* g++.dg/abi/vague1.C: Remove xfail hppa*-*-hpux*.
Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
From-SVN: r95921
2005-03-05 01:59:24 +00:00
Joseph Myers
1fb641a1e1
config.gcc (hppa*64*-*-hpux11*): Use pa/pa-hpux1111.h for *-*-hpux11.[1-9]*, not just for *-*-hpux11.11.
...
* config.gcc (hppa*64*-*-hpux11*): Use pa/pa-hpux1111.h for
*-*-hpux11.[1-9]*, not just for *-*-hpux11.11.
From-SVN: r95918
2005-03-05 01:47:27 +00:00
Joseph Myers
816e568f6b
2.cc, [...]: XFAIL on *-*-hpux11.23.
...
* testsuite/22_locale/collate/compare/wchar_t/2.cc,
testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
testsuite/22_locale/collate/hash/wchar_t/2.cc,
testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
testsuite/22_locale/collate/transform/wchar_t/2.cc,
testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
XFAIL on *-*-hpux11.23.
From-SVN: r95917
2005-03-05 01:44:43 +00:00
Matthew Sachs
e38f9c2136
gcc.exp (gcc_target_compile): Put braces around additional_flags=$TOOL_OPTIONS...
...
* gcc.exp (gcc_target_compile): Put braces around
additional_flags=$TOOL_OPTIONS; allows for whitespace in $TOOL_OPTIONS.
* objc.exp (objc_target_compile): Likewise.
* treelang.exp (treelang_target_compile): Likewise.
From-SVN: r95912
2005-03-05 00:27:04 +00:00
Paolo Carlini
f4e4284dcc
type_traits: Add is_base_of.
...
2005-03-04 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Add is_base_of.
* testsuite/tr1/4_metaprogramming/relationships_between_types/
is_base_of/is_base_of.cc: New.
* testsuite/tr1/4_metaprogramming/relationships_between_types/
is_base_of/typedefs.cc: Likewise.
From-SVN: r95911
2005-03-05 00:22:48 +00:00
GCC Administrator
ce11b6e146
Daily bump.
...
From-SVN: r95909
2005-03-05 00:16:40 +00:00
Jeff Law
d38ffc5542
basic-block.h (rediscover_loops_after_threading): Declare.
...
* basic-block.h (rediscover_loops_after_threading): Declare.
* tree-ssa-dom.c: Include cfgloop.h.
(tree_ssa_dominator_optimize): Discover loops and some basic
properties. Remove forwarder blocks recreated by loop header
canonicalization. Also mark backedges in the CFG.
* tree-ssa-threadupdate.c: Include cfgloop.h
(rediscover_loops_after_threading): Define.
(struct local_info): New field, JUMP_THREADED.
(prune_undesirable_thread_requests): New function.
(redirect_edges): Clear EDGE_ABNORMAL. If edges were threaded
then record that fact for the callers of redirct_edges.
(thread_block): If BB has incoming backedges, then call
prune_undesirable_thraed_requests. Note when we are
going to have to rediscover loop information. Return a
boolean indicating if any jumps were threaded.
(thread_through_all_blocks): Bubble up boolean indicating
if any jumps were threaded.
* Makefile.in (tree-ssa-dom.o): Depend on cfgloop.h
(tree-ssa-threadupdate.o): Similarly.
From-SVN: r95903
2005-03-04 14:35:49 -07:00
Tobias Schlüter
3852e8b8f2
re PR fortran/19673 (pointer function with RESULT specified returns pointer to "ptr" rather than "*ptr")
...
fortran/
PR fortran/19673
* trans-expr.c (gfc_conv_function_call): Correctly dereference
argument from a pointer function also if it has a result clause.
testsuite/
PR fortran/19673
* gfortran.dg/func_result_1.f90: New test.
From-SVN: r95901
2005-03-04 22:03:46 +01:00
Joseph Myers
a873fcb435
tr.po: Update.
...
* tr.po: Update.
* vi.po: New file.
From-SVN: r95898
2005-03-04 20:29:03 +00:00
Kazu Hirata
3ea2c2646e
fold-const.c (fold_ternary): Unroll the "for" loop to extract operands.
...
* fold-const.c (fold_ternary): Unroll the "for" loop to
extract operands.
From-SVN: r95895
2005-03-04 19:59:45 +00:00
Andrew Haley
b120f3b75c
unwind-dw2-fde-glibc.c (struct unw_eh_callback_data.check_cache): New field.
...
2005-03-04 Andrew Haley <aph@redhat.com>
* unwind-dw2-fde-glibc.c (struct
unw_eh_callback_data.check_cache): New field.
(frame_hdr_cache): New.
(_Unwind_IteratePhdrCallback): Add ext_dl_phdr_info.
Cache frame header info.
From-SVN: r95894
2005-03-04 19:54:16 +00:00
Steven G. Kargl
37e860a298
* expr.c (gfc_copy_shape_excluding): Change && to ||.
...
From-SVN: r95891
2005-03-04 17:09:18 +00:00
Andrew Haley
7235c3007d
re PR java/18362 (internal compiler error: in size_binop, at fold-const.c:1598)
...
2005-03-04 Andrew Haley <aph@redhat.com>
PR java/18362
* class.c (set_method_index): Don't set method_index if it is
NULL_TREE.
(layout_class_method): Don't complain about "non-static method foo
overrides static method" in the case of indirect dispatch.
From-SVN: r95888
2005-03-04 15:38:13 +00:00
Jakub Jelinek
730967114b
re PR preprocessor/20282 (gcc4 can not bootstrap itself anymore)
...
PR bootstrap/20282
PR bootstrap/20305
* macro.c (replace_args, cpp_get_token): Copy whole
cpp_token_u instead of just cpp_string field from it.
From-SVN: r95887
2005-03-04 16:33:23 +01:00