Volker Reichelt [Mon, 3 Nov 2003 21:29:35 +0000 (21:29 +0000)]
re PR c++/12726 (ICE (segfault) on trivial code)
PR c++/12726
* g++.dg/ext/complit2.C: Replace test with self-contained version.
* ChangeLog: Add missing first entry for above test.
From-SVN: r73227
Rainer Orth [Mon, 3 Nov 2003 21:07:34 +0000 (21:07 +0000)]
re PR bootstrap/12666 (fixincludes problem on IRIX 6.5.19m)
* fixinc/inclhack.def (stdio_va_list): Allow tab before va_list.
Merge two substitutions.
* fixinc/fixincl.x: Regenerate.
Fixes PR bootstrap/12666.
From-SVN: r73226
Joseph Myers [Mon, 3 Nov 2003 19:11:02 +0000 (19:11 +0000)]
* doc/install-old.texi: Remove VMS documentation.
From-SVN: r73223
Ulrich Weigand [Mon, 3 Nov 2003 15:25:17 +0000 (15:25 +0000)]
* config.sub: Update to 2003-11-03 version.
From-SVN: r73217
Kelley Cook [Mon, 3 Nov 2003 13:21:00 +0000 (13:21 +0000)]
Makefile.am (my_make_i_flags): Add $(srcdir) and update comment to match.
2003-10-30 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.am (my_make_i_flags): Add $(srcdir) and update comment
to match.
(fastjar.info): Update target to write to build directory.
(%.1): New implicit rule from a .pod file.
(jar.1): Delete.
(grepjar.1): Delete.
(jar.pod): New intermediate rule.
(grepjar.pod): Likewise.
* Makefile.in: Regenerate.
From-SVN: r73216
Jan Hubicka [Mon, 3 Nov 2003 11:52:42 +0000 (12:52 +0100)]
i386.c (override_options): Remove hack enabling 128bit long double commited by accident.
* i386.c (override_options): Remove hack enabling 128bit long double
commited by accident.
From-SVN: r73213
Per Bothner [Mon, 3 Nov 2003 07:24:28 +0000 (23:24 -0800)]
c-opts.c (needValue): Do cpp_find_main_file before processing any imacros flags...
* c-opts.c (needValue): Do cpp_find_main_file before processing
any imacros flags, so pfile->main_file is set for the latter.
From-SVN: r73212
Andreas Jaeger [Mon, 3 Nov 2003 05:35:30 +0000 (06:35 +0100)]
Makefile.in (GCC_CFLAGS): Allow blacklisting of warnings.
2003-11-03 Andreas Jaeger <aj@suse.de>
Zack Weinberg <zack@codesourcery.com>
* Makefile.in (GCC_CFLAGS): Allow blacklisting of warnings.
(SYSCALLS.c.X-warn): Suppress warnings.
Co-Authored-By: Zack Weinberg <zack@codesourcery.com>
From-SVN: r73211
Jeff Sturm [Mon, 3 Nov 2003 03:58:50 +0000 (03:58 +0000)]
re PR java/12866 (gcj checks `throws' clause on artificial method)
Fixes PR java/12866.
* parse.y (resolve_qualified_expression_name): Move test
for outer field access methods from here...
(check_thrown_exceptions) ...to here.
From-SVN: r73210
GCC Administrator [Mon, 3 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r73208
John David Anglin [Sun, 2 Nov 2003 21:38:54 +0000 (21:38 +0000)]
re PR rtl-optimization/12845 (missed jump optimization)
PR optimization/12845
* pa.c (output_cbranch): Use cmpb for DImode comparisons with 0.
From-SVN: r73205
Zack Weinberg [Sun, 2 Nov 2003 19:47:57 +0000 (19:47 +0000)]
print-rtl.c (print_rtx): Call PRINT_REG with second argument -1.
* print-rtl.c (print_rtx): Call PRINT_REG with second argument -1.
* config/i386/i386.c (print_reg): Abort on a virtual register
if code != -1; not if file == asm_out_file.
* config/i386/i386.h (PRINT_REG): Document meaning of CODE == -1.
(DEBUG_PRINT_REG): Delete, unused.
From-SVN: r73203
Andreas Schwab [Sun, 2 Nov 2003 17:35:20 +0000 (17:35 +0000)]
fde-glibc.c (_GNU_SOURCE): Define to 1 instead of empty to avoid conflict with the definition from configure.
* config/ia64/fde-glibc.c (_GNU_SOURCE): Define to 1 instead of
empty to avoid conflict with the definition from configure.
From-SVN: r73202
Kriang Lerdsuwanakij [Sun, 2 Nov 2003 14:17:39 +0000 (14:17 +0000)]
re PR c++/9810 (Using-declaration for template functions does not work)
PR c++/9810
* call.c (build_over_call): Check access using primary template
if FN is a member function template.
* g++.dg/template/using8.C: New test.
* g++.old-deja/g++.other/access11.C: Adjust expected error location.
From-SVN: r73201
Roger Sayle [Sun, 2 Nov 2003 13:56:42 +0000 (13:56 +0000)]
re PR rtl-optimization/10817 (gcc does not optimize result=0;if(t!=0)result=t; to result=t;)
PR optimization/10817
* ifcvt.c (noce_emit_move_insn): Improve documentation comment.
(noce_try_move): New function to optimize an if-the-else into an
unconditional move, i.e. "if (a!=b) x=a; else x=b" into "x=a".
(noce_process_if_block): Attempt simplification with noce_try_move.
* simplify-rtx.c (simplify_ternary_operation): Some minor fixes
and improvements to the optimizations of IF_THEN_ELSE expressions.
(simplify_subreg): Silence signed/unsigned comparison warning.
* gcc.c-torture/compile/
20031102-1.c: New test case.
From-SVN: r73200
Kazu Hirata [Sun, 2 Nov 2003 13:09:37 +0000 (13:09 +0000)]
va-arg-25.c: Enable only if INT_MAX ==
2147483647.
* gcc.c-torture/execute/va-arg-25.c: Enable only if INT_MAX ==
2147483647.
From-SVN: r73199
Richard Sandiford [Sun, 2 Nov 2003 09:34:54 +0000 (09:34 +0000)]
Makefile.in (targhooks.o, reload.o): Update dependencies.
* Makefile.in (targhooks.o, reload.o): Update dependencies.
(GTFILES): Add targhooks.c.
(gt-targhooks.h): New rule; depend on s-gtype.
* target.h (direct_pool_load_p): New hook.
* target-def.h (TARGET_DIRECT_POOL_LOAD_P): New macro.
(TARGET_INITIALIZER): Include it.
* targhooks.h (default_direct_pool_load_p): Declare.
(hook_bool_machine_mode_true): Declare.
* targhooks.c: Include insn-config.h, recog.h, ggc.h and
gt-targhooks.h.
(pool_symbol): New variable.
(default_direct_pool_load_p): New function.
(hook_bool_machine_mode_true): New function.
* reload.c: Include target.h.
(find_reloads): If an alternative will force a constant into memory,
count an extra reload if constant pool symbols are not valid
addresses. If an alternative uses memory to move values between
registers, count the move as two reloads rather than one.
* config/s390/s390.c (TARGET_DIRECT_POOL_LOAD_P): Define.
* doc/tm.texi (TARGET_DIRECT_POOL_LOAD_P): Document.
From-SVN: r73196
Eric Botcazou [Sun, 2 Nov 2003 08:32:23 +0000 (09:32 +0100)]
re PR rtl-optimization/12799 (faulty mov->add change clobbers the CC register)
PR optimization/12799
* postreload.c (reload_cse_move2add): Generate the add2
patterns manually.
From-SVN: r73195
Eric Botcazou [Sun, 2 Nov 2003 08:27:23 +0000 (09:27 +0100)]
sparc.c (function_arg_partial_nregs): Return 0 for all complex modes whose size is lesser or equal to a word.
* config/sparc/sparc.c (function_arg_partial_nregs) [TARGET_ARCH64]:
Return 0 for all complex modes whose size is lesser or equal to
a word. Add a ??? comment for the condition used with 16-byte
aligned modes.
From-SVN: r73194
John David Anglin [Sun, 2 Nov 2003 01:01:24 +0000 (01:01 +0000)]
* som.h (DO_GLOBAL_DTORS_BODY): Change to C90 declaration.
From-SVN: r73193
John David Anglin [Sun, 2 Nov 2003 00:16:33 +0000 (00:16 +0000)]
* libgcc2.c (SYMBOL__MAIN): Provide C90 declaration.
From-SVN: r73191
GCC Administrator [Sun, 2 Nov 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r73189
John David Anglin [Sun, 2 Nov 2003 00:12:45 +0000 (00:12 +0000)]
* collect2.c (scan_libraries): Fix typos.
From-SVN: r73187
Kelley Cook [Sun, 2 Nov 2003 00:08:12 +0000 (00:08 +0000)]
cvsignore: Remove c-parse.* and tradcif.c
* .cvsignore: Remove c-parse.* and tradcif.c
* objc/.cvsignore: Delete.
* java/.cvsignore: Delete.
From-SVN: r73186
Gerald Pfeifer [Sun, 2 Nov 2003 00:02:21 +0000 (00:02 +0000)]
* maintainer-addresses: New script.
From-SVN: r73185
Roger Sayle [Sun, 2 Nov 2003 00:00:08 +0000 (00:00 +0000)]
unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead of NULL.
* unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead
of NULL.
From-SVN: r73184
John David Anglin [Sat, 1 Nov 2003 22:56:54 +0000 (22:56 +0000)]
re PR preprocessor/12847 (xxx.c:1:20: xxxx.h: No such file or directory)
PR preprocessor/12847
* cppfiles.c, cppexp.c, cpperror.c, cpplib.h, cpplib.c, cpplex.c,
cppinit.c, cpptrad.c, cppmacro.c, fix-header.c, cpppch.c, c-pch.c,
c-incpath.c, cppcharset.c (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN,
DL_ERROR, DL_ICE, DL_EXTRACT, DL_WARNING_P): Prefix macro names with
"CPP_".
From-SVN: r73183
Fariborz Jahanian [Sat, 1 Nov 2003 22:00:33 +0000 (22:00 +0000)]
rs6000.c (rs6000_mixed_function_arg): Correct no_units calculation.
* config/rs6000/rs6000.c (rs6000_mixed_function_arg): Correct
no_units calculation.
From-SVN: r73182
Andreas Jaeger [Sat, 1 Nov 2003 18:31:56 +0000 (19:31 +0100)]
unwind-dw2.c (_Unwind_FrameState): Remove commas at end of enumeration list.
* unwind-dw2.c (_Unwind_FrameState): Remove commas at end of
enumeration list.
From-SVN: r73180
Andreas Schwab [Sat, 1 Nov 2003 17:26:09 +0000 (17:26 +0000)]
sysv4.h (SDATA_SECTION_FUNCTION): Update to C90 prototypes.
* config/ia64/sysv4.h (SDATA_SECTION_FUNCTION): Update to C90
prototypes.
(SBSS_SECTION_FUNCTION): Likewise.
From-SVN: r73177
Andreas Jaeger [Sat, 1 Nov 2003 16:58:44 +0000 (17:58 +0100)]
Makefile.in (GCC_CFLAGS): Add @WERROR@ for target files.
2003-11-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (GCC_CFLAGS): Add @WERROR@ for target files.
From-SVN: r73176
Kriang Lerdsuwanakij [Sat, 1 Nov 2003 16:09:38 +0000 (16:09 +0000)]
re PR c++/12796 (Wrong line number in error message)
PR c++/12796
* g++.dg/template/crash13.C: Adjust expected error location.
* g++.old-deja/g++.brendan/ns1.C: Likewise.
From-SVN: r73175
Kriang Lerdsuwanakij [Sat, 1 Nov 2003 12:00:25 +0000 (12:00 +0000)]
re PR c++/12796 (Wrong line number in error message)
PR c++/12796
* class.c (handle_using_decl): Set input_location before calling
error_not_base_type.
From-SVN: r73174
Andreas Tobler [Sat, 1 Nov 2003 11:31:24 +0000 (12:31 +0100)]
sysv4.h (EXTRA_SECTION_FUNCTIONS): Update to C90 prototypes.
2003-11-01 Andreas Tobler <a.tobler@schweiz.ch>
* config/rs6000/sysv4.h (EXTRA_SECTION_FUNCTIONS): Update to C90
prototypes.
From-SVN: r73173
Andreas Jaeger [Sat, 1 Nov 2003 09:59:50 +0000 (10:59 +0100)]
unwind-dw2.c (_Unwind_FindEnclosingFunction): Constify variable.
* unwind-dw2.c (_Unwind_FindEnclosingFunction): Constify variable.
(uw_frame_state_for): Constify variables.
(extract_cie_info): Constify first argument.
* unwind-dw2-fde-darwin.c: Adjust prototype of
_Unwind_Find_registered_FDE for recent changes.
(examine_objects): Constify return value and local variable result.
(_Unwind_Find_FDE): Constify return value and local variable ret.
From-SVN: r73172
Per Bothner [Sat, 1 Nov 2003 03:25:21 +0000 (19:25 -0800)]
Note that the previous check-in to c-opts.c fixes PR preprocessor/12545.
From-SVN: r73171
Per Bothner [Sat, 1 Nov 2003 03:19:59 +0000 (03:19 +0000)]
c-opts.c (finish_options): Change to returns boolean - false iff the call to cpp_find_main_file fails.
* c-opts.c (finish_options): Change to returns boolean - false iff
the call to cpp_find_main_file fails.
(c_common_init): Skip preprocess_file if finish_options failed.
(c_common_parse_file): Break if finish_options failed.
From-SVN: r73170
John David Anglin [Sat, 1 Nov 2003 02:34:58 +0000 (02:34 +0000)]
aclocal.m4: Blacklist ultrix* for mmap file.
* aclocal.m4: Blacklist ultrix* for mmap file.
* configure: Rebuilt.
From-SVN: r73169
John David Anglin [Sat, 1 Nov 2003 02:23:44 +0000 (02:23 +0000)]
function.c (assign_parms): Add ATTRIBUTE_UNUSED to variable reg_parm_stack_space.
* function.c (assign_parms): Add ATTRIBUTE_UNUSED to variable
reg_parm_stack_space.
* toplev.c (default_get_pch_validity): Fix warning.
From-SVN: r73168
John David Anglin [Sat, 1 Nov 2003 02:11:12 +0000 (02:11 +0000)]
vax.c: Include toplev.h.
* vax.c: Include toplev.h.
(vax_init_libfuncs): Fix typo (umod).
* vax.h (ASM_COMMENT_START): Define.
(PRINT_OPERAND): Fix warning when HOST_WIDE_INT is a long long.
From-SVN: r73167
Roger Sayle [Sat, 1 Nov 2003 00:59:53 +0000 (00:59 +0000)]
re PR middle-end/11968 (Array reference is incorrectly computed for POINTERS_EXTEND_UNSIGNED)
PR middle-end/11968
* expr.c (expand_expr <MULT_EXPR>): Remove inappropriate and
confusing comment; distributivity isn't handled in expand_expr.
* fold-const.c (extract_muldiv_1 <PLUS_EXPR>): Allow overflow
in distributivity, if wrap-around semantics are specified with
-fwrapv.
From-SVN: r73166
Alan Modra [Sat, 1 Nov 2003 00:48:50 +0000 (00:48 +0000)]
re PR other/12315 (ICE using -p with functions returning structs)
PR 12315
* final.c (profile_function): Allow for NULL svrtx.
From-SVN: r73165
GCC Administrator [Sat, 1 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r73163
John David Anglin [Fri, 31 Oct 2003 22:08:55 +0000 (22:08 +0000)]
pa.c (pa_select_section): Use new style declaration.
* pa.c (pa_select_section): Use new style declaration.
* som.h (readonly_data): Likewise.
From-SVN: r73160
Kelley Cook [Fri, 31 Oct 2003 21:47:01 +0000 (21:47 +0000)]
* config/rs6000/rs6000.c: Update to C90 prototypes.
From-SVN: r73159
Richard Earnshaw [Fri, 31 Oct 2003 21:44:35 +0000 (21:44 +0000)]
Bah! Missed PR no again!
PR target/7513
* arm.h (CONDITIONAL_REGISTER_USAGE): Disable use of LR in Thumb
code.
From-SVN: r73158
Richard Earnshaw [Fri, 31 Oct 2003 21:42:23 +0000 (21:42 +0000)]
arm.h (CONDITIONAL_REGISTER_USAGE): Disable use of LR in Thumb code.
* arm.h (CONDITIONAL_REGISTER_USAGE): Disable use of LR in Thumb
code.
From-SVN: r73157
Andreas Jaeger [Fri, 31 Oct 2003 20:46:26 +0000 (21:46 +0100)]
2003-10-31 Andreas Jaeger <aj@suse.de>,
Zack Weinberg <zack@codesourcery.com>
* crtstuff.c (__register_frame_info, __register_frame_info_bases)
(__deregister_frame_info, __deregister_frame_info_bases):
Constify void * argument.
* unwind-dw2-fde.h (struct fde_vector):
Constify 'orig_data' and 'array' fields.
(__register_frame_info, __register_frame_info_bases)
(__deregister_frame_info, __deregister_frame_info_bases):
Constify void * argument.
(get_cie, next_fde, _Unwind_Find_FDE): Constify arguments,
return values, and casts of type fde *, struct dwarf_fde *,
and struct dwarf_cie *.
* unwind-dw2-fde.c (__register_frame_info, __register_frame_info_bases)
(__deregister_frame_info, __deregister_frame_info_bases):
Constify void * argument.
(get_cie_encoding, ): Constify struct dwarf_cie * argument.
(get_fde_encoding, fde_unencoded_compare, fde_single_encoding_compare)
(fde_mixed_encoding_compare, fde_compare_t, start_fde_sort, fde_insert)
fde_split, SWAP, frame_downheap, frame_heapsort)
(classify_object_over_fdes, add_fdes, linear_search_fdes,
binary_search_unencoded_fdes, binary_search_single_encoding_fdes,
binary_search_mixed_encoding_fdes, search_object, _Unwind_Find_FDE):
Constify arguments, local variables, return values, and casts
of type fde *, fde **, struct dwarf_fde *, and struct dwarf_cie *.
Use const pointer types in sizeof expressions, for clarity.
* unwind-dw2-fde-glibc.c
(_Unwind_find_registered_FDE, _Unwind_find_FDE): Constify return value.
(struct unw_eh_callback_data): Constify 'ret' field.
Co-Authored-By: Zack Weinberg <zack@codesourcery.com>
From-SVN: r73155
Richard Earnshaw [Fri, 31 Oct 2003 16:04:21 +0000 (16:04 +0000)]
* g++.dg/bprob/bprob.exp: Disable test on arm-elf configs.
From-SVN: r73153
Fariborz Jahanian [Fri, 31 Oct 2003 15:58:39 +0000 (15:58 +0000)]
Add UNITS_PER_ARG missed in patch.
Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
From-SVN: r73152
Fariborz Jahanian [Fri, 31 Oct 2003 15:50:49 +0000 (15:50 +0000)]
rs6000.c (rs6000_mixed_function_arg): New.
2003-10-31 Fariborz Jahanian <fjahanian@apple.com>
David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.c (rs6000_mixed_function_arg): New.
(function_arg): Call it.
(rs6000_function_value): Widen integral return value to mode based
on TARGET_32BIT, not word_mode.
* config/rs6000/rs6000.h (PROMOTE_MODE): Likewise.
Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
From-SVN: r73151
Gerald Pfeifer [Fri, 31 Oct 2003 15:38:37 +0000 (15:38 +0000)]
cvsignore: No longer ignore gengtype-lex.c, gengtype-yacc.c, and gengtype-yacc.h.
* .cvsignore: No longer ignore gengtype-lex.c, gengtype-yacc.c,
and gengtype-yacc.h.
From-SVN: r73150
Richard Earnshaw [Fri, 31 Oct 2003 15:14:19 +0000 (15:14 +0000)]
Add PR to:
PR optimization/8896
* postreload.c (reload_combine): Check that REGY doesn't die in an
insn of the form (set (regx) (plus (regx) (regy))), ie REGX != REGY.
From-SVN: r73149
Richard Earnshaw [Fri, 31 Oct 2003 15:11:37 +0000 (15:11 +0000)]
postreload.c (reload_combine): Check that REGY doesn't die in an insn of the form (set (regx) (plus (regx)...
* postreload.c (reload_combine): Check that REGY doesn't die in an
insn of the form (set (regx) (plus (regx) (regy))), ie REGX != REGY.
From-SVN: r73148
Josef Zlomek [Fri, 31 Oct 2003 14:21:23 +0000 (15:21 +0100)]
20031031-2.c: New test.
PR/10239
* gcc.c-torture/compile/
20031031-2.c: New test.
From-SVN: r73146
Josef Zlomek [Fri, 31 Oct 2003 14:19:03 +0000 (15:19 +0100)]
cfgrtl.c (delete_insn): Decrease LABEL_NUSES for all REG_LABEL notes.
PR/10239
* cfgrtl.c (delete_insn): Decrease LABEL_NUSES for all REG_LABEL notes.
From-SVN: r73145
Josef Zlomek [Fri, 31 Oct 2003 14:09:51 +0000 (15:09 +0100)]
20031031-1.c: New test.
PR/11640
* gcc.c-torture/compile/
20031031-1.c: New test.
From-SVN: r73143
Josef Zlomek [Fri, 31 Oct 2003 14:09:34 +0000 (15:09 +0100)]
cfgrtl.c (try_redirect_by_replacing_jump): Move jump immediatelly before BARRIER.
PR/11640
* cfgrtl.c (try_redirect_by_replacing_jump): Move jump
immediatelly before BARRIER.
From-SVN: r73142
Kelley Cook [Fri, 31 Oct 2003 12:55:36 +0000 (12:55 +0000)]
C90 update
From-SVN: r73140
Kelley Cook [Fri, 31 Oct 2003 12:48:53 +0000 (12:48 +0000)]
* Makefile.in (ada/b_gnat1.o): Compile with -Wno-error.
From-SVN: r73139
Kelley Cook [Fri, 31 Oct 2003 12:41:34 +0000 (12:41 +0000)]
* Makefile.in (STRICT2_WARN): Add -Wold-style-definition
From-SVN: r73138
Andreas Schwab [Fri, 31 Oct 2003 12:37:54 +0000 (12:37 +0000)]
* raise.c (get_action_description_for): Fix typo in last change.
From-SVN: r73137
Richard Earnshaw [Fri, 31 Oct 2003 11:37:20 +0000 (11:37 +0000)]
re PR rtl-optimization/11271 ([arm-elf] regex.c ICEs for thumb multilib)
PR target/11271
* reload.c (find_reloads_address): Handle any register in
(PLUS (PLUS (REG) (REG)) (CONST_INT).
From-SVN: r73136
Richard Earnshaw [Fri, 31 Oct 2003 11:22:32 +0000 (11:22 +0000)]
ggc-page.c (ggc_pch_read): Wrap call to poison_pages in ENABLE_GC_CHECKING not in GGC_POISON.
* ggc-page.c (ggc_pch_read): Wrap call to poison_pages in
ENABLE_GC_CHECKING not in GGC_POISON.
From-SVN: r73135
Richard Earnshaw [Fri, 31 Oct 2003 11:03:00 +0000 (11:03 +0000)]
* include/private/gcconfig.h: Re-install change of 2003-04-16.
From-SVN: r73134
Richard Earnshaw [Fri, 31 Oct 2003 10:49:15 +0000 (10:49 +0000)]
bprob.exp: Disable test on arm-elf configs.
* g77.dg/bprob/bprob.exp: Disable test on arm-elf configs.
* gcc.misc-tests/bprob.exp: Likewise.
* g77.dg/execute/
20001201.x, 6367.x, io0.x, io1.x, u77-test.x: XFAIL
the execution test on arm-elf configs.
* g77.dg/execute/10197.x: New file. XFAIL the execution test on
configs that don't support scratch files.
* g77.dg/execute/u77-test.x: XFAIL compilation on arm-elf configs.
From-SVN: r73133
Jakub Jelinek [Fri, 31 Oct 2003 10:34:03 +0000 (11:34 +0100)]
com.c (ffecom_sym_transform_): Set tree type of offset to ssizetype.
* com.c (ffecom_sym_transform_): Set tree type of offset
to ssizetype.
From-SVN: r73127
Nathanael Nerode [Fri, 31 Oct 2003 09:58:46 +0000 (09:58 +0000)]
re PR bootstrap/9863 (Absence of awk isn't properly diagnosed at configure time)
PR bootstrap/9863
* configure.in: Bail out if awk is missing.
* configure: Regenerate.
From-SVN: r73126
Nathanael Nerode [Fri, 31 Oct 2003 09:53:53 +0000 (09:53 +0000)]
re PR ada/12761 ([3.3 only] Segmentation fault in gnat1 compiling a-except.adb)
(gcc)
PR ada/12761
* Makefile.in: Move default definitions of X_ADA_CFLAGS,
T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from ada/Make-lang.in to here.
(gcc/ada)
PR ada/12761
* ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS,
T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in.
From-SVN: r73125
Richard Henderson [Fri, 31 Oct 2003 07:14:43 +0000 (23:14 -0800)]
c-objc-common.c (c_tree_printer): Handle types correctly.
* c-objc-common.c (c_tree_printer): Handle types correctly.
Factor code a bit.
From-SVN: r73121
Andreas Jaeger [Fri, 31 Oct 2003 05:29:37 +0000 (06:29 +0100)]
* floatformat.c (floatformat_always_valid): Add unused attribute.
From-SVN: r73119
Mohan Embar [Fri, 31 Oct 2003 03:36:38 +0000 (03:36 +0000)]
re PR libgcj/12647 ([win32] wait() does not release monitor correctly)
PR libgcj/12647:
* win32-threads.cc (_Jv_CondWait): Respect mutex's
refcount when releasing and reacquiring it.
From-SVN: r73118
Mohan Embar [Fri, 31 Oct 2003 03:31:54 +0000 (03:31 +0000)]
win32.cc: (dirExists) Internal helper function to test for directory existence.
* win32.cc: (dirExists) Internal helper function to
test for directory existence.
(getUserHome) New helper function refactored out
of _Jv_platform_initProperties. Uses USERPROFILE
instead of HOMEDIR and attempts to support Win9X and NT.
(_Jv_platform_initProperties) Use getUserHome.
From-SVN: r73117
Mohan Embar [Fri, 31 Oct 2003 03:19:51 +0000 (03:19 +0000)]
re PR libgcj/11521 ([win32] can install server socket on same port twice)
PR libgcj/11521:
* gnu/java/net/natPlainSocketImplWin32.cc
(bind): Don't use SO_REUSEADDR
From-SVN: r73116
Mohan Embar [Fri, 31 Oct 2003 03:02:47 +0000 (03:02 +0000)]
re PR libgcj/6652 (new java.io.File("").getCanonicalFile() throws exception)
PR libgcj/6652:
* java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
From-SVN: r73115
R. Kelley Cook [Fri, 31 Oct 2003 01:08:43 +0000 (01:08 +0000)]
C90 prototype updates.
From-SVN: r73113
GCC Administrator [Fri, 31 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r73110
Eric Christopher [Thu, 30 Oct 2003 23:52:53 +0000 (23:52 +0000)]
fix date on changelog from last checkin.
From-SVN: r73108
Eric Christopher [Thu, 30 Oct 2003 23:50:53 +0000 (23:50 +0000)]
function.c (purge_addressof_1): Add case for REG_RETVAL notes when modes are unequal.
2003-10-25 Eric Christopher <echristo@redhat.com>
* function.c (purge_addressof_1): Add case for REG_RETVAL
notes when modes are unequal.
From-SVN: r73107
Jan Hubicka [Thu, 30 Oct 2003 23:27:30 +0000 (00:27 +0100)]
* i386-modes.def: Add XFmode format adjustment.
From-SVN: r73106
Jan Hubicka [Thu, 30 Oct 2003 22:59:45 +0000 (23:59 +0100)]
* real.c (encode_ieee_extended): Back out previous patch.
From-SVN: r73105
Bryce McKinlay [Thu, 30 Oct 2003 21:09:45 +0000 (21:09 +0000)]
natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable dispatch for final methods.
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use
vtable dispatch for final methods.
From-SVN: r73101
Jan Hubicka [Thu, 30 Oct 2003 21:01:16 +0000 (22:01 +0100)]
real.c (encode_ieee_extended): Initialize whole array.
* real.c (encode_ieee_extended): Initialize whole array.
* reg-stack.c (move_for_stack_reg0: Use always XFmode.
* i386-modes.def: Change definitions of TFmode and XFmode.
* i386.c (classify_argument): Rename TFmodes to XFmodes; add new TFmode code.
(construct_container): Allow constructing of TFmode integer containers.
(ix86_return_in_memory): XFmode is not returned in memory.
(init_ext_80387_constants): Always use XFmode.
(print_operand): Likewise.
(ix86_prepare_fp_compare_regs): Likewise.
(split_to_parts): Deal with TFmode.
(split_long_move): Simplify.
(ix86_init_mmx_sse_builtins): Add __float80, __float128.
(ix86_memory_move_cost): Do not confuse TFmode.
* i386.h (LONG_DOUBLE_TYPE_SIZE): Set to 96.
(IS_STACK_MODE): TFmode is not stack mode.
(HARD_REGNO_NREGS, CLASS_MAX_NREGS): Deal nicely with XFmode.
(VALID_SSE_REG_MODE): Allow TFmode.
(VALID_FP_MODE_P): Disallow TFmode.
(VALID_INT_MODE_P): Allow TFmode in 64bit mode.
* i386.md (TFmode patterns): Kill.
(movtf, motf_rex64): New patterns.
From-SVN: r73099
Josef Zlomek [Thu, 30 Oct 2003 20:18:13 +0000 (21:18 +0100)]
Jan Hubicka <jh@suse.cz>
Jan Hubicka <jh@suse.cz>
* vasprintf.c (int_vasprintf): Pass va_list by value.
Use va_copy for copying va_list.
(vasprintf): Pass va_list by value.
From-SVN: r73098
Richard Sandiford [Thu, 30 Oct 2003 18:13:43 +0000 (18:13 +0000)]
* config/mips/mips.md (adddi3): Fix typo in mips16 stack pointer code.
From-SVN: r73096
Richard Sandiford [Thu, 30 Oct 2003 18:11:27 +0000 (18:11 +0000)]
mips.md (mov_lwl): Use memory_operand where appropriate.
* config/mips/mips.md (mov_lwl): Use memory_operand where appropriate.
(mov_lwr, mov_swl, mov_swr): Likewise.
(mov_ldl, mov_ldr, mov_sdl, mov_sdr): Likewise.
From-SVN: r73095
Richard Sandiford [Thu, 30 Oct 2003 18:07:38 +0000 (18:07 +0000)]
* config/mips/mips.c (mips_global_pointer): Don't try to use $25.
From-SVN: r73094
Thomas Fitzsimmons [Thu, 30 Oct 2003 17:37:33 +0000 (17:37 +0000)]
gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on word wrapping.
2003-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
word wrapping.
From-SVN: r73093
Josef Zlomek [Thu, 30 Oct 2003 17:00:51 +0000 (18:00 +0100)]
hashtab.c (htab_find_slot_with_hash): Decrease n_deleted instead of increasing n_elements when inserting to deleted slot.
* hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
instead of increasing n_elements when inserting to deleted slot.
From-SVN: r73090
Richard Henderson [Thu, 30 Oct 2003 16:48:13 +0000 (08:48 -0800)]
mips.c (mips_build_builtin_va_list): Use runtime test for irix6 rather than preprocessor test.
* config/mips/mips.c (mips_build_builtin_va_list): Use runtime
test for irix6 rather than preprocessor test.
From-SVN: r73089
Richard Henderson [Thu, 30 Oct 2003 16:36:27 +0000 (08:36 -0800)]
* cppcharset.c (one_utf8_to_utf16): Initialize 's' to silence warning.
From-SVN: r73087
Arnaud Charlet [Thu, 30 Oct 2003 16:24:40 +0000 (17:24 +0100)]
Complete previous check in.
From-SVN: r73086
Arnaud Charlet [Thu, 30 Oct 2003 16:22:26 +0000 (17:22 +0100)]
run_all.sh: Do not print PASS messages to stdout, as done by dejagnu.
* ada/acats/run_all.sh: Do not print PASS messages to stdout, as
done by dejagnu.
From-SVN: r73085
Ulrich Weigand [Thu, 30 Oct 2003 14:11:34 +0000 (14:11 +0000)]
s390.c (struct machine_function): Use save_return_addr_p as a general flag that the return address register needs...
* config/s390/s390.c (struct machine_function): Use save_return_addr_p
as a general flag that the return address register needs to be saved,
not necessarily because of __builtin_return_addr (0).
(s390_split_branches): Remove TEMP_REG and TEMP_USED arguments,
remove special handling of zSeries machines.
(s390_optimize_prolog): Remove TEMP_USED argument, treat the return
register as a regular register on zSeries machines.
(s390_reorg): Adjust calls to s390_split_branches and
s390_optimize_prolog.
(s390_frame_info): On zSeries machines, do not assume the return
register is always used. Update regs_ever_live with current data
for the special registers.
(s390_emit_epilogue): Use save_return_addr_p to determine whether
the return register was saved.
* config/s390/s390.h (CONDITIONAL_REGISTER_USAGE): Do not mark
RETURN_REGNUM fixed on zSeries machines.
(REG_ALLOC_ORDER): Use RETURN_REGNUM last.
* config/s390/s390.md ("*doloop_si"): Handle branch overflow
via ahi-jgne pair on zSeries machines.
("*doloop_di"): Likewise.
("*doloop_di_long"): Remove.
From-SVN: r73084
Arnaud Charlet [Thu, 30 Oct 2003 11:50:12 +0000 (12:50 +0100)]
3vtrasym.adb: Demangle Ada symbols returned by TBK$SYMBOLIZE.
* 3vtrasym.adb:
Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line
numbers when symbol name is too long.
* g-signal.ads, g-signal.adb: New files
* impunit.adb: (Non_Imp_File_Names): Added "g-signal"
* Makefile.rtl: Introduce GNAT.Signals
* freeze.adb: Minor reformatting
* lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified
* par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb:
New handling of Id_Check parameter to improve recognition of keywords
used as identifiers.
Update copyright notice to include 2003
From-SVN: r73083
Richard Earnshaw [Thu, 30 Oct 2003 10:26:04 +0000 (10:26 +0000)]
arm.c (arm_override_options): Revert change of arm_constant_limit when optimizing for size.
* arm.c (arm_override_options): Revert change of arm_constant_limit
when optimizing for size.
From-SVN: r73082
Paolo Carlini [Thu, 30 Oct 2003 09:03:01 +0000 (09:03 +0000)]
locale_facets.tcc (time_get::_M_extract_via_format): __mod is only assigned, never used its value, remove it.
2003-10-30 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
__mod is only assigned, never used its value, remove it.
From-SVN: r73081
Richard Henderson [Thu, 30 Oct 2003 02:26:29 +0000 (18:26 -0800)]
fold-const.c (fold_single_bit_test): Convert the input to the operational intermediate type.
* fold-const.c (fold_single_bit_test): Convert the input to the
operational intermediate type.
From-SVN: r73077
Richard Henderson [Thu, 30 Oct 2003 02:02:49 +0000 (18:02 -0800)]
builtins.c (std_build_builtin_va_list): New.
* builtins.c (std_build_builtin_va_list): New.
* expr.h (std_build_builtin_va_list): Declare.
* defaults.h (BUILD_VA_LIST_TYPE): New.
* system.h (BUILD_VA_LIST_TYPE): Poison.
* target-def.h (TARGET_BUILD_BUILTIN_VA_LIST): New.
* target.h (struct gcc_target): Add build_builtin_va_list.
* tree.c (build_common_tree_nodes_2): Use it.
* config/alpha/alpha-protos.h, config/alpha/alpha.c,
config/alpha/alpha.h, config/alpha/unicosmk.h,
config/d30v/d30v-protos.h, config/d30v/d30v.c, config/d30v/d30v.h,
config/i386/i386-protos.h, config/i386/i386.c, config/i386/i386.h,
config/i860/i860-protos.h, config/i860/i860.c, config/i860/i860.h,
config/i960/i960-protos.h, config/i960/i960.c, config/i960/i960.h,
config/mips/iris6.h, config/mips/mips-protos.h, config/mips/mips.c,
config/mips/mips.h, config/rs6000/rs6000-protos.h,
config/rs6000/rs6000.c, config/rs6000/rs6000.h,
config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
config/sh/sh-protos.h, config/sh/sh.c, config/sh/sh.h,
config/xtensa/xtensa-protos.h, config/xtensa/xtensa.c,
config/xtensa/xtensa.h: Rename foo_build_va_list to
foo_build_builtin_va_list; make it static. Define
TARGET_BUILD_BUILTIN_VA_LIST. Remove BUILD_VA_LIST_TYPE.
Update protos.
* config/i386/i386.c (ix86_expand_carry_flag_compare): Make static.
* config/iq2000/iq2000.h (BUILD_VA_LIST_TYPE): Remove.
From-SVN: r73076
Thomas Fitzsimmons [Thu, 30 Oct 2003 01:49:39 +0000 (01:49 +0000)]
gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return scrolled window's size request.
2003-10-29 Thomas Fitzsimmons <fitzsim@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
scrolled window's size request.
From-SVN: r73075