aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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 Administrator6-6/+6
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-08atomicity.h (struct __Atomicity_lock<__inst>): Add.Nathan Myers2-6/+24
libstdc++/5037 * config/cpu/sparc/sparc32/bits/atomicity.h (struct __Atomicity_lock<__inst>): Add. (__Atomicity_lock<__inst>::_S_atomicity_lock): Add. (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock instead of lock local to static function. (__atomic_add): Likewise. Co-Authored-By: Loren J. Rittle <ljrittle@acm.org> From-SVN: r47782
2001-12-07ClassLoader.java (defineClass): Rethrow any LinkageError.Tom Tromey2-1/+4
* java/lang/ClassLoader.java (defineClass): Rethrow any LinkageError. From-SVN: r47780
2001-12-07ThreadGroup.java (uncaughtException): Print message to System.err.Tom Tromey2-3/+7
* java/lang/ThreadGroup.java (uncaughtException): Print message to System.err. Required by spec. From-SVN: r47779
2001-12-07globals.cc: Remove __GTHREADS guard.Phil Edwards2-2/+4
2001-12-07 Phil Edwards <pme@gcc.gnu.org> * src/globals.cc: Remove __GTHREADS guard. From-SVN: r47778
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-07verify.cc (_Jv_BytecodeVerifier::branch_prepass): Set start_PC earlier, for ↵Tom Tromey2-3/+15
error handling. * verify.cc (_Jv_BytecodeVerifier::branch_prepass): Set start_PC earlier, for error handling. (_Jv_BytecodeVerifier::note_branch_target): Fixed branch target check. From-SVN: r47769
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-07locale_facets.tcc (num_put::_M_convert_float): Extend comment, reduce ↵Paolo Carlini2-2/+11
__cs_size for non-fixed outputs. 2001-12-07 Paolo Carlini <pcarlini@unitus.it> * include/bits/locale_facets.tcc (num_put::_M_convert_float): Extend comment, reduce __cs_size for non-fixed outputs. From-SVN: r47767
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
2001-12-07MAINTAINERS (Write After Approval): Add myself.Turly O'Connor1-0/+8
* MAINTAINERS (Write After Approval): Add myself. * rs6000.c (rs6000_trampoline_size): Handle ABI_DARWIN case. (rs6000_initialize_trampoline): Call __trampoline_setup for ABI_DARWIN too. * darwin-tramp.asm: New file, implements __trampoline_setup. * t-darwin: LIB2FUNCS_EXTRA now includes darwin_tramp.asm. From-SVN: r47762
2001-12-07* t-darwin: LIB2FUNCS_EXTRA now includes darwin_tramp.asm.Turly O'Connor1-0/+3
From-SVN: r47761
2001-12-07* darwin-tramp.asm: New file, implements __trampoline_setup.Turly O'Connor1-0/+131
From-SVN: r47760
2001-12-07rs6000.c (rs6000_trampoline_size): Handle ABI_DARWIN case.Turly O'Connor1-1/+3
* rs6000.c (rs6000_trampoline_size): Handle ABI_DARWIN case. (rs6000_initialize_trampoline): Call __trampoline_setup for ABI_DARWIN too. From-SVN: r47759
2001-12-07* MAINTAINERS: add self to write-after-approval crew.Turly O'Connor1-0/+1
From-SVN: r47758
2001-12-07gcc.texi: Don't include install-old.texi.Joseph Myers6-22/+107
* doc/gcc.texi: Don't include install-old.texi. Adjust menu description for Trouble section. * doc/install-old.texi: Adjust for inclusion as chapter of new installation manual. * doc/install.texi, doc/include/fdl.texi, doc/install.texi2html: Adjust to include old installation chapter as chapter of new installation manual. From-SVN: r47757
2001-12-07rtl.h (get_jump_table_offset): Declare.John Wehle3-0/+147
* rtl.h (get_jump_table_offset): Declare. * rtlanal.c (get_jump_table_offset): Implement. From-SVN: r47756
2001-12-07final.c (bb_head, [...]): Deleted; were used only by BB profiler code.Richard Kenner2-15/+5
* final.c (bb_head, bb_tail, bb_file_label_num, bb_func_label_num): Deleted; were used only by BB profiler code. (sbb_head, sbb_tail, sbb_label_num): Likewise. (end_final): Delete now-unused vars I, PTR, and SPTR. From-SVN: r47755
2001-12-07basic_string.tcc (_M_mutate): Fix typo in the previous check in.Paolo Carlini2-3/+8
2001-12-07 Paolo Carlini <pcarlini@unitus.it> * include/bits/basic_string.tcc (_M_mutate): Fix typo in the previous check in. From-SVN: r47754
2001-12-07expr.c (store_field): Remove warning.Richard Kenner2-9/+27
* expr.c (store_field): Remove warning. (expand_expr, case COMPONENT_REF, case VIEW_CONVERT_EXPR): Likewise. (highest_pow2_factor, case MIN_EXPR, case MAX_EXPR): Add cases. (highest_pow2_factor, case *_DIV_EXPR): Only can do something if divisor constant power of 2. (highest_pow2_factor, case COMPOUND_EXPR): Look at operand 1. From-SVN: r47753
2001-12-07* g++-old.deja/g++.robertl/eb101.C: Deleted.Richard Kenner2-3885/+4
From-SVN: r47752
2001-12-07basic_string.tcc (_M_mutate, _M_clone): Implement exponential growth policy ↵Paolo Carlini2-7/+46
to meet linear amortized time requirements... 2001-12-06 Paolo Carlini <pcarlini@unitus.it> Loren J. Rittle <ljrittle@acm.org> * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement exponential growth policy to meet linear amortized time requirements of the standard. (_S_create): Adjust comment. Co-Authored-By: Loren J. Rittle <ljrittle@acm.org> From-SVN: r47750
2001-12-07Daily bump.GCC Administrator6-6/+6
From-SVN: r47749
2001-12-07alpha.c (function_arg): Cast value to HOST_WIDE_INT before shifting.Kaveh R. Ghazi2-1/+7
* alpha.c (function_arg): Cast value to HOST_WIDE_INT before shifting. From-SVN: r47747
2001-12-07verify.cc (_Jv_BytecodeVerifier::FLAG_JSR_TARGET): Removed.Tom Tromey2-2/+3
* verify.cc (_Jv_BytecodeVerifier::FLAG_JSR_TARGET): Removed. (_Jv_BytecodeVerifier::note_branch_target): Likewise. From-SVN: r47745
2001-12-07rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New.Aldy Hernandez2-5/+7
2001-12-06 Aldy Hernandez <aldyh@redhat.com> * rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New. (DWARF_FRAME_REGISTERS): Delete. From-SVN: r47744
2001-12-07[multiple changes]Benjamin Kosnik5-89/+226
2001-12-06 Benjamin Kosnik <bkoz@redhat.com> libstdc++/3720 * include/bits/locale_facets.tcc (num_put): Clean. (num_get::_M_extract_float): Change argument to string. (num_get::do_get(float)): Fixup. (num_get::do_get(double)): Same. (num_get::do_get(long double)): Same. (num_get::_M_extract_int): Add maximum length parameter, __max. (num_get::_M_extract_float): Correct zeros, use string. * include/bits/locale_facets.h (num_get::_M_extract_float): Change declaration here. * src/locale.cc (__num_base::_S_atoms): Remove x, X. * testsuite/27_io/istream_extractor_arith.cc (test13): Add. 2001-12-06 Philip Martin <pmartin@uklinux.net> * testsuite/27_io/istream_extractor_arith.cc (test12): Add tests for excess input digits. From-SVN: r47743
2001-12-07builtin-prefetch-1.c: Add checks for variable argument list.Janis Johnson2-0/+15
* gcc.c-torture/execute/builtin-prefetch-1.c: Add checks for variable argument list. From-SVN: r47742
2001-12-07builtin-types.def (BT_FN_VOID_PTR_VAR): New.Janis Johnson6-6/+53
* builtin-types.def (BT_FN_VOID_PTR_VAR): New. * builtins.def (BUILT_IN_PREFETCH): Change arguments. * builtins.c (expand_builtin_prefetch): Two arguments are now optional, with defaults for read prefetch with high degree of locality. * doc/extend.texi (__builtin_prefetch): Update documentation. * doc/md.texi (prefetch): Add documentation. From-SVN: r47741
2001-12-07* libjava.compile/BlankFinal.java: Removed; incorrect test.Tom Tromey2-16/+4
From-SVN: r47739