summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* Daily bump.GCC Administrator2001-11-052-2/+2
| | | | From-SVN: r46783
* [multiple changes]David Edelsohn2001-11-043-12/+29
| | | | | | | | | | | | | 2001-11-04 Alan Modra <amodra@bigpond.net.au> * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used. 2001-11-04 David Edelsohn <edelsohn@gnu.org> * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit mode as well. Do not explicitly create intermediate regs. From-SVN: r46777
* aof.h (aof_text_section, [...]): Don't declare.Kaveh R. Ghazi2001-11-0412-31/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * arm/aof.h (aof_text_section, aof_data_section): Don't declare. (common_section): Delete unused variable. (ASM_OUTPUT_ASCII): Fix signed/unsigned warnings. (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning. * arm-protos.h (arm_poke_function_name, aof_add_import, aof_delete_import): Const-ify. * arm.c (legitimize_pic_address): Wrap variables in the macro controlling their usage. (arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED. (arm_poke_function_name, pic_chain, import, aof_add_import, aof_delete_import): Const-ify. * i386.c (ix86_osf_output_function_prologue): Const-ify. * i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings. * i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify. * i860/sysv3.h: Add missing comment closure. * m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon. * m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call to symbolic_operand. * config.gcc (m680[02]0-*-*): Rename case from m68000-*-*. (i960-*-*): Set tmake_file. (sparc86x-*-elf*): Fix typo in header name. * sched-rgn.c (schedule_insns): Delete unused variable. From-SVN: r46776
* g77.texi: Split off invoke.texi (preliminary to using it to generate a man ↵Toon Moene2001-11-044-2066/+2073
| | | | | | | | | | | | page). 2001-11-04 Toon Moene <toon@moene.indiv.nluug.nl> * g77.texi: Split off invoke.texi (preliminary to using it to generate a man page). * Make-lang.in: Reflect in build rules. From-SVN: r46775
* re PR c/2820 (unnamed union inside unnamed struct changes rest of the struct)Neil Booth2001-11-044-51/+84
| | | | | | | | | | | | PR c/2820 * c-typeck.c (lookup_field): Rework to return a chain down to the looked-up field. (build_component_ref): Use the new lookup_field to handle nested anonymous entities correctly. * testsuite/gcc.c-torture/execute/anon-1.c: New test. From-SVN: r46774
* sparc.c (sparc_emit_set_const32, [...]): Change parameters to ↵Richard Kenner2001-11-043-28/+22
| | | | | | | | | | | gen_rtx_CONST_DOUBLE. * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64): Change parameters to gen_rtx_CONST_DOUBLE. (GEN_INT64, sparc_emit_set_const64): Likewise. * config/sparc/sparc.md (movdf split): Likewise. From-SVN: r46773
* * pt.c (tsubst_copy): Call tsubst for TYPEOF_EXPR.Kriang Lerdsuwanakij2001-11-043-0/+26
| | | | From-SVN: r46772
* Daily bump.GCC Administrator2001-11-042-2/+2
| | | | From-SVN: r46771
* unroll.c (calculate_giv_inc): Use find_last_value rather than just hoping ↵Geoffrey Keating2001-11-042-6/+9
| | | | | | | | | | the last instruction is the right SET. * unroll.c (calculate_giv_inc): Use find_last_value rather than just hoping the last instruction is the right SET. [Fixes 990604-1.c on stormy16.] From-SVN: r46769
* stormy16.h (LIB_SPEC): Don't supply any libgloss library at all if -T is used.Geoffrey Keating2001-11-042-7/+11
| | | | | | | * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss library at all if -T is used. From-SVN: r46768
* stormy16.c (stormy16_print_operand): Avoid some uses of uninitialized ↵Geoffrey Keating2001-11-042-2/+6
| | | | | | | | | variables in error cases. * config/stormy16/stormy16.c (stormy16_print_operand): Avoid some uses of uninitialized variables in error cases. From-SVN: r46766
* stormy16.c (stormy16_output_shift): Don't look at 'temp' if we won't be ↵Geoffrey Keating2001-11-042-1/+4
| | | | | | | | | using it. * config/stormy16/stormy16.c (stormy16_output_shift): Don't look at 'temp' if we won't be using it. From-SVN: r46765
* stormy16.h (CONST_COSTS): Define.Geoffrey Keating2001-11-042-5/+28
| | | | | | | | | * config/stormy16/stormy16.h (CONST_COSTS): Define. (RTX_COSTS): Define. (ADDRESS_COST): Define. (MEMORY_MOVE_COST): Allow for memory_move_secondary_cost. From-SVN: r46764
* * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.Geoffrey Keating2001-11-042-0/+3
| | | | From-SVN: r46763
* stormy16.h (ASM_OUTPUT_MI_THUNK): Call stormy16_asm_output_mi_thunk.Geoffrey Keating2001-11-044-6/+56
| | | | | | | | | | | * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call stormy16_asm_output_mi_thunk. * config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New function. * config/stormy16/stormy16-protos.h (stormy16_asm_output_mi_thunk): New prototype. From-SVN: r46762
* ChangeLog.2, [...]: Fix spelling errors.Joseph Myers2001-11-0441-98/+113
| | | | | | | | | | | | | | | | | * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c, caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c, cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c, sched-int.h, toplev.c, config/alpha/alpha.c, config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h, config/cris/cris.md, config/i370/i370.md, config/i386/i386.c, config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h, config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md, config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h, config/ns32k/ns32k.md, config/rs6000/rs6000.c, config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors. From-SVN: r46760
* Makefile.in (dbxout.o): Depend on function.h.Kaveh R. Ghazi2001-11-046-7/+31
| | | | | | | | | | | | | * Makefile.in (dbxout.o): Depend on function.h. * collect2.c (is_in_list): Hide unused function. * dbxout.c: Include function.h. (source_label_number, dbxout_source_line, dbxout_source_file, dbxout_function_end, dbxout_begin_function): Wrap/move inside macros controlling usage. * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining. * output.h (exports_section): Prototype. From-SVN: r46759
* convex.c (convex_output_function_prologue): Fix format specifier warning.Kaveh R. Ghazi2001-11-0418-49/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * convex.c (convex_output_function_prologue): Fix format specifier warning. (asm_declare_function_name): Fix signed/unsigned warning. (print_operand): Fix format specifier warning. * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning. * dsp16xx-protos.h (uns_comparison_operator, num_1600_core_shifts): Prototype. * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h. (frame_size, frame_pointer_offset): Delete. (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue): Make static. Fix format specifier warnings. * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning. (EXTRA_SECTION_FUNCTIONS): Prototype const_section. * dsp16xx.md: Add default case in switches. * fr30.h (IN_RANGE): Delete. * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings. * mcore-protos.h (mcore_output_cmov): Const-ify. * mcore.c (mcore_output_cmov): Likewise. * mcore.h (switch_to_section): Make static and prototype. * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix unsigned>=0 warnings. * mn10300.h (REGNO_IN_RANGE_P): Likewise. * rs6000-protos.h (read_only_data_section, read_only_private_data_section): Prototype. * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning. * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED. * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning. From-SVN: r46758
* dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with ATTRIBUTE_UNUSED.Kaveh R. Ghazi2001-11-045-6/+25
| | | | | | | | | | | * dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with ATTRIBUTE_UNUSED. * final.c (final_scan_insn): Add brackets around body of if-stmt. * gcc.c (convert_filename): Add static prototype. Const-ify. Wrap variable in macros controlling its use. * output.h (sdata_section): Add prototype. From-SVN: r46757
* * lex.c (copy_lang_type): Add static prototype.Kaveh R. Ghazi2001-11-042-1/+6
| | | | From-SVN: r46756
* 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.Kaveh R. Ghazi2001-11-0437-59/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype. (ASM_OUTPUT_ASCII): Avoid signed/unsigned warning. * c4x.h (INIT_SECTION_FUNCTION): Add prototype. (ASM_FILE_START): Const-ify. (ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format specifier warning. * c4x.md: Don't use the 'U' integer suffix. * clipper.md (clipper_movstr): Delete declaration. * d30v-protos.h (d30v_move_2words): Const-ify. (debug_stack_info): Add prototype. * d30v.c: Include "integrate.h". (d30v_function_arg_boundary, d30v_function_arg, d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid signed/unsigned warnings. (d30v_print_operand_memory_reference, d30v_move_2words): Const-ify. * d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript. * fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype. * fr30.md: Const-ify. * h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype. * i370.c (i370_label_scan, mvs_get_label): Make definition static. (mvs_get_label_page): Hide unused static function. * i860.c (current_function_original_name): Const-ify. * i860/sysv3.h (current_function_original_name): Likewise. * i860/sysv4.h (current_function_original_name): Likewise. * i960.md: Add default case in switches. Remove unused variable. * i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining. * m32r.md: Const-ify. * m68hc11-protos.h (m68hc11_asm_file_start): Const-ify. * m68hc11.c: Include "reload.h". (static_chain_reg, print_options, m68hc11_asm_file_start): Const-ify. * m68hc11.md: Delete unused variable. Const-ify. Add parens around & in comparison. * mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining. * mn10200.c (shift_mode): Remove trailing comma. * mn10300-protos.h (output_tst): Const-ify. * mn10300.c (output_tst): Likewise. * pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings. * pa-protos.h (output_ascii): Use regular char *, not unsigned. * pa.c (output_ascii): Likewise. * pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype. * pdp11.md (expand_unop): Delete declarations. * pj-protos.h (pj_output_addsi3): Const-ify. * pj.c (pj_output_push_int, pj_output_load, pj_output_inc, pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond, unique_src_operand): Add prototypes. (pj_output_store_into_lval): Make definition static. (pj_function_incoming_arg): Don't use unary plus. (pj_output_addsi3): Const-ify. * romp.md (get_symref): Delete declarations. * v850-c.c (mark_current_function_as_interrupt): Don't return value from void function. * v850.c: Include "integrate.h". * v850.h (ASM_OUTPUT_LABELREF): Const-ify. * vax-protos.h (const_section): Add prototype. From-SVN: r46755
* machmode.def: Add documentation for the seventh argument in vector modes.Aldy Hernandez2001-11-042-3/+11
| | | | | | | | | 2001-11-03 Aldy Hernandez <aldyh@redhat.com> * machmode.def: Add documentation for the seventh argument in vector modes. From-SVN: r46753
* invoke.texi (MMIX Options): Say remainder consistently.Hans-Peter Nilsson2001-11-032-4/+11
| | | | | | | | | * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder consistently. <-mno-toplevel-symbols>: Change @code{:} to @samp{:}. <-melf>: Don't have markup for ELF acronym. From-SVN: r46752
* Prefix crti.o and crtn.o with dest directory dollar(T)Hans-Peter Nilsson2001-11-031-2/+4
| | | | From-SVN: r46751
* Fix formatting and comment typoHans-Peter Nilsson2001-11-031-3/+3
| | | | From-SVN: r46750
* Fix typo s/abi=/mabi=/ in CPP_SPECHans-Peter Nilsson2001-11-031-4/+4
| | | | From-SVN: r46749
* Remove unused mclass variable in mmix_function_outgoing_valueHans-Peter Nilsson2001-11-031-2/+1
| | | | From-SVN: r46748
* Fix argv and argc for __MMIX_ABI_GNU__Hans-Peter Nilsson2001-11-031-8/+10
| | | | From-SVN: r46747
* config.gcc (mmix-*-*): New target.Hans-Peter Nilsson2001-11-0311-2/+6080
| | | | | | | | | | | | | | | * config.gcc (mmix-*-*): New target. * doc/invoke.texi: Document MMIX options. * doc/contrib.texi: Add note about MMIX port to my entry. * config/mmix/t-mmix: New file. * config/mmix/mmix.h: New file. * config/mmix/mmix-protos.h: New file. * config/mmix/mmix.c: New file. * config/mmix/mmix.md: New file. * config/mmix/crti.asm: New file. * config/mmix/crtn.asm: New file. From-SVN: r46746
* l10nflist.c (_nl_normalize_codeset): Cast argument of ctype function to ↵Kaveh R. Ghazi2001-11-037-14/+33
| | | | | | | | | | | | | | | `unsigned char'. * l10nflist.c (_nl_normalize_codeset): Cast argument of ctype function to `unsigned char'. * loadmsgcat.c (_nl_load_domain): Likewise. * localealias.c (read_alias_file, alias_compare): Likewise. * localcharset.c: Include "gettextP.h". * plural.y (__attribute__): Define. (yyerror): Mark parameter with __attribute__ ((__unused__)). * plural.c: Regenerate. From-SVN: r46743
* 900227_01.C: short and pointer are the same size, so no warning should be ↵Geoffrey Keating2001-11-035-1/+14
| | | | | | | | | | | | | | produced on stormy16. * g++.old-deja/g++.bugs/900227_01.C: short and pointer are the same size, so no warning should be produced on stormy16. * g++.old-deja/g++.eh/badalloc1.C: Will always fail on stormy16 due to oversized array. * g++.old-deja/g++.mike/ns15.C: Likewise. * g++.old-deja/g++.pt/crash16.C: Likewise. From-SVN: r46738
* linux-aout.h: Fix comment formatting.Kazu Hirata2001-11-0315-64/+81
| | | | | | | | | | | | | | | | | | | * config/sparc/linux-aout.h: Fix comment formatting. * config/sparc/linux.h: Likewise. * config/sparc/linux64.h: Likewise. * config/sparc/lynx.h: Likewise. * config/sparc/pbd.h: Likewise. * config/sparc/sol2-sld-64.h: Likewise. * config/sparc/sol2.h: Likewise. * config/sparc/sparc.c: Likewise. * config/sparc/sparc.h: Likewise. * config/sparc/sparc.md: Likewise. * config/sparc/sunos4.h: Likewise. * config/sparc/vxsim.h: Likewise. * config/sparc/vxsparc.h: Likewise. * config/sparc/vxsparc64.h: Likewise. From-SVN: r46737
* cselib.c (cselib_subst_to_values, [...]): Remove reference to ↵Richard Kenner2001-11-0310-206/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CONST_DOUBLE_MEM in comment. * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove reference to CONST_DOUBLE_MEM in comment. * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand. (gen_rtx, case CONST_DOUBLE): Call it with one less operand. (init_emit_once): Don't clear CONST_DOUBLE_MEM. * function.c (pop_function_context_from): Don't call restore_varasm_status. * function.h (restore_varasm_status): Delete declaration. * gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot. * rtl.c: Likewise. * rtl.def (CONST_DOUBLE): Update comment. * rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number. (CONST_DOUBLE_CHAIN): Likewise. (CONST_DOUBLE_MEM): Delete. (gen_rtx_CONST_DOUBLE): Update parameters. * varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT. Remove reference to CONST_DOUBLE_MEM. (const_alias_set): New variable. (immed_double_const): Change call to gen_rtx_CONST_DOUBLE. (immed_real_const_1): Adjust tests for 0, 1, and 2. Don't set CONST_DOUBLE_MEM. (clear_const_double_mem): Don't do anything with const_tiny_rtx. (output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST. Put constant in const_alias_set. (struct pool_constant): ALIGN now unsigned. OFFSET now HOST_WIDE_INT. Delete LABEL. (restore_varasm_status): Deleted. (mark_pool_constant): Mark desc->rtl. (force_const_mem): Rework to store rtl in hash table, not CONST_DOUBLE_MEM. Put constant in const_alias_set. (find_pool_constant): Check desc->rtl. (mark_constants, mark_constant): Don't special-case CONST_DOUBLE. (init_varasm_once): Initialize const_alias_set. From-SVN: r46736
* expr.c (expand_expr, [...]): If at top level, don't call force_const_mem.Richard Kenner2001-11-032-0/+11
| | | | | | | * expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call force_const_mem. From-SVN: r46735
* reload.c (combine_reloads): Don't combine an output reload if there are ↵Richard Kenner2001-11-032-0/+21
| | | | | | | | | other reloads around for part of... * reload.c (combine_reloads): Don't combine an output reload if there are other reloads around for part of the output. From-SVN: r46734
* emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a constant ↵Richard Kenner2001-11-034-8/+33
| | | | | | | | | | | | | | expression. * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a constant expression. (set_mem_decl): New function. * expr.h (set_mem_decl): New declaration. * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo. (output_asm_operand_names): Add tab. * reload1.c (alter_reg): Set decl of MEM from REG_DECL. From-SVN: r46733
* builtins.c (get_memory_rtx): Properly set MEM alias set and attributes.Richard Kenner2001-11-032-7/+14
| | | | | | | * builtins.c (get_memory_rtx): Properly set MEM alias set and attributes. From-SVN: r46732
* extend.texi, [...]: Use "invalid" instead of "illegal".Joseph Myers2001-11-035-7/+13
| | | | | | | | * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi: Use "invalid" instead of "illegal". Use @r in comments in examples. From-SVN: r46730
* Daily bump.GCC Administrator2001-11-032-2/+2
| | | | From-SVN: r46729
* c-decl.c (pushdecl): Move block inside if conditional to remove possibility ↵Neil Booth2001-11-033-9/+18
| | | | | | | | | | | | of a segfault. * c-decl.c (pushdecl): Move block inside if conditional to remove possibility of a segfault. Lookup block-level extern variables in enclosing scopes correctly. * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL. From-SVN: r46726
* expr.c (convert_move): Use simplify_gen_subreg to make SUBREG so we avoid ↵Aldy Hernandez2001-11-022-2/+4
| | | | | | | | | SUBREGing memory. * expr.c (convert_move): Use simplify_gen_subreg to make SUBREG so we avoid SUBREGing memory. From-SVN: r46722
* expmed.c (store_bit_field): Use simplify_gen_subreg to make SUBREG so we ↵Aldy Hernandez2001-11-022-6/+6
| | | | | | | | | avoid SUBREGing memory. * expmed.c (store_bit_field): Use simplify_gen_subreg to make SUBREG so we avoid SUBREGing memory. From-SVN: r46721
* rs6000.c (rs6000_emit_move): Make sure that using FP registers for DImode ↵DJ Delorie2001-11-022-0/+24
| | | | | | | | | mem-mem moves is acceptable. * config/rs6000/rs6000.c (rs6000_emit_move): Make sure that using FP registers for DImode mem-mem moves is acceptable. From-SVN: r46720
* forgot changelogAldy Hernandez2001-11-021-0/+7
| | | | From-SVN: r46719
* builtins.c (apply_args_size): Handle vector arguments.Aldy Hernandez2001-11-022-19/+54
| | | | | | | | | * builtins.c (apply_args_size): Handle vector arguments. (apply_result_size): Same. * machmode.def: Set WIDER mode field for all vector entries. From-SVN: r46718
* com.c (ffecom_initialize_char_syntax_, [...]): Delete.Kaveh R. Ghazi2001-11-022-60/+12
| | | | | | | | | | * com.c (ffecom_initialize_char_syntax_, U_CHAR, is_idchar, is_idstart, is_hor_space, is_space, SKIP_WHITE_SPACE, SKIP_ALL_WHITE_SPACE): Delete. (read_filename_string, read_name_map): Don't use is_space or is_hor_space. From-SVN: r46716
* * pt.c (unify): Handle SCOPE_REF.Kriang Lerdsuwanakij2001-11-023-0/+16
| | | | From-SVN: r46715
* * g++.dg/other/debug1.C: Fix typos.Graham Stott2001-11-022-1/+5
| | | | From-SVN: r46714
* * recog.c (decode_asm_operands): Check that the SRC is ASM_OPERANDS.Graham Stott2001-11-022-1/+6
| | | | From-SVN: r46713
* Daily bump.GCC Administrator2001-11-022-2/+2
| | | | From-SVN: r46711