aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-11-03re PR bootstrap/12666 (fixincludes problem on IRIX 6.5.19m)Rainer Orth3-6/+11
* 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
2003-11-03* doc/install-old.texi: Remove VMS documentation.Joseph Myers2-255/+5
From-SVN: r73223
2003-11-03* config.sub: Update to 2003-11-03 version.Ulrich Weigand2-1/+15
From-SVN: r73217
2003-11-03Makefile.am (my_make_i_flags): Add $(srcdir) and update comment to match.Kelley Cook3-39/+45
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
2003-11-03i386.c (override_options): Remove hack enabling 128bit long double commited ↵Jan Hubicka2-1/+5
by accident. * i386.c (override_options): Remove hack enabling 128bit long double commited by accident. From-SVN: r73213
2003-11-02c-opts.c (needValue): Do cpp_find_main_file before processing any imacros ↵Per Bothner2-3/+9
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
2003-11-03Makefile.in (GCC_CFLAGS): Allow blacklisting of warnings.Andreas Jaeger2-1/+9
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
2003-11-03re PR java/12866 (gcj checks `throws' clause on artificial method)Jeff Sturm2-4/+12
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
2003-11-03Daily bump.GCC Administrator2-2/+2
From-SVN: r73208
2003-11-02re PR rtl-optimization/12845 (missed jump optimization)John David Anglin2-0/+11
PR optimization/12845 * pa.c (output_cbranch): Use cmpb for DImode comparisons with 0. From-SVN: r73205
2003-11-02print-rtl.c (print_rtx): Call PRINT_REG with second argument -1.Zack Weinberg4-102/+50
* 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
2003-11-02fde-glibc.c (_GNU_SOURCE): Define to 1 instead of empty to avoid conflict ↵Andreas Schwab2-2/+7
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
2003-11-02re PR c++/9810 (Using-declaration for template functions does not work)Kriang Lerdsuwanakij5-3/+69
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
2003-11-02re PR rtl-optimization/10817 (gcc does not optimize ↵Roger Sayle5-12/+105
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
2003-11-02va-arg-25.c: Enable only if INT_MAX == 2147483647.Kazu Hirata2-0/+8
* gcc.c-torture/execute/va-arg-25.c: Enable only if INT_MAX == 2147483647. From-SVN: r73199
2003-11-02Makefile.in (targhooks.o, reload.o): Update dependencies.Richard Sandiford9-4/+111
* 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
2003-11-02re PR rtl-optimization/12799 (faulty mov->add change clobbers the CC register)Eric Botcazou4-12/+58
PR optimization/12799 * postreload.c (reload_cse_move2add): Generate the add2 patterns manually. From-SVN: r73195
2003-11-02sparc.c (function_arg_partial_nregs): Return 0 for all complex modes whose ↵Eric Botcazou4-2/+49
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
2003-11-02* som.h (DO_GLOBAL_DTORS_BODY): Change to C90 declaration.John David Anglin2-2/+4
From-SVN: r73193
2003-11-02* libgcc2.c (SYMBOL__MAIN): Provide C90 declaration.John David Anglin2-1/+4
From-SVN: r73191
2003-11-02Daily bump.GCC Administrator2-2/+2
From-SVN: r73189
2003-11-02* collect2.c (scan_libraries): Fix typos.John David Anglin2-2/+4
From-SVN: r73187
2003-11-02cvsignore: Remove c-parse.* and tradcif.cKelley Cook5-16/+9
* .cvsignore: Remove c-parse.* and tradcif.c * objc/.cvsignore: Delete. * java/.cvsignore: Delete. From-SVN: r73186
2003-11-02* maintainer-addresses: New script.Gerald Pfeifer2-0/+29
From-SVN: r73185
2003-11-02unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead of NULL.Roger Sayle2-1/+6
* unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead of NULL. From-SVN: r73184
2003-11-01re PR preprocessor/12847 (xxx.c:1:20: xxxx.h: No such file or directory)John David Anglin15-210/+237
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
2003-11-01rs6000.c (rs6000_mixed_function_arg): Correct no_units calculation.Fariborz Jahanian2-1/+6
* config/rs6000/rs6000.c (rs6000_mixed_function_arg): Correct no_units calculation. From-SVN: r73182
2003-11-01unwind-dw2.c (_Unwind_FrameState): Remove commas at end of enumeration list.Andreas Jaeger2-2/+7
* unwind-dw2.c (_Unwind_FrameState): Remove commas at end of enumeration list. From-SVN: r73180
2003-11-01sysv4.h (SDATA_SECTION_FUNCTION): Update to C90 prototypes.Andreas Schwab2-2/+8
* config/ia64/sysv4.h (SDATA_SECTION_FUNCTION): Update to C90 prototypes. (SBSS_SECTION_FUNCTION): Likewise. From-SVN: r73177
2003-11-01Makefile.in (GCC_CFLAGS): Add @WERROR@ for target files.Andreas Jaeger2-6/+10
2003-11-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * Makefile.in (GCC_CFLAGS): Add @WERROR@ for target files. From-SVN: r73176
2003-11-01re PR c++/12796 (Wrong line number in error message)Kriang Lerdsuwanakij3-5/+11
PR c++/12796 * g++.dg/template/crash13.C: Adjust expected error location. * g++.old-deja/g++.brendan/ns1.C: Likewise. From-SVN: r73175
2003-11-01re PR c++/12796 (Wrong line number in error message)Kriang Lerdsuwanakij2-0/+10
PR c++/12796 * class.c (handle_using_decl): Set input_location before calling error_not_base_type. From-SVN: r73174
2003-11-01sysv4.h (EXTRA_SECTION_FUNCTIONS): Update to C90 prototypes.Andreas Tobler2-7/+12
2003-11-01 Andreas Tobler <a.tobler@schweiz.ch> * config/rs6000/sysv4.h (EXTRA_SECTION_FUNCTIONS): Update to C90 prototypes. From-SVN: r73173
2003-11-01unwind-dw2.c (_Unwind_FindEnclosingFunction): Constify variable.Andreas Jaeger3-29/+40
* 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
2003-10-31Note that the previous check-in to c-opts.c fixes PR preprocessor/12545.Per Bothner1-0/+1
From-SVN: r73171
2003-10-31c-opts.c (finish_options): Change to returns boolean - false iff the call to ↵Per Bothner2-7/+17
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
2003-11-01aclocal.m4: Blacklist ultrix* for mmap file.John David Anglin3-2/+5
* aclocal.m4: Blacklist ultrix* for mmap file. * configure: Rebuilt. From-SVN: r73169
2003-11-01function.c (assign_parms): Add ATTRIBUTE_UNUSED to variable ↵John David Anglin3-1/+7
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
2003-11-01vax.c: Include toplev.h.John David Anglin3-4/+24
* 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
2003-11-01re PR middle-end/11968 (Array reference is incorrectly computed for ↵Roger Sayle3-12/+14
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
2003-11-01re PR other/12315 (ICE using -p with functions returning structs)Alan Modra2-2/+7
PR 12315 * final.c (profile_function): Allow for NULL svrtx. From-SVN: r73165
2003-11-01Daily bump.GCC Administrator2-2/+2
From-SVN: r73163
2003-10-31pa.c (pa_select_section): Use new style declaration.John David Anglin3-5/+8
* pa.c (pa_select_section): Use new style declaration. * som.h (readonly_data): Likewise. From-SVN: r73160
2003-10-31* config/rs6000/rs6000.c: Update to C90 prototypes.Kelley Cook2-8/+7
From-SVN: r73159
2003-10-31Bah! Missed PR no again!Richard Earnshaw1-0/+1
PR target/7513 * arm.h (CONDITIONAL_REGISTER_USAGE): Disable use of LR in Thumb code. From-SVN: r73158
2003-10-31arm.h (CONDITIONAL_REGISTER_USAGE): Disable use of LR in Thumb code.Richard Earnshaw2-0/+11
* arm.h (CONDITIONAL_REGISTER_USAGE): Disable use of LR in Thumb code. From-SVN: r73157
2003-10-312003-10-31 Andreas Jaeger <aj@suse.de>,Andreas Jaeger5-65/+97
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
2003-10-31* g++.dg/bprob/bprob.exp: Disable test on arm-elf configs.Richard Earnshaw2-0/+7
From-SVN: r73153
2003-10-31Add UNITS_PER_ARG missed in patch.Fariborz Jahanian2-2/+6
Co-Authored-By: David Edelsohn <edelsohn@gnu.org> From-SVN: r73152
2003-10-31rs6000.c (rs6000_mixed_function_arg): New.Fariborz Jahanian3-86/+128
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