aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2002-04-15abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set call_really_used_regs too.Richard Henderson2-2/+7
* config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set call_really_used_regs too. From-SVN: r52352
2002-04-15* config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.Richard Henderson2-1/+5
From-SVN: r52346
2002-04-15rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs as being CLOBBERed.David S. Miller2-7/+7
2002-04-15 David S. Miller <davem@redhat.com> * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs as being CLOBBERed. From-SVN: r52343
2002-04-16re PR c/6290 (ICE compiling altivec code with 3.1)Jakub Jelinek4-8/+36
PR c/6290 * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the CONST_VECTOR is { 0, ... 0 }. * gcc.dg/altivec-5.c: New test. From-SVN: r52340
2002-04-15install.texi (Installing GCC: Configuration): Clarify the only supported ↵Loren J. Rittle2-6/+10
ways to configure gcc. * doc/install.texi (Installing GCC: Configuration): Clarify the only supported ways to configure gcc. From-SVN: r52335
2002-04-15config.gcc (alpha*-*-gnu*): New target configuration.Roland McGrath4-0/+37
* config.gcc (alpha*-*-gnu*): New target configuration. * config/alpha/gnu.h: New file for it. * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define. From-SVN: r52332
2002-04-15linux.h, [...] (CPP_PREDEFINES): Define __gnu_linux__, not gnu_linux.Richard Henderson21-21/+33
* config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h, config/i386/linux-aout.h, config/i386/linux-oldld.h, config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h, config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h, config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h, config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h, config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES): Define __gnu_linux__, not gnu_linux. * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd. From-SVN: r52329
2002-04-15MAINTAINERS: Remove chill maintainers.Mark Mitchell44-57043/+22
* MAINTAINERS: Remove chill maintainers. * Makefile.in (CHILLFLAGS): Remove. (CHILL_LIB): Remove. (TARGET_CONFIGDIRS): Remove libchill. (CHILL_FOR_TARGET): Remove. (BASE_FLAGS_TO_PASS): Don't pass CHILLFLAGS, CHILL_FOR_TARGET, or CHILL_LIB. (CONFIGURE_TARGET_MODULES): Remove configure-target-libchill. (CHECK_TARGET_MODULES): Likewise. (INSTALL_TARGET_MODULES): Likewise. (CLEAN_TARGET_MODULES): Likewise. (configure-target-libchill): Remove. (all-target-libchill): Remove. * configure.in (target_libs): Remove target-libchill. Do not compute CHILL_FOR_TARGET. * libchill: Remove directory. Remove Chill front end. * gcc.c (default_compilers): Remove Chill entries. * ch: Remove directory. * doc/frontends.texi: Remove information about Chill. * doc/sourcebuild.texi: Likewise. * doc/standards.texi: Likewise. * testsuite/lib/chill.exp: Remove. * g77.texi: Remove Chill reference. * gcc_release (build_tarfiles): Do not build Chill tarfiles. (CHILL_DIRS): Remove. From-SVN: r52327
2002-04-15vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.Douglas B Rupp2-8/+16
* config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include. (LONGLONG_STANDALONE): Define. From-SVN: r52323
2002-04-15sparc.c (sparc_emit_float_lib_cmp): Call emit_library_call with LCT_NORMAL.David S. Miller4-15/+30
2002-04-15 David S. Miller <davem@redhat.com> * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Call emit_library_call with LCT_NORMAL. (sparc_initialize_trampoline): Use LCT_foo instead of magic constant in emit_library_call invocations. (sparc64_initialize_trampoline): Likewise. (sparc_profile_hook): Likewise. * config/sparc/sparc.md: Likewise. * config/sparc/sparc.c (sparc_extra_constraint_check): Fix type of argument 'c'. * config/sparc/sparc-protos.h (sparc_extra_constraint_check): Likewise. From-SVN: r52321
2002-04-15re PR java/6085 (gcj SEGVs on complicated inner class structures)Bryce McKinlay2-18/+13
Fix for PR java/6085: * parse.y (patch_method_invocation): Always use build_access_to_thisn to get enclosing "this" argument for inner-class constructor invocation. Pass correct arguments to build_access_to_thisn. From-SVN: r52318
2002-04-15Daily bump.GCC Administrator2-2/+2
From-SVN: r52317
2002-04-14diagnostic.h (output_buffer_state): Redefine.Gabriel Dos Reis5-35/+64
* diagnostic.h (output_buffer_state): Redefine. (output_format_decoder): New macro. (output_prefixing_rule): Likewise. (output_line_cutoff): Likewise. (diagnostic_format_decoder): Adjust. (diagnostic_prefixing_rule): Likewise. (diagnostic_line_cutoff): Likewise. (diagnostic_state): Likewise. (diagnostic_kind_count): Likewise. (diagnostic_buffer): Now a macro. * diagnostic.c (diagnostic_buffer): Remove definition. (output_is_line_wrapping): Adjust. (set_real_maximum_length): Likewise. (output_set_maximum_length): Likewise. (init_output_buffer): Likewise. (lhd_print_error_function): Likewise. (output_do_verbatim): Likewise. cp/ * error.c (cxx_print_error_function): Adjust call to macros. From-SVN: r52307
2002-04-14class.c (layout_virtual_bases): Do all dsize computation on trees.Jakub Jelinek4-13/+32
* class.c (layout_virtual_bases): Do all dsize computation on trees. * g++.dg/other/big-struct.C: New test. From-SVN: r52304
2002-04-14cpperror.c (print_location): Don't print include chain if line == 0.Neil Booth12-390/+386
* cpperror.c (print_location): Don't print include chain if line == 0. (cpp_begin_message): Update to use DL_ macros. (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning, cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line, cpp_notice, cpp_notice_from_errno): Remove. (cpp_error, cpp_error_with_line): Update to take a diagnostic level. (cpp_errno): New. * cppexp.c (CPP_ICE): Remove. (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined, lex, integer_overflow, _cpp_parse_expr): Update. * cppfiles.c (read_include_file, find_include_file, handle_missing_header, _cpp_read_file, remap_filename): Update. * cpphash.h (enum error_type): Remove. (_cpp_begin_message): Update. * cppinit.c (append_include_chain, remove_dup_dirs, output_deps, cpp_handle_option, cpp_post_options): Update. * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment, skip_whitespace, parse_identifier, parse_slow, parse_string, _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape, cpp_interpret_charconst): Update. * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive, lex_macro_node, do_undef, glue_header_name, parse_include, do_include_common, read_flag, do_line, do_linemarker, do_ident, cpp_register_pragma, do_pragma_once, do_pragma_system_header, do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else, do_elif, do_endif, parse_answer, parse_assertion, do_assert, _cpp_pop_buffer, do_diagnostic): Update. * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR, DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New. (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning, cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line, cpp_notice, cpp_notice_from_errno): Remove. (cpp_error, cpp_error_with_line): Update to take a diagnostic level. (cpp_errno): New. * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens, collect_args, enter_macro_context, save_parameter, parse_params, _cpp_create_definition, check_trad_stringification, cpp_macro_definition): Update. * cppmain.c (cpp_preprocess_file): Update. * fix-header.c (read_scan_file): Update. From-SVN: r52302
2002-04-14* config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.Andreas Schwab2-1/+5
From-SVN: r52299
2002-04-14* config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.Jeroen Dobbelaere2-0/+8
From-SVN: r52296
2002-04-14f77-edit-i-in.f: Use internal buffer in place of scratch file.David Billinghurst2-13/+13
2002-04-12 David Billinghurst <David.Billinghurst@riotinto.com> * g77.dg/f77-edit-i-in.f: Use internal buffer in place of scratch file. From-SVN: r52294
2002-04-14typeck.c (get_member_function_from_ptrfunc): Don't do gratuitious division ↵Jason Merrill2-13/+16
and multiplication on ptrmemfunc_vbit_in_delta... * typeck.c (get_member_function_from_ptrfunc): Don't do gratuitious division and multiplication on ptrmemfunc_vbit_in_delta targets. From-SVN: r52293
2002-04-14re PR c/6277 (Failure of test gcc.dg/i386-387-1.c on cygwin)David Billinghurst2-3/+9
2002-04-14 David Billinghurst <David.Billinghurst@riotinto.com> PR c/6277 * gcc.dg/i386-387-1.c: Allow optional leading underscore in scan-assembler function name From-SVN: r52292
2002-04-14Daily bump.GCC Administrator2-2/+2
From-SVN: r52290
2002-04-13gnu.h (CPP_PREDEFINES): Define __gnu_hurd__, not gnu_hurd.Mark Mitchell2-1/+6
* config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__, not gnu_hurd. From-SVN: r52286
2002-04-13* config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.Hans-Peter Nilsson2-1/+5
From-SVN: r52283
2002-04-13t-elf: Enable v8 multilibs.Joel Sherrill2-6/+8
2002-04-13 Joel Sherrill <joel@OARcorp.com> * config/sparc/t-elf: Enable v8 multilibs. Impacts sparc-elf and sparc-rtems targets. From-SVN: r52281
2002-04-13news.texi: Deprecate frontend version number; update list of fixed bugs.Toon Moene2-2/+15
2002-04-13 Toon Moene <toon@moene.indiv.nluug.nl> * news.texi: Deprecate frontend version number; update list of fixed bugs. From-SVN: r52280
2002-04-13linux.h: Define __gnu_linux__ wherever __linux__ is defined...Mark Mitchell24-50/+77
* alpha/linux.h: Define __gnu_linux__ wherever __linux__ is defined, and __gnu_hurd__ wherever __GNU__ is defined. * arm/linux-elf.h: Likewise. * cris/aout.h: Likewise. * cris/linux.h: Likewise. * i370/linux.h: Likewise. * i386/gnu.h: Likewise. * i386/linux-aout.h: Likewise. * i386/linux-oldld.h: Likewise. * i386/linux.h: Likewise. * i386/linux64.h: Likewise. * ia64/linux.h: Likewise. * m68k/linux-aout.h: Likewise. * m68k/linux.h: Likewise. * mips/linux.h: Likewise. * pa/pa-linux.h: Likewise. * pj/linux.h: Likewise. * rs6000/sysv4.h: Likewise. * s390/linux.h: Likewise. * sh/linux.h: Likewise. * sparc/linux-aout.h: Likewise. * sparc/linux.h: Likewise. * sparc/linux64.h: Likewise. * xtensa/linux.h: Likewise. From-SVN: r52279
2002-04-13980628-4.x, [...]: xfail powerpc-*-* hosted on i[34567]86-*-*.Hans-Peter Nilsson8-7/+23
* g77.f-torture/execute/980628-4.x, g77.f-torture/execute/980628-5.x, g77.f-torture/execute/980628-6.x, g77.f-torture/execute/alpha2.x, g77.f-torture/execute/auto0.x, g77.f-torture/execute/auto1.x, g77.f-torture/compile/alpha1.x: xfail powerpc-*-* hosted on i[34567]86-*-*. From-SVN: r52273
2002-04-1320020413-1.c: New test.David S. Miller2-0/+40
2002-04-13 David S. Miller <davem@redhat.com> * gcc.c-torture/execute/20020413-1.c: New test. From-SVN: r52272
2002-04-13* gcc.dg/asm-6.c,Richard Sandiford3-0/+68
* g++.dg/ext/asm1.C: New tests. From-SVN: r52270
2002-04-13stmt.c (check_unique_operand_names): Expect operand names to be strings ↵Richard Sandiford4-12/+25
rather than identifiers. * stmt.c (check_unique_operand_names): Expect operand names to be strings rather than identifiers. Use simple_cst_equal to compare them. (resolve_operand_name_1): Make same identifier to string change here. * c-parse.in (asm_operand): Convert a named operand into a string. * cp/parse.y (asm_operand): Likewise. From-SVN: r52269
2002-04-13Daily bump.GCC Administrator2-2/+2
From-SVN: r52268
2002-04-13re PR c++/5373 (Statement expressions broken in C++)Mark Mitchell4-3/+24
PR c++ 5373. * g++.dg/parse/stmtexpr1.C: New test. PR c++/5373. * semantics.c (finish_expr_stmt): Remember the type of the expression before any conversions are performed. From-SVN: r52264
2002-04-13* config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).Andreas Schwab2-0/+5
From-SVN: r52262
2002-04-13re PR c++/5189 (g++ -c bug.cpp crashed on simple stupid file)Mark Mitchell4-0/+56
PR c++/5189. * call.c (add_template_candidate_real): Do not treat member templates as copy constructors. PR c++/5189. * g++.dg/template/copy1.C: New test. From-SVN: r52260
2002-04-13Revert these changes:Mark Mitchell4-13/+30
2002-04-06 Mark Mitchell <mark@codesourcery.com> PR c++/5571 * stor-layout.c (layout_decl): Reset the RTL for the decl. * decl.c (duplicate_decls): Do not copy the RTL for a variable declaration if the old variable had an incomplete type and the new variable does not. (complete_vars): Do not call layout_decl for completed variables. From-SVN: r52258
2002-04-12* gcc.c-torture/execute/20020406-1.c (DUPFFnew): Use calloc.Richard Henderson2-1/+6
From-SVN: r52255
2002-04-12config.gcc (sparcv9-*-solaris2): Default to 32-bit code.Richard Henderson12-149/+95
* config.gcc (sparcv9-*-solaris2): Default to 32-bit code. (sparc*-*-solaris): Clean up header files. * configure.in (AS_SPARC64_FLAG): Error out if can't find it and plan on generating 64-bit code. * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2. * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code. * config/sparc/sol2-sld-64.h: Rename ... * config/sparc/sol2-bi.h: ... here. Remove the bits that checked for AS_SPARC64_FLAG not defined. * config/sparc/sol2-gld-bi.h: New. * config/sparc/sol2-sld.h: Remove. * config/sparc/sol26-sld.h: New. * config/sparc/sol2.h: Tidy comments. * doc/install.texi: Document sparc-solaris configury changes. From-SVN: r52251
2002-04-12recog.c (offsettable_address_p): Match the logic in adjust_address.Richard Henderson3-3/+13
* recog.c (offsettable_address_p): Match the logic in adjust_address. * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode in 64-bit mode only. Use only for 32-bit or MEDLOW. From-SVN: r52250
2002-04-12* config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.Rainer Orth2-2/+7
From-SVN: r52246
2002-04-12Fix typo in ChangeLog entry.Jeff Law1-1/+1
From-SVN: r52244
2002-04-12pa.c (pa_can_combine_p): Call insn_extract before calling constrain_operands.Jeff Law2-1/+6
* pa.c (pa_can_combine_p): Call insn_extract before calling constrain_operands. From-SVN: r52242
2002-04-1220020412-1.c: New file, renamed from gcc.c-torture/execute/20020307-2.c.Geoffrey Keating2-0/+5
* gcc.c-torture/execute/20020412-1.c: New file, renamed from gcc.c-torture/execute/20020307-2.c. From-SVN: r52241
2002-04-12* config/i386/i386-interix.h (CPP_PREDEFINES): Handle __declspec.Douglas B Rupp2-0/+2
From-SVN: r52239
2002-04-12i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.Douglas B Rupp3-3/+17
* config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define. (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define. (DEFAULT_PCC_STRUCT_RETURN): Define as 0. * config/i386/t-interix (USER_H): Remove. From-SVN: r52237
2002-04-12integrate.c (compare_blocks): Make comparisons safe for when sizeof(int) < ↵DJ Delorie2-4/+18
sizeof(char *). * integrate.c (compare_blocks): Make comparisons safe for when sizeof(int) < sizeof(char *). (find_block): Likewise. From-SVN: r52232
2002-04-12rs6000.c (call_operand): Allow LINK and COUNT registers.Jan Hubicka4-7/+32
2002-04-12 Jan Hubicka <jh@suse.cz> David Edelsohn <edelsohn@gnu.org> * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT registers. (symbol_ref_operand): New. * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand. * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand. Co-Authored-By: David Edelsohn <edelsohn@gnu.org> From-SVN: r52231
2002-04-12ia64.h (ASM_SPEC): Moved from here ...Andreas Schwab3-5/+11
* config/ia64/ia64.h (ASM_SPEC): Moved from here ... * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it overrides the definition in config/svr4.h. From-SVN: r52228
2002-04-12Add --extdirs support.Anthony Green9-20/+183
From-SVN: r52227
2002-04-12rtems.h, [...] (*-rtems*): Cleanup pass to move common definitions to ↵Eric Norum20-126/+29
config/rtems.h and make the targets... 2002-04-12 Eric Norum <eric.norum@usask.ca> * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h, config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h, config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h, config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h, config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h, config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h, config/v850/rtems.h (*-rtems*): Cleanup pass to move common definitions to config/rtems.h and make the targets more similar. From-SVN: r52225
2002-04-12expr.c (expand_assigment): Remove duplicate conversions #ifdef ↵Richard Kenner2-10/+15
POINTERS_EXTEND_UNSIGNED. * expr.c (expand_assigment): Remove duplicate conversions #ifdef POINTERS_EXTEND_UNSIGNED. (store_constructor, expand_expr, case COMPONENT_REF): Likewise. (store_expr): Use TYPE_MODE (sizetype), not ptr_mode. From-SVN: r52223