aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2001-10-17Makefile.in (misc.o): Depend on langhooks.h.Richard Henderson8-13/+48
ada/ * Makefile.in (misc.o): Depend on langhooks.h. * misc.c: Include it. (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New. (LANG_HOOKS_DECODE_OPTION): New. (lang_hooks): Use LANG_HOOKS_INITIALIZER. f/ * Make-lang.in (f/com.o): Depend on langhooks.h. * com.c: Include it. (LANG_HOOKS_INIT, LANG_HOOKS_FINISH): New. (LANG_HOOKS_INIT_OPTIONS, LANG_HOOKS_DECODE_OPTION): New. (lang_hooks): Use LANG_HOOKS_INITIALIZER. java/ * Make-lang.in (java/lang.o): Depend on langhooks.h. From-SVN: r46318
2001-10-17cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory leak.Richard Earnshaw2-1/+6
* cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory leak. From-SVN: r46317
2001-10-17Makefile.in (print-rtl.o): Depend on TREE_H.Richard Kenner2-22/+6
* Makefile.in (print-rtl.o): Depend on TREE_H. * alias.c (get_alias_set): Make two passes over objects to first see if inner object is access via restricted pointer. Defer allocating alias set for restricted pointer until here. Call find_placeholder with second arg nonzero. Minor cleanups. * c-common.c (c_apply_type_quals_to_decl): Defer getting alias set for restricted pointer types. * emit-rtl.c (set_mem_attributes): Set more attributes. (set_mem_align, change_address, adjust_address_1): New functions. (change_address_1): Now static. (adjust_address, adjust_address_nv): Deleted. (replace_equiv_address): Call change_address_1. * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR. (find_placeholder): Get starting point from PLIST arg. (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg. * expr.h (set_mem_align, change_address, adjust_address_1): New decls. (adjust_address, adjust_address_nv): New macros. * print-rtl.c (tree.h): New include. (print_rtx, case MEM): Print all memory attributes. From-SVN: r46314
2001-10-17Makefile.in (print-rtl.o): Depend on TREE_H.Richard Kenner7-117/+260
* Makefile.in (print-rtl.o): Depend on TREE_H. * alias.c (get_alias_set): Make two passes over objects to first see if inner object is access via restricted pointer. Defer allocating alias set for restricted pointer until here. Call find_placeholder with second arg nonzero. Minor cleanups. * emit-rtl.c (set_mem_attributes): Set more attributes. (set_mem_align, change_address, adjust_address_1): New functions. (change_address_1): Now static. (adjust_address, adjust_address_nv): Deleted. (replace_equiv_address): Call change_address_1. * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR. (find_placeholder): Get starting point from PLIST arg. (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg. * expr.h (set_mem_align, change_address, adjust_address_1): New decls. (adjust_address, adjust_address_nv): New macros. * print-rtl.c (tree.h): New include. (print_rtx, case MEM): Print all memory attributes. From-SVN: r46313
2001-10-17* config/alpha/alpha.c (direct_call_operand): Don't fall off end.Richard Henderson2-0/+6
From-SVN: r46311
2001-10-17c-tree.texi: Eliminate duplicated word.Matt Kraai6-7/+15
* c-tree.texi: Eliminate duplicated word. * cpp.texi: Likewise. * install.texi: Likewise. * invoke.texi: Likewise. * tm.texi: Likewise. From-SVN: r46310
2001-10-17Daily bump.GCC Administrator2-2/+2
From-SVN: r46309
2001-10-17Add ChangeLog entry for dsp16xx/dsp16xx.c change.Michael Collison1-0/+8
From-SVN: r46306
2001-10-17dsp16xx.c: Fix comment formatting to match GNU standards.Michael Collison1-78/+77
* dsp16xx.c: Fix comment formatting to match GNU standards. (dsp16xx_output_function_prologue): Change type of 'size' parameter from 'int' to HOST_WIDE_INT. (dsp16xx_output_function_epilogue): Change type of 'size' parameter from 'int' to HOST_WIDE_INT. From-SVN: r46305
2001-10-16configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.Richard Henderson23-214/+140
* configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check. * configure, config.in: Rebuild. * config/i386/i386.c (ix86_output_addr_vec_elt): New. (ix86_output_addr_diff_elt): New. * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them. (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. (JUMP_TABLES_IN_TEXT_SECTION): New. * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA. * config/i386/i386-protos.h: Update. * config/i386/386bsd.h, config/i386/beos-elf.h, config/i386/freebsd-aout.h, config/i386/freebsd.h, config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h, config/i386/netbsd-elf.h, config/i386/netbsd.h, config/i386/openbsd.h, config/i386/ptx4-i.h, config/i386/rtemself.h, config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove. From-SVN: r46303
2001-10-16cp-tree.h (BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK): Defined for tree ↵H.J. Lu2-0/+6
checking disabled. * cp-tree.h (BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK): Defined for tree checking disabled. From-SVN: r46302
2001-10-16* stmt.c (expand_asm_operands): Update commentary.Florian Weimer2-1/+7
From-SVN: r46301
2001-10-16darwin.h (GCC_NAME): Remove, no longer used.Stan Shebs3-8/+34
* config/darwin.h (GCC_NAME): Remove, no longer used. (NO_MATH_LIBRARY): Ditto. (MATH_LIBRARY): Define to emptiness. (DWARF2_DEBUGGING_INFO): Define. (PREFERRED_DEBUGGING_TYPE): Define. (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section. (EXCEPTION_SECTION): Define. (ASM_PREFERRED_EH_DATA_FORMAT): Define. * config/darwin.c (darwin_encode_section_info): Handle case of DECL_INITIAL being error_mark_node. From-SVN: r46300
2001-10-16alpha.c (current_file_function_operand): Don't fail for profiling.Richard Henderson6-76/+59
* alpha.c (current_file_function_operand): Don't fail for profiling. (direct_call_operand): New. * alpha-protos.h: Declare it. * alpha.h (EXTRA_CONSTRAINT): Use it. (PREDICATE_CODES): Add it. (ASM_OUTPUT_MI_THUNK): Remove. * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove. * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative. From-SVN: r46299
2001-10-16netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.Krister Walfridsson2-0/+15
* config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define. (JUMP_TABLES_IN_TEXT_SECTION): Define. From-SVN: r46298
2001-10-16cfg.c (free_edge): Break out from ....Jan Hubicka6-9/+52
* cfg.c (free_edge): Break out from .... (remove_edge): ... here. (clear_edges): Use free_edge. * att.h (ASM_QUAD): Add comment. * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define. From-SVN: r46297
2001-10-16i386.c (split_ti): New function.Jan Hubicka5-18/+179
* i386.c (split_ti): New function. (ix86_split_to_parts): Support TImodes. * i386.h (VALID_INT_MODE_P): Add TImode. * i386.md (movdi splitter): Fix. (movti): Support 64bit integer registers. (movti_rex64): New function and splitter. * i386.c (*_cost): Add movsx/movzx cost. * i386.h (struct processor_costs): Add movsx/movzx fields. (RTX_COSTS): Handle zero/sign extend + avoid believing that 64bit operations require split on 64bit machine. (CONST_COST): Make large 64bit constants expensive on 64bit compilation. * i386.c (ix86_setup_incomming_varargs): Fix mode of PLUS. (ix86_expand_move): Avoid pushes of memory if size does not match; move long constants to register. (x86_initialize_trampoline): Fix mode. * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Use ASM_QUAD on 64bit. * i386.md (test pattern): Disallow impossible constants. (tablejump PIC expander): Fix emitting of sum. (movdicc_rex64): Rename to movdicc. * linux64.h (LINK_SPEC): Add missing '%'. From-SVN: r46296
2001-10-16cp-tree.h (VFIELD_NAME_FORMAT): Adjust to match VFIELD_NAME.Hans-Peter Nilsson2-1/+6
* cp-tree.h (VFIELD_NAME_FORMAT) [NO_DOLLAR_IN_LABEL && NO_DOT_IN_LABEL]: Adjust to match VFIELD_NAME. From-SVN: r46293
2001-10-16tree-inline.c (inlinable_function_p): Leave it up to the front-end to turn ↵Alexandre Oliva2-2/+12
-finline-functions into DECL_INLINE set... * tree-inline.c (inlinable_function_p): Leave it up to the front-end to turn -finline-functions into DECL_INLINE set for all functions. From-SVN: r46292
2001-10-16* config/rs6000/darwin.h (ASM_COMMENT_START): Define.Stan Shebs2-0/+9
From-SVN: r46291
2001-10-16trans.c (tree_transform): Adjust to recent change in expand_asm_operands to ↵Florian Weimer2-6/+14
implement named asm operands. * trans.c (tree_transform): Adjust to recent change in expand_asm_operands to implement named asm operands. From-SVN: r46289
2001-10-16* g++.dg/template/unify2.C: New test.Richard Sandiford2-0/+17
From-SVN: r46288
2001-10-16pt.c (UNIFY_ALLOW_MAX_CORRECTION): Define.Richard Sandiford2-3/+21
* pt.c (UNIFY_ALLOW_MAX_CORRECTION): Define. (unify): Only handle MINUS_EXPR specially if the above flag is set and the subtracted constant is 1. Clear the flag on recursive calls. Set it when unifying the maximum value in an INTEGER_TYPE's range. From-SVN: r46287
2001-10-16* g++.dg/other/exception-specification.C: New testRichard Sandiford2-0/+14
From-SVN: r46286
2001-10-16decl.c (bad_specifiers): Don't allow exception specifications on any typedefs.Richard Sandiford2-2/+9
* decl.c (bad_specifiers): Don't allow exception specifications on any typedefs. From-SVN: r46285
2001-10-16Daily bump.GCC Administrator2-2/+2
From-SVN: r46278
2001-10-16* recog.c: Formatting and comment typo fixes.Alan Modra2-33/+35
From-SVN: r46276
2001-10-16configure.in (gcc_cv_as_bfd_srcdir): New.Alan Modra3-106/+104
* configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas version in single tree build. * configure: Regenerate. From-SVN: r46275
2001-10-15rs6000.md (cr_logical): Swap order of CODE and MODE arguments toDavid Edelsohn2-12/+17
gen_rtx and compare operand with const0_rtx. From-SVN: r46273
2001-10-15lang.c (langhooks.h): Included.Alexandre Petit-Bianco2-7/+19
2001-10-15 Alexandre Petit-Bianco <apbianco@redhat.com> * lang.c (langhooks.h): Included. (LANG_HOOKS_INIT): Redefined. (LANG_HOOKS_INIT_OPTIONS): Likewise. (LANG_HOOKS_DECODE_OPTION): Likewise. (struct lang_hooks lang_hooks): New initialization. ( http://gcc.gnu.org/ml/gcc-patches/2001-10/msg00692.html ) From-SVN: r46270
2001-10-15system.h: Poison old unused target macros.Neil Booth7-65/+70
* system.h: Poison old unused target macros. * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove. * config/stormy16/stormy16.c: Update references to obsolete macros. * config/stormy16/stormy16.h: Similarly. * config/stormy16/stormy16.md: Similarly. * config/cris/cris.h: Similarly. From-SVN: r46269
2001-10-15Daily bump.GCC Administrator2-2/+2
From-SVN: r46264
2001-10-14cpplib.c (struct pragma_entry): Store the name as a hashnode.Neil Booth2-26/+26
* cpplib.c (struct pragma_entry): Store the name as a hashnode. (lookup_pragma_entry, insert_pragma_entry, do_pragma, cpp_register_pragma): Update accordingly. From-SVN: r46255
2001-10-14c-pragma.h (cpp_register_pragma_space): Remove.Neil Booth8-123/+144
* c-pragma.h (cpp_register_pragma_space): Remove. * cpplib.h (cpp_register_pragma_space): Remove. * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New. (cpp_register_pragma_space): Remove. (cpp_register_pragma): Simplify using lookup_pragma_entry, add sanity checks. (do_pragma): Similarly. (_cpp_init_internal_pragmas): Don't register namespaces. * config/v850/v850.h (REGISTER_TARGET_PRAGMAS): Don't register namespaces. * cp/lex.c (init_cp_pragma): Similarly. * doc/tm.texi: Update. From-SVN: r46254
2001-10-14Daily bump.GCC Administrator2-2/+2
From-SVN: r46252
2001-10-14re PR c/4157 (space missing in gcc-3.0.1/gcc/config/i386/cygwin.h)Craig Rodrigues2-1/+6
PR c/4157 * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES From-SVN: r46250
2001-10-14Added changes for dsp16xx port.Michael Collison1-0/+9
From-SVN: r46249
2001-10-14dsp16xx.md: Rewrite for more efficient code and add scheduling support.Michael Collison4-698/+1957
* config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and add scheduling support. * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code. * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code. * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes. From-SVN: r46248
2001-10-13pt.c (lookup_template_class): Build complete template arguments for ↵Kriang Lerdsuwanakij3-0/+35
BOUND_TEMPLATE_TEMPLATE_PARM. * pt.c (lookup_template_class): Build complete template arguments for BOUND_TEMPLATE_TEMPLATE_PARM. From-SVN: r46245
2001-10-13cp-tree.h (TYPE_BINFO): Update comment.Kriang Lerdsuwanakij7-18/+112
* cp-tree.h (TYPE_BINFO): Update comment. (BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK): New macro. (TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO): Use template_info. (TYPENAME_TYPE_FULLNAME): Use TYPE_FIELDS. (copy_type): Prototype new function. * lex.c (copy_lang_decl): Gather tree node statistics. (copy_lang_type): New function. (copy_type): Likewise. (cp_make_lang_type): Create lang_type for BOUND_TEMPLATE_TEMPLATE_PARM. Set TYPE_BINFO for TYPENAME_TYPE and BOUND_TEMPLATE_TEMPLATE_PARM. * pt.c (tsubst): Use copy_type instead of copy_node. * search.c (lookup_field_1): Ignore TYPENAME_TYPE. From-SVN: r46244
2001-10-13pt.c (determine_specialization): Ignore functions without DECL_TEMPLATE_INFO.Kriang Lerdsuwanakij4-0/+54
* pt.c (determine_specialization): Ignore functions without DECL_TEMPLATE_INFO. From-SVN: r46243
2001-10-13Daily bump.GCC Administrator2-2/+2
From-SVN: r46242
2001-10-13XFAIL these tests on AIX when using -msoft-floatTom Rix3-0/+35
From-SVN: r46240
2001-10-13cris.c (cris_legitimate_pic_operand): Kludge around missing CONSTANT_P test ↵Hans-Peter Nilsson2-0/+11
in core GCC. * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around missing CONSTANT_P test in core GCC. From-SVN: r46239
2001-10-12cppmain.c (struct printer): New member source.Neil Booth3-8/+40
* cppmain.c (struct printer): New member source. (scan_translation_unit): Fix spacing at start of lines. (cb_line_change): Update. * gcc.dg/cpp/spacing2.c: New test. From-SVN: r46237
2001-10-12arit.c: Use __builtin_labs, not abs.Hans-Peter Nilsson4-29/+14
* config/cris/arit.c: Use __builtin_labs, not abs. * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define. * config/cris/cris.c (cris_target_asm_function_epilogue): Move misplaced sprintf and fprintf argument. From-SVN: r46234
2001-10-12ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.Zack Weinberg46-7224/+7230
top: * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40. * configure.in, Makefile.in: Take out obsolete check-po logic. * configure, config.in: Regenerate. intl: * Update entire directory from gettext 0.10.40. * cat-compat.c, linux-msg.sed, po2tbl.sed.in, xopen-msg.sed: Removed. * config.charset, dcigettext.c, dcngettext.c, libgnuintl.h, localcharset.c, locale.alias, ngettext.c, plural.c, plural.y, ref-add.sin, ref-del.sin: New. po: * Makefile.in.in: Upgrade to gettext-0.10.40. * cat-id-tbl.c: Remove file. * stamp-cat-id: Remove file. From-SVN: r46233
2001-10-12objc-act.c (finish_objc): Correct precondition for emitting symtab declarations.Ziemowit Laski2-1/+6
2001-10-12 Ziemowit Laski <zlaski@apple.com> * objc/objc-act.c (finish_objc): Correct precondition for emitting symtab declarations. From-SVN: r46232
2001-10-12rs6000.c: Remove uses of "register" specifier in declarations of arguments ↵Stan Shebs2-62/+67
and local... * config/rs6000/rs6000.c: Remove uses of "register" specifier in declarations of arguments and local variables. From-SVN: r46231
2001-10-12cygwin.h: Revert erroneous checkin of crtbegin and ENDFILE_SPEC definition.Christopher Faylor2-4/+5
* config/i386/cygwin.h: Revert erroneous checkin of crtbegin and ENDFILE_SPEC definition. From-SVN: r46230