- 31 Oct, 2002 2 commits
-
-
* pa-linux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Define. * 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. From-SVN: r58665
John David Anglin committed -
PR c++/8160 * 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. From-SVN: r58663
Mark Mitchell committed
-
- 30 Oct, 2002 11 commits
-
-
fold-const.c (fold_binary_op_with_conditional_arg): Improve handling of cases where one or both branches of the conditional have... * fold-const.c (fold_binary_op_with_conditional_arg): Improve 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. From-SVN: r58661
Roger Sayle committed -
PR c++/8333 * varasm.c (asm_output_aligned_bss): Do not call ASM_GLOBALIZE_LABEL. From-SVN: r58658
Mark Mitchell committed -
PR ada/6558 * misc.c : Include optabs.h * Make-lang.in (misc.o): Add dependency on optabs.h From-SVN: r58656
Geert Bosch committed -
* config/rs6000/rs6000.md (load_toc_v4_PIC_1): Use preferred form for addressibility. (load_toc_v4_PIC_1b): Same. Co-Authored-By: Torbjorn Granlund <tege@swox.com> From-SVN: r58655
David Edelsohn committed -
Core issue 287, PR c++/7639 * 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. From-SVN: r58654
Kriang Lerdsuwanakij committed -
* config/h8300/h8300.c (h8300_eightbit_constant_address_p): Truncate the addresses for H8/300 using HImode. From-SVN: r58653
Kazu Hirata committed -
From-SVN: r58652
GCC Administrator committed -
From-SVN: r58646
Hans-Peter Nilsson committed -
* toplev.c (rest_of_type_compilation): Return early in case of errors. (check_global_declarations): Don't call debug_hooks->global_decl in case of errors. From-SVN: r58645
Hans-Peter Nilsson committed -
PR c++/8287 * g++.dg/init/dtor2.C: New test. From-SVN: r58644
Mark Mitchell committed -
PR c++/8287 * 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. From-SVN: r58643
Mark Mitchell committed
-
- 29 Oct, 2002 16 commits
-
-
* configure.in: Disable hash sync when not using threads. * configure: Regenerated. From-SVN: r58641
Krister Walfridsson committed -
From-SVN: r58640
Andreas Bauer committed -
PR ada/6558 * Make-lang.in (gnatbind): Depend on CONFIG_H From-SVN: r58637
Geert Bosch committed -
PR ada/6558 * misc.c: Unrevert misc.c (1.13) From-SVN: r58636
Geert Bosch committed -
2002-10-29 Phil Edwards <pme@gcc.gnu.org> * Makefile.in (gnucompare*): Only record bad comparisons if there really was a bad comparison. From-SVN: r58635
Phil Edwards committed -
* i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Remove 'H' * 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. From-SVN: r58631
Jan Hubicka committed -
* gthr-posix.h: Include <unistd.h> for feature tests. (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. From-SVN: r58630
Jason Thorpe committed -
* config/h8300/h8300.h (TARGET_DEFAULT): Make it MASK_QUICKCALL. From-SVN: r58629
Kazu Hirata committed -
* config/h8300/h8300.c (h8300_eightbit_constant_address_p): New. (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. From-SVN: r58628
Kazu Hirata committed -
* reload1.c (update_eliminables): Unconditionally check if frame_pointer_needed has changed. From-SVN: r58627
Kazu Hirata committed -
* toplev.c (rest_of_compilation): Reorganize way reg_scan is called before final pass. From-SVN: r58624
Jan Hubicka committed -
* expr.c (expand_expr) [PLUS]: Don't use simplify_binary_operation; check for zero operands explicitly. From-SVN: r58623
Eric Botcazou committed -
* config/mips/mips.md (extv, extzv, insv): Set size of referenced memory after adjusting to BLKmode. From-SVN: r58621
Richard Sandiford committed -
* config/h8300/h8300.h (MASK_*): New. (TARGET_*): Use MASK_*. From-SVN: r58620
Kazu Hirata committed -
From-SVN: r58619
GCC Administrator committed -
* testsuite/thread/pthread5.cc: Include <unistd.h> if _GLIBCPP_HAVE_UNISTD_H is defined. (main): Only use pthread_attr_setscope if _POSIX_THREAD_PRIORITY_SCHEDULING is defined. From-SVN: r58608
Jason Thorpe committed
-
- 28 Oct, 2002 7 commits
-
-
* testsuite/thread/pthread1.cc: Enable on *-*-netbsd*. * 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. From-SVN: r58606
Jason Thorpe committed -
* gcc.dg/20021014-1.c: Bypass errors on solaris2 and irix6. * gcc.dg/nest.c: Bypass errors on irix6. From-SVN: r58600
Kaveh R. Ghazi committed -
* config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS to tm_defines if pthreads are enabled. * config/netbsd.h (LIB_SPEC): Only support the -pthread option if NETBSD_ENABLE_PTHREADS is defined. From-SVN: r58599
Jason Thorpe committed -
2002-10-28 Nathanael Nerode <neroden@gcc.gnu.org> * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update maintainership comments. From-SVN: r58597
Nathanael Nerode committed -
* ChangeLog.1: Fix typos. * cse.c: Fix a comment typo. * reload1.c: Likewise. From-SVN: r58596
Kazu Hirata committed -
From-SVN: r58595
Gerald Pfeifer committed -
From-SVN: r58594
GCC Administrator committed
-
- 27 Oct, 2002 4 commits
-
-
* gcc.dg/nest.c: Expect error for mmix-*-*. * gcc.dg/20021014-1.c: Use dg-error, not dg-build. From-SVN: r58586
Hans-Peter Nilsson committed -
* fixinc/inclhack.def (libc1_G_va_list): Correct test_text. * fixinc/tests/base/_G_config.h: New file. From-SVN: r58585
Hans-Peter Nilsson committed -
From-SVN: r58584
Bruce Korb committed -
* combine.c: Fix comment formatting. * 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. From-SVN: r58583
Kazu Hirata committed
-