summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * cp-tree.h (lang_decl_flags): Remove init_priority.mmitchel2002-10-314-14/+15
| | | | | | | | | | | (lang_decl): Add delta. (GLOBAL_INIT_PRIORITY): Remove. (THUNK_DELTA): Revise definition. * decl2.c (start_objects): Don't set GLOBAL_INIT_PRIORITY. * dump.c (cp_dump_tree): Don't dump it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58680 138bc75d-0d04-0410-961f-82ee72b054a4
* * i386.md (negdf2_ifs_rex64): Don't allow GPR operand.hubicka2002-10-312-3/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58678 138bc75d-0d04-0410-961f-82ee72b054a4
* * sh.h (binary_logical_operator): Declare.amylaar2002-10-314-0/+53
| | | | | | | | * sh.c (binary_logical_operator): New function. * sh.md (xordi3+1): New combiner splitter pattern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58675 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-10-31 David O'Brien <obrien@FreeBSD.org>obrien2002-10-312-0/+36
| | | | | | | | | | | * config/sparc/freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define __enable_execute_stack function. Approved by: David S. Miller <davem@redhat.com> Message-Id: <20021031.005015.22856738.davem@redhat.com> git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58674 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2002-10-312-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58673 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-10-30 Aldy Hernandez <aldyh@redhat.com>aldyh2002-10-312-1/+5
| | | | | | | * c-common.c: Add GTY to vector_type_node_list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58666 138bc75d-0d04-0410-961f-82ee72b054a4
* * pa-linux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Define.danglin2002-10-319-619/+816
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pa-protos.h (attr_length_millicode_call, attr_length_call, pa_init_machine_status): Declare new global functions. * pa.c (void copy_fp_args, length_fp_args, get_plabel): Declare and implement new functions. (attr_length_millicode_call, attr_length_call): Implement. (total_code_bytes): Change type to long. (pa_output_function_prologue): Compute total_code_bytes on TARGET_64BIT. Reset counter if flag_function_sections. (output_deferred_plabels): Set output alignment to 3 for TARGET_64BIT. (output_cbranch): Move call to gen_label_rtx. (output_millicode_call): Rewrite adding long TARGET_64BIT call, expose delay slot in all variants, shorten pc-relative calls. (output_call): Rewrite adding long TARGET_64BIT call, improved delay slot usage and exposure, various new call variants, and shortened sequences for some variants on TARGET_PA_20. Miscellaneous format changes. * pa.h (total_code_bytes): Change type to long. (MASK_LONG_CALLS, TARGET_LONG_CALLS, TARGET_LONG_ABS_CALL, TARGET_LONG_PIC_SDIFF_CALL, TARGET_LONG_PIC_PCREL_CALL): Define. (TARGET_SWITCHES): Add "-mlong-calls" and "-mno-long-calls" options. (EXTRA_CONSTRAINT, GO_IF_LEGITIMATE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Don't use long floating point loads and stores on TARGET_ELF32. *pa.md (define_delay): Allow insns in delay on TARGET_PORTABLE_RUNTIME. (unnamed patterns for mulsi3, divsi3, udivsi3, modsi3, umodsi3 and canonicalize_funcptr_for_compare expanders): Calculate attribute length attr_length_millicode_call(). (call_internal_symref, call_value_internal_symref): Clobber register 1. Calculate attribute length using attr_length_call(). (call_internal_reg_64bit, call_value_internal_reg_64bit): Move gp load to delay slot. (sibcall, sibcall_value): Rewrite. (sibcall_internal_symref, sibcall_value_internal_symref): Clobber register 1. Use attr_length_call(). (sibcall_internal_symref_64bit, sibcall_value_internal_symref_64bit): New patterns. (unamed pattern for canonicalize_funcptr_for_compare): Rewrite. * som.h (MEMBER_TYPE_FORCES_BLK): Define. * t-pa64 (TARGET_LIBGCC2_CFLAGS): Add "-mlong-calls". * doc/invoke.texi (mlong-calls): Document. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58665 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/8160mmitchel2002-10-316-0/+39
| | | | | | | | | | | | | | | | * typeck2.c (process_init_constructor): Call complete_array_type. PR c++/8149 * decl.c (make_typename_type): Issue errors about invalid results. PR c++/8160 * g++.dg/template/complit1.C: New test. PR c++/8149 * g++.dg/template/typename4.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58663 138bc75d-0d04-0410-961f-82ee72b054a4
* * fold-const.c (fold_binary_op_with_conditional_arg): Improvesayle2002-10-304-13/+52
| | | | | | | | | | | | | | | handling of cases where one or both branches of the conditional have void type, i.e. throw an exception or don't return. (fold): Only apply (and undo) type conversion to the non-void branches of a COND_EXPR. * f/com.c (ffecom_subscript_check_): Cast the failure branch of the bounds check COND_EXPR to void, to indicate noreturn. (ffe_truthvalue_conversion): Only apply truth value conversion to the non-void branches of a COND_EXPR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58661 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/8333mmitchel2002-10-302-1/+6
| | | | | | | | * varasm.c (asm_output_aligned_bss): Do not call ASM_GLOBALIZE_LABEL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58658 138bc75d-0d04-0410-961f-82ee72b054a4
* PR ada/6558bosch2002-10-303-2/+9
| | | | | | | | | * misc.c : Include optabs.h * Make-lang.in (misc.o): Add dependency on optabs.h git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58656 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/rs6000.md (load_toc_v4_PIC_1): Use preferred formdje2002-10-302-2/+9
| | | | | | | | for addressibility. (load_toc_v4_PIC_1b): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58655 138bc75d-0d04-0410-961f-82ee72b054a4
* Core issue 287, PR c++/7639lerdsuwa2002-10-3013-162/+261
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * cp-tree.h (lang_type_class): Add decl_list field. (CLASSTYPE_DECL_LIST): New macro. (maybe_add_class_template_decl_list): Add declaration. * class.c (duplicate_tag_error): Initialize CLASSTYPE_DECL_LIST. (unreverse_member_declarations): Reverse CLASSTYPE_DECL_LIST. (maybe_add_class_template_decl_list): New function. (add_implicitly_declared_members): Use it. * decl.c (maybe_process_template_type_declaration): Likewise. (pushtag): Likewise. * friend.c (add_friend): Likewise. (make_friend_class): Likewise. * semantics.c (finish_member_declaration): Likewise. (begin_class_definition): Initialize CLASSTYPE_DECL_LIST. * pt.c (instantiate_class_template): Use CLASSTYPE_DECL_LIST to process members and friends in the order of declaration. Core issue 287, PR c++/7639 * g++.dg/template/instantiate1.C: Adjust error location. * g++.dg/template/instantiate3.C: New test. * g++.old-deja/g++.pt/crash10.C: Adjust error location. * g++.old-deja/g++.pt/derived3.C: Adjust error location. * g++.old-deja/g++.pt/spec28.C: Reorder declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58654 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.c (h8300_eightbit_constant_address_p):kazu2002-10-302-2/+7
| | | | | | | Truncate the addresses for H8/300 using HImode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58653 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2002-10-302-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58652 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/compat.exp (compat-execute): Don't clean out a gluefile.hp2002-10-302-1/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58646 138bc75d-0d04-0410-961f-82ee72b054a4
* * toplev.c (rest_of_type_compilation): Return early in case ofhp2002-10-302-3/+20
| | | | | | | | | errors. (check_global_declarations): Don't call debug_hooks->global_decl in case of errors. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58645 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/8287mmitchel2002-10-301-0/+5
| | | | | | | * g++.dg/init/dtor2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58644 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/8287mmitchel2002-10-303-8/+40
| | | | | | | | | | | | * decl.c (finish_destructor_body): Create the label to jump to when returning from a destructor here. (finish_function_body): Rather than here. PR c++/8287 * g++.dg/init/dtor2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58643 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Disable hash sync when not using threads.kristerw2002-10-293-2/+7
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58641 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/c-tree.texi (Tree overview): Fix typos.gerald2002-10-292-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58640 138bc75d-0d04-0410-961f-82ee72b054a4
* PR ada/6558bosch2002-10-292-1/+5
| | | | | | | * Make-lang.in (gnatbind): Depend on CONFIG_H git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58637 138bc75d-0d04-0410-961f-82ee72b054a4
* PR ada/6558bosch2002-10-292-2/+10
| | | | | | | * misc.c: Unrevert misc.c (1.13) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58636 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-10-29 Phil Edwards <pme@gcc.gnu.org>pme2002-10-292-3/+11
| | | | | | | | * Makefile.in (gnucompare*): Only record bad comparisons if there really was a bad comparison. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58635 138bc75d-0d04-0410-961f-82ee72b054a4
* * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Remove 'H'hubicka2002-10-297-16/+48
| | | | | | | | | | | | | | | | | | | * i386.md (movsf*, movdf*): Use 'C' instead of 'H' * md.texi (machine dependent constraints): Document 'C' * simplify-rtx.c (simplify_subreg): Fix const_int->vector subregging. * i386.c (ix86_expand_vector_move): Fix. * i386.c (ix86_expand_builtin): Use sse2_maskmovdqu_rex64. * i386.md (sse2_maskmovdqu_rex64): New pattern PR target/8322 * xmmintrin.h (_mm_stream_pi, _mm_stream_pd): Fix cast. (ix86_init_mmx_sse_builtins): Fix type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58631 138bc75d-0d04-0410-961f-82ee72b054a4
* * gthr-posix.h: Include <unistd.h> for feature tests.thorpej2002-10-292-3/+24
| | | | | | | | | | | | (sched_get_priority_max, sched_get_priority_min) (pthread_getschedparam, pthread_setschedparam): Only use if _POSIX_THREAD_PRIORITY_SCHEDULING is defined. (__gthread_objc_thread_set_priority): Don't treat all non-zero returns from sched_get_priority_max and sched_get_priority_min as an error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58630 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.h (TARGET_DEFAULT): Make itkazu2002-10-292-1/+6
| | | | | | | MASK_QUICKCALL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58629 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.c (h8300_eightbit_constant_address_p): New.kazu2002-10-294-17/+70
| | | | | | | | | | | | (h8300_tiny_constant_address_p): Likewise. * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Use h8300_eightbit_constant_address_p. (TINY_CONSTANT_ADDRESS_P): Use h8300_tiny_constant_address_p. * config/h8300/h8300-protos.h: Add the prototypes for the two new functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58628 138bc75d-0d04-0410-961f-82ee72b054a4
* * reload1.c (update_eliminables): Unconditionally check ifkazu2002-10-292-4/+5
| | | | | | | frame_pointer_needed has changed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58627 138bc75d-0d04-0410-961f-82ee72b054a4
* * toplev.c (rest_of_compilation): Reorganize way reg_scan is calledhubicka2002-10-292-29/+29
| | | | | | | before final pass. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58624 138bc75d-0d04-0410-961f-82ee72b054a4
* * expr.c (expand_expr) [PLUS]: Don't use simplify_binary_operation;rth2002-10-292-3/+9
| | | | | | | check for zero operands explicitly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58623 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/mips/mips.md (extv, extzv, insv): Set size of referencedrsandifo2002-10-292-0/+8
| | | | | | | memory after adjusting to BLKmode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58621 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.h (MASK_*): New.kazu2002-10-292-28/+45
| | | | | | | (TARGET_*): Use MASK_*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58620 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2002-10-292-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58619 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/thread/pthread5.cc: Include <unistd.h>thorpej2002-10-292-0/+13
| | | | | | | | | if _GLIBCPP_HAVE_UNISTD_H is defined. (main): Only use pthread_attr_setscope if _POSIX_THREAD_PRIORITY_SCHEDULING is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58608 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/thread/pthread1.cc: Enable on *-*-netbsd*.thorpej2002-10-287-12/+21
| | | | | | | | | | | * testsuite/thread/pthread2.cc: Likewise. * testsuite/thread/pthread3.cc: Likewise. * testsuite/thread/pthread4.cc: Likewise. * testsuite/thread/pthread5.cc: Likewise. * testsuite/thread/pthread6.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58606 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/20021014-1.c: Bypass errors on solaris2 and irix6.ghazi2002-10-283-0/+16
| | | | | | | * gcc.dg/nest.c: Bypass errors on irix6. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58600 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS tothorpej2002-10-283-2/+29
| | | | | | | | | tm_defines if pthreads are enabled. * config/netbsd.h (LIB_SPEC): Only support the -pthread option if NETBSD_ENABLE_PTHREADS is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58599 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-10-28 Nathanael Nerode <neroden@gcc.gnu.org>neroden2002-10-285-7/+12
| | | | | | | | * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update maintainership comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58597 138bc75d-0d04-0410-961f-82ee72b054a4
* * ChangeLog.1: Fix typos.kazu2002-10-284-4/+10
| | | | | | | | * cse.c: Fix a comment typo. * reload1.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58596 138bc75d-0d04-0410-961f-82ee72b054a4
* * MAINTAINERS: Remove "co-maintainer" note for web pages.gerald2002-10-282-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58595 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2002-10-282-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58594 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/nest.c: Expect error for mmix-*-*.hp2002-10-273-1/+7
| | | | | | | * gcc.dg/20021014-1.c: Use dg-error, not dg-build. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58586 138bc75d-0d04-0410-961f-82ee72b054a4
* * fixinc/inclhack.def (libc1_G_va_list): Correct test_text.hp2002-10-273-1/+20
| | | | | | | * fixinc/tests/base/_G_config.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58585 138bc75d-0d04-0410-961f-82ee72b054a4
* Resorted the entrieskorbb2002-10-271-34/+31
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58584 138bc75d-0d04-0410-961f-82ee72b054a4
* * combine.c: Fix comment formatting.kazu2002-10-2711-18/+32
| | | | | | | | | | | | | | | | * loop.c: Likewise. * real.c: Likewise. * regclass.c: Likewise. * regmove.c: Likewise. * regrename.c: Likewise. * reg-stack.c: Likewise. * reload1.c: Likewise. * reload.c: Likewise. * reload.h: Likewise. * unroll.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58583 138bc75d-0d04-0410-961f-82ee72b054a4
* * reload1.c (reload): Fix a comment typo.kazu2002-10-272-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58582 138bc75d-0d04-0410-961f-82ee72b054a4
* * linux64.h (DEFAULT_PCC_STRUCT_RETURN): Define.hubicka2002-10-272-0/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58579 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (dwarf2out.o): Add dependendcy on hashtab.h.rakdver2002-10-274-26/+402
| | | | | | | | | | | | | | | | * dwarf2out.c: Include hashtab.h. (is_main_source): New static variable. (attr_checksum, die_checksum): Modified to handle die references. (same_loc_p, same_dw_val_p, same_attr_p, same_die_p, same_die_p_wrap, unmark_all_dies, htab_cu_hash, htab_cu_eq, htab_cu_del, check_duplicate_cu, record_comdat_symbol_number): New static functions. (output_comp_unit, compute_section_prefix, is_type_die, break_out_includes, mark_dies, unmark_dies, dwarf2out_start_source_file): Modified. * toplev.c (rest_of_decl_compilation): Call of dwarf2out_decl for type declarations added. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58578 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-10-27 Paolo Carlini <pcarlini@unitus.it>paolo2002-10-273-5/+26
| | | | | | | | | | | | | PR libstdc++/8347 * include/bits/basic_string.tcc (string::_S_construct(_InIter, _InIter, const _Alloc&, forward_iterator_tag)): Do not throw logic error if __beg == NULL && __end == __beg. (string::string(const _CharT*, const _Alloc&)): Tweak. * testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58577 138bc75d-0d04-0410-961f-82ee72b054a4