- 06 Feb, 2002 20 commits
-
-
* config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment. * config/s390/t-linux64: New file. * config/s390/libgcc-glibc.ver: New file. From-SVN: r49553
Ulrich Weigand committed -
* config/s390/linux64.h: Delete file. * config/s390/s390x.h: New file. * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h as target header file. * config/s390/linux.h (TARGET_VERSION): Define depending on DEFAULT_TARGET_64BIT. (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise. (SIZE_TYPE, PTRDIFF_TYPE): Likewise. (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define. (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines. (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines. (EXTRA_SPEC): New define. * config/s390/s390.h (TARGET_VERSION): Define depending on DEFAULT_TARGET_64BIT. (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT. From-SVN: r49552
Ulrich Weigand committed -
c-decl.c (finish_function): Warn about a non-void function with no return statement and no abnormal exit. * c-decl.c (finish_function): Warn about a non-void function with no return statement and no abnormal exit. (current_function_returns_abnormally): New variable. (start_function): Clear it. (struct c_language_function): Add returns_abnormally. (push_c_function_context): Save it. (pop_c_function_context): Restore it. (builtin_function): Set TREE_THIS_VOLATILE on return fns. (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without an explicit return type. * c-tree.h: Declare current_function_returns_abnormally. (C_FUNCTION_IMPLICIT_INT): New macro. * c-typeck.c (build_function_call): Set it. (c_expand_return): Set current_function_returns_value even if the value is erroneous. From-SVN: r49551
Jason Merrill committed -
PR c/5420: * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR unsafe for reevaluation. * gcc.c-torture/execute/20020206-2.c: New test. From-SVN: r49550
Jakub Jelinek committed -
PR c/5482: * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not EXPR_STMT, but COMPOUND_STMT, recurse into it. * gcc.c-torture/execute/20020206-1.c: New test. From-SVN: r49549
Jakub Jelinek committed -
re PR rtl-optimization/5429 (gcc 3.1 20020114 fails with Internal compiler error in verify_wide_reg_1, at flow.c:526) PR optimization/5429: * gcc.c-torture/compile/20020206-1.c: New test. From-SVN: r49548
Jakub Jelinek committed -
* cfganal.c (keep_with_call_p): Source for fixed_reg dest must be a general_operand. Dest for function value must be a pseudo. From-SVN: r49547
Richard Henderson committed -
* acinclude.m4: Add C++ linkage check for strtof. * aclocal.m4: Rebuilt. * config.h.in: Rebuilt. * configure: Rebuilt. * config/locale/c_locale_generic.cc: Conditionally include <ieeefp.h>. Improve handling and error checking of float and long double input for non-C99 configurations. From-SVN: r49546
Loren J. Rittle committed -
particularly large alignments. From-SVN: r49545
Nick Clifton committed -
weak attribute. From-SVN: r49544
Nick Clifton committed -
locale_facets.tcc (money_get::do_get(string)): In case money_base::symbol deal properly with multi-char sign for patterns... 2002-02-06 Paolo Carlini <pcarlini@unitus.it> * include/bits/locale_facets.tcc (money_get::do_get(string)): In case money_base::symbol deal properly with multi-char sign for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}. * testsuite/22_locale/money_get_members_char.cc: Add test07. * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07. From-SVN: r49543
Paolo Carlini committed -
From-SVN: r49542
Nick Clifton committed -
From-SVN: r49540
GCC Administrator committed -
* dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters passed by invisible reference. From-SVN: r49539
Alexandre Oliva committed -
From-SVN: r49538
Richard Henderson committed -
From-SVN: r49537
Bryce McKinlay committed -
* config/mmix/mmix.c (mmix_conditional_register_usage): if -mabi=gnu, modify fixed_regs to fit the GNU ABI. (mmix_extra_constraint): Use 'R' to indicate that GETA should be used to read the rtx value. (mmix_target_asm_function_epilogue): Fix spacing. (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES. (mmix_legitimate_address): Ditto. (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that should be loaded with a GETA insn. Don't allocate needless extra char for nul termination and fix misleading comment. (mmix_print_operand_address): Handle constants if TARGET_BASE_ADDRESSES. (mmix_output_register_setting): Use base addressing if TARGET_BASE_ADDRESSES and the number of insns is 3. * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New. * config/mmix/mmix.md ("movdi"): Change the alternative with GETA to use R as constraint, add LDA to match s. * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New. (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES. (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses. (FIXED_REGISTERS): Make registers $231..$246 fixed by default. (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in order with other fixed registers. (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with other parameter/call-clobbered registers. * doc/invoke.texi (Option Summary) <MMIX Options>: Add -mbase-addresses, -mno-base-addresses. (MMIX Options): Ditto. From-SVN: r49536
Hans-Peter Nilsson committed -
2002-02-05 Eric Christopher <echristo@redhat.com> * config/mips/crti.asm: Add changes for mips16. mips16 uses register 7 as RA instead of $31. * config/mips/crtn.asm: Ditto. * config/mips/mips.c (mips_move_2words): Add case for TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64. (compute_frame_size): Fix typo. (save_restore_insns): Ditto. Make documentation about using register $7 as return register more precise. (mips_expand_epilogue): Fix comment. Add code to work around not being able to add to the stack pointer directly. * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the epilogue. From-SVN: r49535
Eric Christopher committed -
* configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES. Symlink PLATFORMH to platform.h. * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add PLATFORMOBJS. * java/lang/natSystem.cc: #include platform.h not posix.h. * Makefile.in: Rebuilt with libgcj automake. * configure: Rebuilt. From-SVN: r49534
Bryce McKinlay committed -
From-SVN: r49533
John David Anglin committed
-
- 05 Feb, 2002 20 commits
-
-
2002-02-06 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/altivec.h: Change elem to _S_elem. From-SVN: r49532
Aldy Hernandez committed -
2002-02-05 David Billinghurst <David.Billinghurst@riotinto.com> * g77.dg/pr5473.f: New test From-SVN: r49531
David Billinghurst committed -
* config/netbsd.h (WCHAR_TYPE): Define. (WCHAR_TYPE_SIZE): Ditto. (WINT_TYPE): Ditto. * config/alpha/netbsd.h (WCHAR_TYPE): Remove. (WCHAR_UNSIGNED): Ditto. (WCHAR_TYPE_SIZE): Ditto. (WINT_TYPE): Ditto. * config/arm/netbsd.h: Likewise. * config/i386/netbsd-elf.h: Likewise. * config/i386/netbsd.h: Likewise. * config/m68k/netbsd-elf.h: Likewise. * config/m68k/netbsd.h: Likewise. * config/ns32k/netbsd.h: Likewise. * config/sparc/netbsd.h: Likewise. * config/vax/netbsd.: Likewise. From-SVN: r49528
Jason Thorpe committed -
* class.c: Include target.h. (check_bitfield_decl): Disregard EMPTY_FIELD_BOUNDARY, BITFIELDS_NBYTES_LIMITED and PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout. * Make-lang.in: Adjust deps. From-SVN: r49527
Alexandre Oliva committed -
* target.h (struct gcc_target): Added ms_bitfield_layout_p. * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to... (TARGET_INITIALIZER): this. * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document. (BITFIELD_NBYTES_LIMITED): Markup fix. * tree.h (default_ms_bitfield_layout_p): Declare. (record_layout_info): Added prev_field. * tree.c (default_ms_bitfield_layout_p): New fn. * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout. * stor-layout.c: Include target.h. (start_record_layout): Initialize prev_field. (place_field): Handle MS bit-field layout, and disregard EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field. * Makefile.in (stor-layout.o): Adjust dependencies. From-SVN: r49526
Alexandre Oliva committed -
* demangle.h (cplus_demangle_v3): Add "options" parm. (cplus_demangle_v3_type): Remove prototype. (DMGL_VERBOSE): New macro. (DMGL_TYPES): New macro. * cplus-dem.c (flags): Add DMGL_VERBOSE (cplus_demangle_v3_p): Remove. (demangle_it): Add DMGL_TYPES to passed flags. * cp-demangle.c (cplus_demangle_v3_all): Remove. (cplus_demangle_v3_type): Remove. (cplus_demangle_v3): Add options parm. * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle. From-SVN: r49525
Jason Merrill committed -
2002-02-05 Paolo Carlini <pcarlini@unitus.it> * include/bits/locale_facets.tcc (money_get::do_get(string)): First construct a tentative returned string, then, only if the parsing succeeds, copy it into the string passed by reference. * testsuite/22_locale/money_get_members_char.cc: Add test06. * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06. From-SVN: r49523
Paolo Carlini committed -
From-SVN: r49522
Andreas Jaeger committed -
PR fortran/3393 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well. (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise. From-SVN: r49521
Richard Henderson committed -
PR fortran/3392 * config/mips/mips.c (function_arg): Handle TImode. (function_arg_advance): Likewise. From-SVN: r49520
Richard Henderson committed -
From-SVN: r49519
Richard Henderson committed -
2002-02-05 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/altivec.h (vec_step_help): Rename to __vec_step_help. From-SVN: r49518
Aldy Hernandez committed -
From-SVN: r49517
GCC Administrator committed -
2002-02-05 Aldy Hernandez <aldyh@redhat.com> * gcc.dg/altivec-4.c: AltiVec builtin predicates changed format. Fix testcase accordingly. From-SVN: r49515
Aldy Hernandez committed -
From-SVN: r49514
Richard Henderson committed -
2002-02-05 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/altivec.h: Fix typos. From-SVN: r49513
Aldy Hernandez committed -
* gcc.c-torture/execute/built-in-setjmp.c: Prototype stuff. (buf): Change to be an array of pointers, not ints. From-SVN: r49512
Richard Henderson committed -
From-SVN: r49511
Jason Thorpe committed -
2002-02-05 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo building void typed builtins. * config/rs6000/altivec.h (vec_ld*): Fix typos. (vec_step): Implement for C++. From-SVN: r49510
Aldy Hernandez committed -
2002-02-04 Adam Megacz <adam@xwt.org> * win32.cc: Created it. configure.in: Added PLATFORM_SPECIFIC_SOURCES, which is set to posix.cc or win32.cc. Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES). From-SVN: r49509
Adam Megacz committed
-