aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2001-11-21cppinit.c (INO_T_COPY): Define.Douglas B Rupp2-4/+12
* cppinit.c (INO_T_COPY): Define. (INO_T_EQ): Uppercase parameters. (append_include_chain): Use INO_T_COPY. From-SVN: r47244
2001-11-21* cfg.c: Fix typos and formatting in the introductory comment.Richard Sandiford2-4/+9
From-SVN: r47243
2001-11-21profile.c (compute_branch_probabilites): Compute probabilities for ↵Jan Hubicka2-25/+52
entry/exit edges; estimate probabilities for zero counts. * profile.c (compute_branch_probabilites): Compute probabilities for entry/exit edges; estimate probabilities for zero counts. From-SVN: r47242
2001-11-21explow.c (probe_stack_range): Use LCT_NORMAL as second argument to ↵Jakub Jelinek7-13/+29
emit_library_call. * explow.c (probe_stack_range): Use LCT_NORMAL as second argument to emit_library_call. * function.c (expand_main_function, expand_function_start, expand_function_end): Likewise. * profile.c (output_func_start_profiler): Likewise. * stmt.c (expand_nl_goto_receivers): Use LCT_NORETURN as second argument to emit_library_call. * optabs.c (prepare_cmp_insn): Use LCT_CONST_MAKE_BLOCK as second argument to emit_library_call. * calls.c (emit_library_call): Update fn_type description. From-SVN: r47241
2001-11-21c-decl.c (c_expand_deferred_function): Only call c_expand_body if fndecl is ↵Jakub Jelinek5-2/+35
still DECL_INLINE and has DECL_RESULT. * c-decl.c (c_expand_deferred_function): Only call c_expand_body if fndecl is still DECL_INLINE and has DECL_RESULT. * gcc.c-torture/compile/20011119-1.c: New test. * gcc.c-torture/compile/20011119-2.c: New test. From-SVN: r47240
2001-11-21Daily bump.GCC Administrator2-2/+2
From-SVN: r47235
2001-11-21g77.texi: egcs was not a `@command'.Toon Moene4-398/+405
2001-11-21 Toon Moene <toon@moene.indiv.nluug.nl> * g77.texi: egcs was not a `@command'. * invoke.texi: Ditto. * news.texi: Substitute `@command' for `@code' and `@option' for `@samp' where appropriate. From-SVN: r47234
2001-11-21clipper.c (clipper_movstr): Avoid uninitialized warning.Kaveh R. Ghazi7-9/+21
* clipper.c (clipper_movstr): Avoid uninitialized warning. * i960.c (is_mask, legitimize_address): Likewise. * m88k.c (m88k_expand_prologue): Likewise. * m88k.md: Likewise. * mcore.c (emit_new_cond_insn): Likewise. * stormy16.c (xstormy16_emit_cbranch): Likewise. From-SVN: r47233
2001-11-21config.gcc: Delete powerpcle-*-solaris2* stanza.Zack Weinberg13-592/+166
* config.gcc: Delete powerpcle-*-solaris2* stanza. * config/rs6000/eabi.asm, config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/rs6000/rs6000.md, config/rs6000/sol-ci.asm, config/rs6000/sol-cn.asm, config/rs6000/sysv4.h, config/rs6000/t-ppccomm, config/rs6000/t-ppcos: Expunge all references to Solaris. * config/rs6000/sol-c0.c, config/rs6000/sol2.h: Delete. * config/rs6000/rs6000.md: Replace '%$' with '$' in all output templates. * config/rs6000/rs6000.h: Define DEFAULT_PCC_STRUCT_RETURN to 0, and change RETURN_IN_MEMORY to just check AGGREGATE_TYPE_P. From-SVN: r47232
2001-11-21sh.md: Avoid uninitialized warnings.Kaveh R. Ghazi3-1/+10
* sh.md: Avoid uninitialized warnings. * vax.c (vax_rtx_cost): Likewise. From-SVN: r47231
2001-11-20Add cmptf missed in patch.David Edelsohn2-1/+24
From-SVN: r47230
2001-11-21config.gcc: Add FreeBSD/PowerPC target.David O'Brien1-0/+149
2001-11-20 David O'Brien <obrien@FreeBSD.org> * config.gcc: Add FreeBSD/PowerPC target. (powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*, powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*, powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*, powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*, powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add freebsd-spec.h to tm_file. (rs6000-*-lynxos*): Add lynx.h to tm_file. * config/freebsd.h: Tidy up. (USING_CONFIG_FREEBSD): Define. (FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG, FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC, FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h). (TARGET_HAS_F_SETLKW): Define. (ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine. * config/freebsd-spec.h: New file. * config/rs6000/freebsd.h: New file. * config/rs6000/rs6000.h (TARGET_VERSION): Do not define. * config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than USING_SVR4_H to know when to turn on ELF support. * config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef, define only if not already defined. Add FreeBSD support. * config/rs6000/aix.h (TARGET_VERSION): Define. * config/rs6000/beos.h: Likewise. * config/rs6000/darwin.h: Likewise. * config/rs6000/mach.h: Likewise. * config/rs6000/lynx.h (TARGET_VERSION): Likewise. Don't include lynx.h directly. Approved by: Geoff Keating <geoffk@geoffk.org> Message-Id: <200111192053.MAA11977@geoffk.org> Stan Shebs <shebs@apple.com> (Darwin bits) Message-ID: <3BF95F29.794BC924@apple.com> From-SVN: r47229
2001-11-21rs6000.c (direct_return): Check if we are saving altivec registers.Aldy Hernandez4-30/+471
* rs6000.c (direct_return): Check if we are saving altivec registers. (first_altivec_reg_to_save): New. Updated stack frame layout comments. (rs6000_stack_info): Calculate altivec register save size. Save link register if we saved some altivec registers. (rs6000_stack_info): Align save size to 16 if altivec abi or abi_darwin. (rs6000_stack_info): Calculate altivec register offsets. (rs6000_stack_info): Add altivec info to save_size. (debug_stack_info): Add altivec debug info. (rs6000_emit_prologue): Save altivec registers and vrsave. (compute_vrsave_mask): New. (altivec_expand_builtin): Remove unused variables. (rs6000_parse_abi_options): Add static qualifier. (rs6000_expand_builtin): Remove unused parameters. (altivec_expand_builtin): Cast bdesc_2arg to get rid of warning. (altivec_init_builtins): Same. (is_altivec_return_reg): New. (vrsave_operation): New. (ALTIVEC_REG_BIT): New. (generate_set_vrsave): New. * rs6000.md (get_vrsave): New. (set_vrsave): New. (*set_vrsave_internal): New. * rs6000.h (rs6000_stack): Add first_altivec_reg_save, altivec_save_offset, vrsave_save_offset, altive_size, vrsave_size, altivec_padding_size, vrsave_mask. (TOTAL_ALTIVEC_REGS): New. (EPILOGUE_USES): Add VRSAVE_REGNO. From-SVN: r47228
2001-11-20unroll.c (copy_loop_body): Update LABEL_NUSES for the exit label as necessary.Jeff Law2-0/+6
* unroll.c (copy_loop_body): Update LABEL_NUSES for the exit label as necessary. From-SVN: r47227
2001-11-20reload1.c (elimination_effects): Use function_invariant_p instead of ↵Brad Kaiser3-1/+86
CONSTANT_P when... * reload1.c (elimination_effects): Use function_invariant_p instead of CONSTANT_P when considering register equivalences. From-SVN: r47226
2001-11-20altivec-1.c: Fix typo.Aldy Hernandez2-1/+5
2001-11-17 Aldy Hernandez <aldyh@redhat.com> * gcc.dg/altivec-1.c: Fix typo. From-SVN: r47225
2001-11-20Add the part of the freebsd-ppc patch that was rejected by patch(1).David O'Brien1-1/+1
From-SVN: r47224
2001-11-20config.gcc: Add FreeBSD/PowerPC target.David O'Brien12-162/+203
2001-11-20 David O'Brien <obrien@FreeBSD.org> * config.gcc: Add FreeBSD/PowerPC target. (powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*, powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*, powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*, powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*, powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add freebsd-spec.h to tm_file. (rs6000-*-lynxos*): Add lynx.h to tm_file. * config/freebsd.h: Tidy up. (USING_CONFIG_FREEBSD): Define. (FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG, FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC, FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h). (TARGET_HAS_F_SETLKW): Define. (ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine. * config/freebsd-spec.h: New file. * config/rs6000/freebsd.h: New file. * config/rs6000/rs6000.h (TARGET_VERSION): Do not define. * config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than USING_SVR4_H to know when to turn on ELF support. * config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef, define only if not already defined. Add FreeBSD support. * config/rs6000/aix.h (TARGET_VERSION): Define. * config/rs6000/beos.h: Likewise. * config/rs6000/darwin.h: Likewise. * config/rs6000/mach.h: Likewise. * config/rs6000/lynx.h (TARGET_VERSION): Likewise. Don't include lynx.h directly. Approved by: Geoff Keating <geoffk@geoffk.org> Message-Id: <200111192053.MAA11977@geoffk.org> Stan Shebs <shebs@apple.com> (Darwin bits) Message-ID: <3BF95F29.794BC924@apple.com> From-SVN: r47223
2001-11-20unwind-dw2-fde.c (__deregister_frame_info_bases): Fix lossage in last change ↵Graham Stott2-1/+6
return OB. * unwind-dw2-fde.c (__deregister_frame_info_bases): Fix lossage in last change return OB. From-SVN: r47222
2001-11-20parse.h (java_expand_switch): Remove old prototype.Roger Sayle2-1/+4
2001-11-18 Roger Sayle <roger@eyesopen.com> * parse.h (java_expand_switch): Remove old prototype. From-SVN: r47221
2001-11-20xm-vms.h (_POSIX_EXIT): Define.Douglas B Rupp2-9/+9
* config/alpha/xm-vms.h (_POSIX_EXIT): Define. Remove unneeded exit related macros. From-SVN: r47219
2001-11-20rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.David Edelsohn5-26/+214
* rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm. * rs6000.c (rs6000_emit_move): Add TFmode case. * sysv4.h (MASK_LONG_DOUBLE_128, TARGET_LONG_DOUBLE_128, LONG_DOUBLE_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE, LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move from here... * rs6000.h: ... to here. * rs6000.md (movtf, extenddftf2, extendsftf2, trunctfdf2, trunctfsf2, floatditf2, floatsitf2, fix_trunctfdi2, fix_trunctfsi2, negtf2, abstf2, nabstf2): New patterns. From-SVN: r47218
2001-11-20* gcc.dg/c90-intconst-1.c, gcc.dg/c99-intconst-1.c: New tests.Joseph Myers3-0/+1406
From-SVN: r47215
2001-11-20Treat XScale as ARMNick Clifton2-1/+6
From-SVN: r47214
2001-11-20* emit-rtl.c (get_mem_attrs): Fix typo.Richard Kenner2-1/+5
From-SVN: r47213
2001-11-20c-lang.c (finish_file): Backout 2001-11-16 changes...Jakub Jelinek2-23/+11
* c-lang.c (finish_file): Backout 2001-11-16 changes, instead set DECL_DEFER_OUTPUT for static inline functions before calling c_expand_deferred_function. From-SVN: r47212
2001-11-20unwind-dw2-fde.c (__register_frame_info_bases, [...]): Don't register empty ↵Jakub Jelinek2-2/+25
.eh_frame sections. * unwind-dw2-fde.c (__register_frame_info_bases, __register_frame): Don't register empty .eh_frame sections. (__deregister_frame_info_bases, __deregister_frame): Don't unregister them either. From-SVN: r47211
2001-11-20configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.Geoffrey Keating7-41/+185
* configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define. (HAVE_AS_GSTABS_DEBUG_FLAG): Define. * configure: Regenerate. * config.in: Add dummy definitions of new flags. * toplev.c (PREFERRED_DEBUGGING_TYPE): Move definition to... * defaults.h (PREFERRED_DEBUGGING_TYPE): ... here. * gcc.c (ASM_DEBUG_SPEC): New macro. (asm_debug): New static variable. (default_compilers): Add asm_debug when assembling from user input. (static_specs): Add asm_debug. From-SVN: r47210
2001-11-20re PR c++/3637 (Internal compiler error in finish_member_declaration)Mark Mitchell3-24/+83
PR c++/3637 * call.c (non_reference): Add documentation. (convert_class_to_reference): Do not strip reference types from conversion operators. (maybe_handle_ref_bind): Simplify. (compare_ics): Correct handling of references. From-SVN: r47209
2001-11-20Daily bump.GCC Administrator2-2/+2
From-SVN: r47206
2001-11-20* config.gcc (*-*-freebsd*): Remove configuration block.Loren J. Rittle2-9/+4
From-SVN: r47205
2001-11-20configure.in: Setup ability to run ./stage[1234]/xgcc in fixinc *as if* it ↵Loren J. Rittle3-2/+9
were a proper lang... bootstrap/4422 * configure.in: Setup ability to run ./stage[1234]/xgcc in fixinc *as if* it were a proper lang subdirectory. * configure: Rebuilt. From-SVN: r47204
2001-11-20* config/freebsd.h: Remove DEFAULT_VTABLE_THUNKS (again).Loren J. Rittle2-4/+4
From-SVN: r47203
2001-11-20re PR c++/4629 (non-constant `sizeof (void*)' cannot be used as template ↵Mark Mitchell5-6/+217
argument) * dump.c (dump_op): New function. (cp_dump_tree): Dump CLASSTYPE_TEMPLATE_SPECIALIZATION. Use dump_op. Dump DECL_MUTABLE, access and staticness for VAR_DECLs. DECL_PURE_VIRTUAL_P, DECL_VIRTUAL_P, PR4629 * semantics.c (finish_sizeof): Make sure that expression created while processing a template do not have a type. (finish_alignof): Likewise. * typeck.c (c_sizeof): Likewise. (expr_sizeof): Likewise. From-SVN: r47201
2001-11-20* Make-lang.in: Complete ``Build g77.1 in $(srcdir)''.Loren J. Rittle2-1/+5
From-SVN: r47198
2001-11-20* 1750a.md: Don't use hex format for a const_int.Kaveh R. Ghazi2-2/+6
From-SVN: r47197
2001-11-20* expmed.c (extract_bit_field): Don't create invalid SUBREGs.Geoffrey Keating2-8/+17
From-SVN: r47196
2001-11-20Index: f/ChangeLogGeoffrey Keating5-3/+29
* g77spec.c (lang_specific_driver) [ENABLE_SHARED_LIBGCC]: Add libgcc_s.so if libf2c is used. * Make-lang.in (g77spec.o): Use DRIVER_DEFINES. Index: testsuite/ChangeLog * lib/g77.exp: Don't specify --rpath-link. From-SVN: r47195
2001-11-20cpp.exp: For testing on a remote host, copy across all the headers.Geoffrey Keating6-4/+37
* gcc.dg/cpp/cpp.exp: For testing on a remote host, copy across all the headers. * gcc.dg/format/format.exp: For testing on a remote host, copy format.h. * gcc.c-torture/execute/20011008-3.c: Allow for small STACK_SIZE. * gcc.c-torture/execute/930406-1.c: Likewise. * gcc.c-torture/execute/comp-goto-1.c: Likewise. From-SVN: r47194
2001-11-20* gcc.c-dg/altivec.c: New.Aldy Hernandez2-0/+86
From-SVN: r47191
2001-11-19mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is defined (prevents link ↵Zack Weinberg2-0/+12
errors when... * mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is defined (prevents link errors when gettext isn't in the system library). From-SVN: r47189
2001-11-19cvsignore: Ignore g77.1Toon Moene4-106/+114
2001-11-19 Toon Moene <toon@moene.indiv.nluug.nl> * .cvsignore: Ignore g77.1 * g77.texi: Substitute `@command' for `@code' where appropriate. * invoke.texi: Ditto. From-SVN: r47188
2001-11-19read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these.DJ Delorie3-4/+42
* read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these. (validate_const_int): New. (read_rtx): Validate constant integers. * config/i386/i386.md (pmulhrwv4hi3): Use decimal constants. From-SVN: r47187
2001-11-19* doc/hostconfig.texi (DUMPFILE_FORMAT): Move into the table.Jakub Jelinek2-1/+5
From-SVN: r47186
2001-11-19toplev.c (DUMPFILE_FORMAT): Define default.Douglas B Rupp4-6/+28
* toplev.c (DUMPFILE_FORMAT): Define default. (open_dump_file): Use DUMPFILE_FORMAT in sprintf. (close_dump_file, compile_file): Likewise. * config/alpha/xm-vms.h (DUMPFILE_FORMAT): Define. * doc/hostconfig.texi (DUMPFILE_FORMAT): Document From-SVN: r47185
2001-11-19gcse.c (cprop_jump): Clear JUMP_LABEL field when we create a nop-jump.Jeff Law2-2/+10
* gcse.c (cprop_jump): Clear JUMP_LABEL field when we create a nop-jump. From-SVN: r47183
2001-11-19cppmacro.c (_cpp_backup_tokens): Revert previous check-in.Neil Booth3-2/+13
* cppmacro.c (_cpp_backup_tokens): Revert previous check-in. Don't fall off the base token run. * gcc.dg/cpp/fpreprocessed.c: New test case. From-SVN: r47182
2001-11-19* Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.Jason Wilkins2-1/+5
From-SVN: r47181
2001-11-19Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include since it ↵Laurent Guerby2-1/+6
is of no apparent use and cause warnings. 2001-11-19 Laurent Guerby <guerby@acm.org> * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include since it is of no apparent use and cause warnings. From-SVN: r47180
2001-11-19tree.def (VIEW_CONVERT_EXPR): New tree code.Richard Kenner8-37/+160
* tree.def (VIEW_CONVERT_EXPR): New tree code. * tree.h (handled_component_p): New declaration. * alias.c (handled_component_p): Move function from here ... * expr.c (handled_component_p): ... to here and non longer static. (is_zeros_p, case VIEW_CONVERT_EXPR): New case. (store_field): Remove unneeded MEM_COPY_ATTRIBUTES call. (get_inner_reference): Handle VIEW_CONVERT_EXPR. (expand_expr, case VAR_DECL): Clean up handling of re-layout case. (expand_expr, case VIEW_CONVERT_EXPR): New case. (expand_expr, cse ADDR_EXPR): No need to copy if already BIGGEST_ALIGNMENT. * fold-const.c (fold, case VIEW_CONVERT_EXPR): New case. * varasm.c (initializer_constant_value_p, case VIEW_CONVERT_EXPR): New. (output_constant): Handle VIEW_CONVERT_EXPR. * dwarf2out.c (loc-descriptor_from_tree, add_bound_info): Add new case for VIEW_CONVERT_EXPR. From-SVN: r47179