aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-04-25Add partial support for IA-64 unwind sections.Andrew MacLeod6-68/+652
* config/ia64/crtbegin.asm: Add IA-64 unwind support. Correct alloc and gp save/restore problems. * config/ia64/crtend.asm: Add IA-64 unwind support. * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size in fr_pad_size calculation. ... Co-Authored-By: Andrew Haley <aph@cygnus.com> Co-Authored-By: Jim Wilson <wilson@cygnus.com> From-SVN: r33424
2000-04-25use install-bin and install-sh in fixinc's makefileBruce Korb3-44/+47
From-SVN: r33423
2000-04-25re GNATS gcj/181 (gcj crashes on inner classes/interfaces definition/usage.)Alexandre Petit-Bianco3-0/+19
Mon Apr 24 14:59:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (end_class_declaration): Reset the interface number counter. (This fixes the Java PR #181: http://sourceware.cygnus.com/ml/java-prs/2000-q1/msg00207.html) From-SVN: r33422
2000-04-25Define FUNCTION_ATTRIBUTE_INLINABLE_P, a target macro to allow functions withNick Clifton3-1/+39
target specific attributes to be inlined. From-SVN: r33421
2000-04-25acconfig.h (ENABLE_STD_NAMESPACE, [...]): Delete entries.Kaveh Ghazi4-327/+354
* acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING, ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING, ENABLE_GC_ALWAYS_COLLECT): Delete entries. * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING, ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING, ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE for these macros. Clean up spacing and linewraps. From-SVN: r33420
2000-04-25[multiple changes]Zack Weinberg6-74/+1492
2000-04-25 Zack Weinberg <zack@wolery.cumb.org> * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix commentary. 2000-04-25 Neil Booth <NeilB@earthling.net> Restore previous patch, plus the following fixes: * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in flags, not CPP_OPEN_PAREN. * cpplex.c (expand_token_space, init_token_list, cpp_free_token_list): Put the dummy token at list->tokens[-1]. (_cpp_lex_line, _cpp_lex_file): token list is 0-based. From-SVN: r33419
2000-04-25* execute/va-arg-20.c: New test.Jakub Jelinek2-0/+26
From-SVN: r33418
2000-04-25* config/i386/freebsd.h (INT_ASM_OP): Define.Alexandre Oliva2-1/+10
From-SVN: r33417
2000-04-25ir.texi: Correct typo.Gabriel Dos Reis2-1/+5
2000-04-25 Gabriel Dos Reis <gdr@codesourcery.com> * ir.texi: Correct typo. From-SVN: r33416
2000-04-25* loop.c (strength_reduce): Fix typo in the last checkin.Jan Hubicka2-1/+5
From-SVN: r33413
2000-04-25stor-layout.c (finalize_record_size): Simplify to use existing functions.Richard Kenner3-21/+21
* stor-layout.c (finalize_record_size): Simplify to use existing functions. (compute_record_mode): No longer static. * tree.h (compute_record_mode): New declaration. From-SVN: r33412
2000-04-25* Revert previous patch until build failure cause determined.Neil Booth6-1470/+75
From-SVN: r33411
2000-04-25Fix commentRichard Kenner1-1/+1
From-SVN: r33410
2000-04-25combine.c (combine_instructions): Add missing argument to try_combine.Richard Henderson2-1/+7
* combine.c (combine_instructions): Add missing argument to try_combine. From-SVN: r33408
2000-04-25toplev.c (rest_of_compilation): Delay sibcall optimization until after ↵Richard Henderson2-10/+16
emit_eh_context. * toplev.c (rest_of_compilation): Delay sibcall optimization until after emit_eh_context. From-SVN: r33407
2000-04-25Daily bump.Jeff Law2-2/+2
From-SVN: r33406
2000-04-25New test case.Martin v. Löwis1-0/+15
From-SVN: r33401
2000-04-24parse.y (lookup_field_wrapper): Search for final local aliases.Alexandre Petit-Bianco3-204/+296
2000-04-19 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (lookup_field_wrapper): Search for final local aliases. (resolve_expression_name): Let lookup_field_wrapper search for final local aliases. Force the value of `name' if one is found. (qualify_ambiguous_name): CONVERT_EXPR is enough to now we have an expression name. Fixed comments. From-SVN: r33400
2000-04-25* decl.c (grokdeclarator): Reject VLAs as members.Martin v. Löwis2-0/+18
From-SVN: r33399
2000-04-25Do not try to combine a sequence of insns when the second insn has beenNick Clifton2-6/+21
replaced by a note. From-SVN: r33398
2000-04-25call.c (standard_conversion): Accept conversion between COMPLEX_TYPEsGabriel Dos Reis3-0/+31
2000-04-24 Gabriel Dos Reis <gdr@codesourcery.com> * call.c (standard_conversion): Accept conversion between COMPLEX_TYPEs * cvt.c (ocp_convert): Handle conversion to COMPLEX_TYPE From-SVN: r33396
2000-04-24gcc.c (load_specs): New static function.Mumit Khan2-14/+56
* gcc.c (load_specs): New static function. (read_specs): Use it. From-SVN: r33395
2000-04-24gcc.c (lookup_compiler): Make multiple passes for case insensitive filesystems.Mumit Khan2-27/+47
* gcc.c (lookup_compiler): Make multiple passes for case insensitive filesystems. From-SVN: r33393
2000-04-24parse.y (source_start_java_method): Deleted unecessary code.Alexandre Petit-Bianco3-290/+173
2000-04-24 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (source_start_java_method): Deleted unecessary code. (patch_method_invocation): Fixed comment. From-SVN: r33392
2000-04-24cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.Neil Booth6-70/+1493
* cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE. * cpphash.h (_cpp_check_directive): new. * cpplex.c (handle_newline, cpp_free_token_list, init_trigraph_map, trigraph_ok, trigraph_replace, backslash_start, skip_block_comment, skip_line_comment, skip_whitespace, parse_name, parse_number, parse_string, copy_comment, _cpp_lex_line, spell_char, spell_string, spell_comment, spell_name, spell_other, _cpp_lex_file, _cpp_output_list): new. (expand_name_space): take length argument. (init_token_list): add comment list initialisation. (cpp_scan_line): use auto_expand_name_space. PREV_WHITESPACE instead of HSPACE_BEFORE. * cpplib.c (_cpp_check_directive): new * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT, DIGRAPH, UNSIGNED_INT, TOK_NAME): new. (HSPACE_BEFORE): delete. (TTYPE_TABLE): rearrange. (struct cpp_toklist): update. From-SVN: r33390
2000-04-24aclocal.m4 (gcc_AC_HEADER_STRING, [...]): Use the three argument form of ↵Kaveh R. Ghazi5-128/+90
AC_DEFINE. * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR, gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three argument form of AC_DEFINE. * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER, HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY, WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK, HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG, HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise. * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE. From-SVN: r33389
2000-04-24Makefile.in (GCC_FOR_TARGET, [...]): Use -isystem, not -I, for including ↵Kaveh R. Ghazi2-5/+10
system headers. * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES, deduced.h): Use -isystem, not -I, for including system headers. From-SVN: r33388
2000-04-24Fix bug building libgcc:Nick Clifton2-2/+16
Do not generate small add insn if the source register is eliminable. From-SVN: r33387
2000-04-24decl2.c (finish_file): Remove double setup for accounting compile time.Zack Weinberg2-5/+5
* decl2.c (finish_file): Remove double setup for accounting compile time. From-SVN: r33386
2000-04-24configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant call to ↵Kaveh R. Ghazi3-140/+143
AC_MSG_RESULT. * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant call to AC_MSG_RESULT. From-SVN: r33385
2000-04-24invoke.texi: Correct grammatical errors...Martin v. Löwis2-5/+9
* invoke.texi: Correct grammatical errors, document -fno-gnu-keywords as identical to -fno-asm for C++. From-SVN: r33384
2000-04-24aclocal.m4: (GCC_HEADER_STRING...Kaveh R. Ghazi4-29/+43
* aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION, GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE, AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG, EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_. * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S, GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING, GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR, GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with new macros names. From-SVN: r33383
2000-04-24c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.Mumit Khan2-3/+9
2000-04-24 Mumit Khan <khan@xraylith.wisc.edu> * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro. (pop_alignment): Likewise. (handle_pragma_token): Likewise. From-SVN: r33379
2000-04-24Respective ChangeLogs for common, cp/, java/Robert Lipe6-15/+15
Respective ChangeLogs for common, cp/, java/ * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD. * cp-tree.h (lang_type): Member `language' now ENUM_BITFIELD. * parse.h (_jdep): Member `kind' now ENUM_BITFIELD. From-SVN: r33378
2000-04-24combine.c (try_combine): Update reg_nonzero_bits of newi2pat before newpat.Hiroyuki Machida2-3/+8
* combine.c (try_combine): Update reg_nonzero_bits of newi2pat before newpat. From-SVN: r33376
2000-04-24loop.c (strength_reduce): Simplify test to INSN_P.Jan Hubicka2-10/+26
* loop.c (strength_reduce): Simplify test to INSN_P. (record_giv): Attempt to simplify the add value, use CONSTANT_P expressions instead of CONST_INT. (express_from_1): Likewise. From-SVN: r33375
2000-04-24regs.h (reg_n_max): Don't declare.Mark Mitchell4-32/+35
* regs.h (reg_n_max): Don't declare. * flow.c (reg_n_max): Don't define. * regclass.c (renumber): Don't initialize to zero. (regno_allocated): Likewise. (reg_n_max): Define. (allocate_reg_info): Don't initialize unnecessarily. From-SVN: r33374
2000-04-24Daily bump.Jeff Law2-2/+2
From-SVN: r33373
2000-04-24new.cc (set_new_handler): Needs to be in std::.Benjamin Kosnik2-1/+5
2000-04-23 Benjamin Kosnik <bkoz@cygnus.com> * new.cc (set_new_handler): Needs to be in std::. From-SVN: r33371
2000-04-24genattrtab.c (find_attr): Initialize unsigned_p, func_units_p and blockage_p ↵Jeffrey A Law2-0/+6
in the newly allocated attribute. * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p and blockage_p in the newly allocated attribute. From-SVN: r33370
2000-04-24cp-tree.h (lang_decl): Remove pretty_function_p.Mark Mitchell6-62/+95
* cp-tree.h (lang_decl): Remove pretty_function_p. (DECL_PRETTY_FUNCTION_P): Use TREE_LANG_FLAG_0, not a bit in the language-specific node. * decl.c (cp_make_fname_decl): Use build_decl, not build_lang_decl, to build the variables. (grokvardecl): Don't call build_lang_decl for local variables in templates. (grokdeclarator): Don't call build_lang_decl for local type declarations in templates. * lex.c (retrofit_lang_decl): Use ggc_alloc_obj to allocated zero'd memory, rather than calling memset. * pt.c: Include hashtab.h. (local_specializations): New variable. (retrieve_local_specialization): Use it. (register_local_specialization): Likewise. (tsubst_decl): Don't assume local variables have DECL_LANG_SPECIFIC. (instantiate_decl): Set up local_specializations. * Makefile.in (HTAB_H): New variable. From-SVN: r33369
2000-04-23mn10300.md (addsi): `inc4' on address registers does not modify cc...Alexandre Oliva2-7/+14
* config/mn10300/mn10300.md (addsi): `inc4' on address registers does not modify cc, but `inc' on an extended register does. From-SVN: r33363
2000-04-23typeck.c (c_expand_asm_operands): Restore the original contents of the ↵Richard Henderson2-2/+11
output list. * typeck.c (c_expand_asm_operands): Restore the original contents of the output list. From-SVN: r33362
2000-04-23reload.c (find_equiv_reg): Checks all valueno regs as a reload_reg_p regs.Denis Chertykov2-6/+15
* reload.c (find_equiv_reg): Checks all valueno regs as a reload_reg_p regs. From-SVN: r33361
2000-04-23cpphash.c (collect_objlike_expansion): Add sanity check.Zack Weinberg3-23/+51
* cpphash.c (collect_objlike_expansion): Add sanity check. (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST. If the buffer is the empty string, return. Mark __DATE__ and __TIME__ as XCONST nodes, not MCONST. (_cpp_macroexpand): Avoid pushing an empty buffer. (funlike_macroexpand): Don't pop token_buffer here. From-SVN: r33360
2000-04-23mn10300.h (REGNO_IN_RANGE_P): New macro.Alexandre Oliva2-43/+49
* config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro. (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros. (REGNO_EXTENDED_P, REGNO_AM33_P): New macros. (REGNO_OK_FOR_BASE_P): Define in terms of them. (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise. (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro. (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise. From-SVN: r33359
2000-04-23* gcc.c-torture/execute/20000422-1.c: New test.Jeffrey A Law2-1/+44
From-SVN: r33358
2000-04-23loop.c (simplify_giv_expr): Be more agressive on simplifying constant MULT givs.Jan Hubicka2-13/+33
* loop.c (simplify_giv_expr): Be more agressive on simplifying constant MULT givs. From-SVN: r33357
2000-04-23cpphash.h (struct definition): Move file, line, col members...Zack Weinberg6-622/+806
* cpphash.h (struct definition): Move file, line, col members... (struct hashnode): ... here. Also add 'disabled' flag. (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and T_IDENTITY. Remove T_DISABLED. Update prototypes. * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION. (collect_expansion): Split into collect_objlike_expansion and collect_funlike_expansion. (_cpp_macroexpand): Split out scan_arguments, stringify, and funlike_macroexpand. (_cpp_compare_defs): Rename compare_defs, make static. (_cpp_make_hashnode): Initialize hp->disabled. (macro_cleanup): Adjust for new token types. Clear m->disabled. (_cpp_create_definition): Move code here to determine what sort of macro it is, and code to check for redefinitions, from do_define. Implement a few simple cases without creating a full DEFINITION. (_cpp_macroexpand, special_symbol, _cpp_dump_definition): Handle the simple cases. (push_macro_expansion): Set buf->has_escapes and hp->disabled here. * cppinit.c (builtin_array): Change MCONST to XCONST everywhere. * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here; fix check for disabled and function-like macros. * cpplib.c (do_define): Move most logic to _cpp_create_definition. (do_undef): Handle new special token types. From-SVN: r33355
2000-04-23* boehm.c (mark_reference_fields): Use int_byte_position.Tom Tromey2-1/+5
From-SVN: r33354