aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2001-12-09Trivial updates to last patch.Richard Kenner1-2/+2
From-SVN: r47832
2001-12-09t-vms (EXTRA_PARTS): Append $(VMS_EXTRA_PARTS) Add rules for building [vp]crt0.oDouglas B Rupp7-2/+216
* config/alpha/t-vms (EXTRA_PARTS): Append $(VMS_EXTRA_PARTS) Add rules for building [vp]crt0.o * config/alpha/vms.h (START_FILE_SPEC): Define. * config/alpha/x-vms (VMS_EXTRA_PARTS): Define * config/alpha/vms-crt0.c, config/alpha/vms-psxcrt0.c: New files. * doc/invoke.texi: Document special Alpha/VMS options. From-SVN: r47831
2001-12-09hwint.h (HOST_BITS_PER_LONGLONG): Deal with __int64 type.Richard Kenner3-1/+13
* hwint.h (HOST_BITS_PER_LONGLONG): Deal with __int64 type. * vmsdbg.h (DST_SRC_COMMAND): Test for type of long long or __int64, not GNUC. From-SVN: r47828
2001-12-09tree.c (append_random_char): Conditionalize INO for VMS.Richard Kenner2-4/+15
* tree.c (append_random_char): Conditionalize INO for VMS. Co-Authored-By: Douglas B Rupp <rupp@gnat.com> From-SVN: r47827
2001-12-10cfgcleanup.c (label_is_jump_target_p): New function.Richard Henderson2-3/+46
* cfgcleanup.c (label_is_jump_target_p): New function. (try_optimize_cfg): Use label_is_jump_target_p to check if label is target of a JUMP_INSN from the preceding block. From-SVN: r47825
2001-12-09vmsdbgout.c (lookup_filename): Assign null string instead of null pointer to ↵Douglas B Rupp2-1/+6
fnam. * vmsdbgout.c (lookup_filename): Assign null string instead of null pointer to fnam. From-SVN: r47823
2001-12-09check-init.c (check_init): Don't allow pre- or post- increment or decrement ↵Tom Tromey2-5/+19
of final variable. * check-init.c (check_init): Don't allow pre- or post- increment or decrement of final variable. (final_assign_error): Minor error message rewording. From-SVN: r47821
2001-12-09alpha.c (alpha_align_insns): Suppress realignment immediately after a call; ↵Richard Henderson2-8/+18
insert nops before a call. * config/alpha/alpha.c (alpha_align_insns): Suppress realignment immediately after a call; insert nops before a call. From-SVN: r47820
2001-12-09alpha.c (alpha_align_insns): Use align_functions, not FUNCTION_BOUNDARY.Richard Henderson6-12/+30
* config/alpha/alpha.c (alpha_align_insns): Use align_functions, not FUNCTION_BOUNDARY. * config/alpha/alpha.h (TRAMPOLINE_ALIGNMENT): New. * config/alpha/alpha32.h, config/alpha/vms.h: Likewise. * config/alpha/unicosmk.h (FUNCTION_BOUNDARY): Remove. From-SVN: r47819
2001-12-09mmix.c (mmix_function_block_profiler, [...]): Delete unused functions.Hans-Peter Nilsson4-40/+12
* config/mmix/mmix.c (mmix_function_block_profiler, mmix_block_profiler, mmix_function_block_profiler_exit): Delete unused functions. * config/mmix/mmix-protos.h (mmix_function_block_profiler, mmix_block_profiler, mmix_function_block_profiler_exit): Delete prototypes. * config/cris/cris.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete obsoleted macros. From-SVN: r47818
2001-12-09cpp.texi, [...]: Use American spelling.Joseph Myers7-36/+39
* doc/cpp.texi, doc/cppinternals.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Use American spelling. From-SVN: r47816
2001-12-09ChangeLog.2, [...]: Fix spelling errors.Joseph Myers33-75/+90
* ChangeLog.2, ChangeLog.3, ChangeLog.5, ChangeLog, alias.c, cfgbuild.c, expmed.c, expr.c, final.c, flow.c, fold-const.c, function.c, config/alpha/alpha.md, config/alpha/vms-ld.c, config/arm/arm.c, config/arm/arm.h, config/c4x/libgcc.S, config/i370/i370.c, config/i386/i386.c, config/i386/i386-interix.h, config/i386/i386.md, config/i386/i386.h, config/i386/netbsd-elf.h, config/ia64/ia64.c, config/m32r/m32r-protos.h, config/mcore/mcore.h, config/rs6000/rs6000.h, config/sparc/linux64.h, config/sparc/sparc.c, config/v850/v850-protos.h, config/cris/cris.h, config/s390/s390.md, config/elfos.h: Fix spelling errors. From-SVN: r47815
2001-12-09rs6000.h (enum rs6000_builtins): Add remaining altivec builtins (VCF?X, ↵Daniel Berlin4-13/+212
VCT?XS, VSEL, V*EFP, VRFI*). 2001-12-09 Daniel Berlin <dan@cgsoftware.com> * config/rs6000/rs6000.h (enum rs6000_builtins): Add remaining altivec builtins (VCF?X, VCT?XS, VSEL, V*EFP, VRFI*). * config/rs6000/rs6000.c: Ditto. * config/rs6000/rs6000.md: Ditto. From-SVN: r47814
2001-12-09re PR c++/87 (member template assignment operator)Nathan Sidwell8-150/+256
cp: PR g++/87 * cp-tree.h (DECL_COPY_CONSTRUCTOR_P): Use copy_fn_p. (copy_args_p): Rename to ... (copy_fn_p): ... here. (grok_special_member_properties): New function. (grok_op_properties): Lose VIRTUALP parameter. (copy_assignment_arg_p): Remove. * call.c (build_over_call): Use copy_fn_p. * decl.c (grokfndecl): Reformat. Adjust call to grok_op_properties. (copy_args_p): Rename to ... (copy_fn_p): ... here. Reject template functions. Check for pass by value. (grok_special_member_properties): Remember special functions. (grok_ctor_properties): Don't remember them here, just check. (grok_op_properties): Likewise. (start_method): Call grok_special_member_properties. * decl2.c (grokfield): Likewise. (copy_assignment_arg_p): Remove. (grok_function_init): Don't remember abstract assignment here. * pt.c (instantiate_class_template): Call grok_special_member_properties. (tsubst_decl): Adjust grok_op_properties call. testsuite: * g++.dg/other/copy1.C: New test. From-SVN: r47813
2001-12-091750a.md: Add default case in switch.Kaveh R. Ghazi14-28/+59
* 1750a.md: Add default case in switch. * alpha/vms.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in if-else statement. * dsp16xx.c (print_operand_address): Likewise. * i386/osf1elf.h (FUNCTION_PROFILER): Const-ify. * ia64.md: Add missing braces. * rs6000-protos.h (s8bit_cint_operand): Prototype. * s390.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in if-else statement. * stormy16.h (REG_CLASS_CONTENTS): Add missing braces. * v850.h (OUTPUT_ADDR_CONST_EXTRA): Don't issue a `return'. * dbxout.c (dbxout_source_file): Move a variable into the scope where it is used. * final.c (profile_function): Mark parameter with ATTRIBUTE_UNUSED. * genemit.c (gen_expand): Likewise for generated file. * insn-addr.h (INSN_ADDRESSES_NEW): Avoid undefined behavior. From-SVN: r47812
2001-12-09vmsdbg.h: Delete spurious close-comment.Kaveh R. Ghazi3-3/+8
* vmsdbg.h: Delete spurious close-comment. (DST_HEADER): Fix typo in ENUM_BITFIELD parameter. * vmsdbgout.c (write_modbeg): Define return type. From-SVN: r47811
2001-12-093b1.h (ASM_OUTPUT_ALIGN): Wrap in do-while(0).Kaveh R. Ghazi8-8/+32
* m68k/3b1.h (ASM_OUTPUT_ALIGN): Wrap in do-while(0). * m68k/amix.h (ASM_GENERATE_INTERNAL_LABEL): Likewise. * m68k/atari.h (ASM_GENERATE_INTERNAL_LABEL): Likewise. * m68k/hp320.h (ASM_OUTPUT_ALIGN): Likewise. * m68k/m68kelf.h (ASM_OUTPUT_ALIGN): Likewise. * m68k/sgs.h (ASM_OUTPUT_ALIGN): Likewise. * m68k/tower-as.h (ASM_OUTPUT_ALIGN): Likewise. From-SVN: r47810
2001-12-09Daily bump.GCC Administrator2-2/+2
From-SVN: r47809
2001-12-09lex.c (rid_to_yy): Add RID_CHOOSE_EXPR and RID_TYPES_COMPATIBLE_P.Aldy Hernandez2-0/+7
2001-12-08 Aldy Hernandez <aldyh@redhat.com> * lex.c (rid_to_yy): Add RID_CHOOSE_EXPR and RID_TYPES_COMPATIBLE_P. From-SVN: r47807
2001-12-09Fix rs6000 -maix64 -mstringTom Rix5-5/+93
From-SVN: r47806
2001-12-09* java-tree.h: Fixed typo.Tom Tromey2-1/+3
From-SVN: r47805
2001-12-09gjavah.c (decompile_method): Don't decompile to `return this' for static ↵Tom Tromey2-1/+7
methods. * gjavah.c (decompile_method): Don't decompile to `return this' for static methods. From-SVN: r47804
2001-12-09gjavah.c (cxx_keywords): Re-sorted.Tom Tromey3-4/+7
* gjavah.c (cxx_keywords): Re-sorted. * lex.c (cxx_keywords): Re-sorted. From-SVN: r47803
2001-12-09gjavah.c (HANDLE_METHOD): Set `decompiled' before doing anything else.Tom Tromey2-1/+4
* gjavah.c (HANDLE_METHOD): Set `decompiled' before doing anything else. From-SVN: r47802
2001-12-09gjavah.c (print_namelet): Clear subnamelets.Tom Tromey2-1/+8
* gjavah.c (print_namelet): Clear subnamelets. (HANDLE_METHOD): Set `method_printed' earlier. From-SVN: r47801
2001-12-08c-common.h (rid): Add RID_CHOOSE_EXPR and RID_TYPES_COMPATIBLE_P.Aldy Hernandez4-2/+132
* c-common.h (rid): Add RID_CHOOSE_EXPR and RID_TYPES_COMPATIBLE_P. * c-parse.in (reswords): Add __builtin_choose_expr. Add __builtin_types_compatible_p. Add CHOOSE_EXPR token. Add TYPES_COMPATIBLE_P token. Add production for CHOOSE_EXPR. Add production for TYPES_COMPATIBLE_P. * doc/extend.texi (__builtin_choose_expr): Add documentation. (__builtin_types_compatible_p): Likewise. From-SVN: r47798
2001-12-08builtin-types-compatible-p.c: New.Aldy Hernandez3-0/+133
2001-10-08 Aldy Hernandez <aldyh@redhat.com> * testsuite/gcc.c-torture/execute/builtin-types-compatible-p.c: New. * testsuite/gcc.c-torture/gcc.dg/builtin-choose-expr.c: New. From-SVN: r47797
2001-12-08stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN to unions.David Edelsohn2-0/+9
* stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN to unions. From-SVN: r47796
2001-12-08c-parse.in: Take string literals in assembler constructs, not expressions.Neil Booth3-38/+22
* c-parse.in: Take string literals in assembler constructs, not expressions. * c-typeck.c (build_asm_stmt, simple_asm_stmt): No need to check the strings are STRING_CSTs. From-SVN: r47795
2001-12-08semantics.c (simplify_aggr_init_exprs_r): Add DIRECT_BIND flag in call to ↵John David Anglin3-2/+12
build_aggr_init. * semantics.c (simplify_aggr_init_exprs_r): Add DIRECT_BIND flag in call to build_aggr_init. * cp-tree.h (DIRECT_BIND): Document new use of DIRECT_BIND. From-SVN: r47793
2001-12-08c-lex.c (c_lex): Peek a token ahead for a string to concatenate...Neil Booth7-99/+114
* c-lex.c (c_lex): Peek a token ahead for a string to concatenate, using combine_strings to do the concatenation. * c-parse.in: Replace uses of the string non-terminal with STRING. Don't attempt string concatenation. (OBJC_STRING): New terminal. (string): Remove non-terminal. (_yylex): Call combine_strings on function names. Generate OBJC_STRING terminals; don't pass '@' on to yacc. * c-typeck.c (simple_asm_stmt): Don't concatenate strings here. (build_asm_stmt): Similarly. cp: * parse.y: Replace uses of the string non-terminal with STRING. Don't perform string concatentaion here. (string): Remove non-terminal. * semantics.c (finish_asm_stmt): Don't concatenate strings here. From-SVN: r47792
2001-12-08* rtlanal.c (get_jump_table_offset): Delete unused variable.Kaveh R. Ghazi2-1/+4
From-SVN: r47791
2001-12-08arm.md (VUNSPEC_PREFETCH): Delete constant definition.Richard Earnshaw4-24/+13
* arm.md (VUNSPEC_PREFETCH): Delete constant definition. (prefetch): Rewrite using PREFETCH RTL primitive. * arm.h (arm_builtins): Delete ARM_BUILTIN_PREFETCH). * arm.c (arm_init_builtins): Don't initialize a builtin for __builtin_prefetch here. (arm_expand_builtin): Dont expand __builtin_prefetch here. From-SVN: r47790
2001-12-08Oops, this didn't get commited with final.c patch.Richard Earnshaw1-0/+5
From-SVN: r47789
2001-12-08final.c (cleanup_subreg_operands): Use recog_data.operand_loc in test for a ↵Richard Earnshaw1-1/+6
subreg. * final.c (cleanup_subreg_operands): Use recog_data.operand_loc in test for a subreg. From-SVN: r47788
2001-12-08Daily bump.GCC Administrator2-2/+2
From-SVN: r47787
2001-12-08rtl.c (rtx_equal_p): Check for null pointers when comparing rtx strings.John David Anglin2-1/+8
* rtl.c (rtx_equal_p): Check for null pointers when comparing rtx strings. From-SVN: r47785
2001-12-07* gcc.dg/cpp/ucs.c: Adjust expected warning for 64-bit hosts.Richard Henderson2-1/+7
From-SVN: r47784
2001-12-07* doc/extend.texi: Fix typo last change.Richard Henderson2-1/+3
From-SVN: r47777
2001-12-07* c-decl.c (c_language): Remove duplicate.Richard Henderson2-4/+4
From-SVN: r47776
2001-12-07darwin.h: Set MAX_LONG_TYPE_SIZE to 32.Dale Johannesen4-31/+165
* config/rs6000/darwin.h: Set MAX_LONG_TYPE_SIZE to 32. * config/rs6000/rs6000.c (rs6000_emit_move): In Darwin- specific codegen, eliminate a register copy. (print_operand_address): Add support for Darwin's lo16(constant) syntax. (rs6000_machopic_legitimize_pic_address): Fix darwin-specific generation of addresses within very large data objects. (s8bit_cint_operand): New. * config/rs6000/rs6000.md: Remove "iu" reference for 750/7400. Move "mtjmpr" to correct functional unit for 750/7400/7450. Add imul2 and imul3 insn types for multiplication by 16- and 8-bit constants. Change tablejump patterns to strongly discourage using LR rather than CTR. Add %lo16 patterns for Darwin loads and stores. From-SVN: r47775
2001-12-07* alpha.md: Use (HOST_WIDE_INT)1<<63 in lieu of 0x8000000000000000.Kaveh R. Ghazi2-2/+6
From-SVN: r47774
2001-12-07sparc-ret.c: New file, test return corruption bug for ultrasparc.Stephane Carrez2-0/+32
* gcc.dg/sparc-ret.c: New file, test return corruption bug for ultrasparc. From-SVN: r47773
2001-12-07sparc.c (epilogue_renumber): Do not replace %fp with %sp because it can ↵Stephane Carrez2-0/+30
cause the delayed instruction to... * config/sparc/sparc.c (epilogue_renumber): Do not replace %fp with %sp because it can cause the delayed instruction to load below the stack. From-SVN: r47772
2001-12-07alpha.c (alpha_expand_unaligned_store, [...]): Use constm1_rtx in place of ↵Kaveh R. Ghazi2-3/+9
call to immed_double_const. * alpha.c (alpha_expand_unaligned_store, alpha_expand_unaligned_store_words): Use constm1_rtx in place of call to immed_double_const. From-SVN: r47770
2001-12-07lang.c (lang_f_options): Added optimize-static-class-initialization.Tom Tromey2-10/+8
* lang.c (lang_f_options): Added optimize-static-class-initialization. (java_decode_option): Removed special case. From-SVN: r47768
2001-12-07committed wrong rev. oops. fixing.Aldy Hernandez1-2/+2
From-SVN: r47766
2001-12-07newAldy Hernandez1-0/+38
From-SVN: r47765
2001-12-07extend.texi (Variable Attributes): Document vector_size.Aldy Hernandez3-6/+184
2001-12-07 Aldy Hernandez <aldyh@redhat.com> * doc/extend.texi (Variable Attributes): Document vector_size. * attribs.c (c_common_attribute_table): Add vector_size. (handle_vector_size_attribute): New. (vector_size_helper): New. (decl_attributes): Relayout the decl after calculating attribs. From-SVN: r47764
2001-12-07* check-init.c (check_init): Fix typo freeing memory twice.Per Bothner2-2/+4
From-SVN: r47763