Age | Commit message (Collapse) | Author | Files | Lines |
|
From-SVN: r19763
|
|
it fits in a void * type.
* objc/thr-posix.c (__objc_mutex_allocate): Allocate
mutex type instead of assuming it fits in a void * type.
(__objc_mutex_deallocate): Free mutex type.
(__objc_mutex_lock): Pass mutex type instead of pointer to it.
(__objc_mutex_{try,un}lock): Likewise.
(__objc_condition_allocate): Allocate condition type instead
of assuming it fits in a void * type.
(__objc_condition_deallocate): Free condition type.
(__objc_condition_wait): Pass condition type instead of pointer to it.
(__objc_condition_{broadcast,signal}): Likewise.
Another lingering RH5.1 problem.
From-SVN: r19625
|
|
* haifa-sched.c (free_list): Rename from free_pnd_lst.
(free_pending_lists): Rename free_pnd_lst uses.
(remove_dependence): Place expunged element on unused_insn_list.
(alloc_INSN_LIST, alloc_EXPR_LIST): New. Change all callers of
gen_rtx_*_LIST and alloc_rtx to use them.
(compute_block_backward_dependences): Free the reg_last_* lists.
* haifa-sched.c (schedule_insns): Correctly remove inter-block
dependencies after reload.
* haifa-sched.c (remove_dependencies): Set RTX_INTEGRATED_P on
dependency we delete. Properly update prev for multiple consecutive
deletions.
(priority): Skip deleted dependence.
Reduce memory consumption of haifa -- should fix problem encountered with
RedHat5.1 builds.
Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r19559
|
|
* i386.c (output_fix_trunc): Add code to emulate non-popping DImode
case.
Regression fix from Jim.
From-SVN: r19537
|
|
From-SVN: r19381
|
|
&& ! 0.
* reload1.c (eliminate_regs): Delete LOAD_EXTENDED_OP code that
boiled down to && ! 0.
* reload.c (find_reloads): Always force (subreg (mem)) to be
reloaded if WORD_REGISTER_OPERATIONS.
* reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical
SUBREGs of CONST_INTs.
* reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
SUBREG_REG if the word count is unchanged, also in the input reload
case. Disable non-applicable sanity checks.
* reload.c (push_reload): In WORD_REGISTER_OPERATIONS code, add test
to require the SUBREG mode to be smaller than the SUBREG_REG mode.
* reload1.c (eliminate_regs): Likewise.
* reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
SUBREG_REG if the word count is unchanged.
* reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
subregs of identical word size for push_reload.
Various alpha fixes from the mainline sources.
Co-Authored-By: J"orn Rennecke <amylaar@cygnus.co.uk>
Co-Authored-By: Jim Wilson <wilson@cygnus.com>
From-SVN: r19336
|
|
generated by this function.
* reg-stack.c (subst_asm_stack_regs): Change to return the last
new insn generated by this function.
(subst_stack_regs): Likewise.
(convert_regs): Record the last newly generated insn and use
it for change_stack () instead of INSN.
From-SVN: r19327
|
|
From-SVN: r19313
|
|
* alpha.md (extendsidi2): Kill bogus cvtql+cvtlq case.
* alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
* alpha.c (print_operand): Handle it.
* alpha.md (fix_truncsfdi2): Use it. Add earlyclobber pattern
for ALPHA_TP_INSN.
(fix_truncdfdi2): Likewise.
* alpha/linux.h (FUNCTION_PROFILER): _mcount expects its pv in $28.
From-SVN: r19290
|
|
* com.c (ffecom_expr_): Revert Oct 22 change. Instead take a WIDENP
argument so that we can respect the signedness of the original type.
(ffecom_init_0): Do sizetype initialization first. Init new
ssizetype.
From-SVN: r19289
|
|
stackless frame.
* rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be
negative in a stackless frame.
* rs6000.c (rs6000_stack_info): Don't include fixed-size link area
in stackless frame size. Support 64-bit stackless frame size.
Combine fpmem offset calculations and don't add total_size to
offset if not pushing a stack frame.
From-SVN: r19288
|
|
* i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
From-SVN: r19285
|
|
From-SVN: r18615
|
|
From-SVN: r18614
|
|
From-SVN: r18613
|
|
* Makefile.in (BASE_FLAGS_TO_PASS): Pass gxx_include_dir down
to sub-makes.
Co-Authored-By: Pieter Nagel <pnagel@epiuse.co.za>
From-SVN: r18610
|
|
* config/m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the
definition.
(ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'.
From-SVN: r18609
|
|
From-SVN: r18608
|
|
�
* rtlanal.c (optimize): Declare.
From-SVN: r18484
|
|
From-SVN: r18445
|
|
From-SVN: r18444
|
|
CONST_INT into SFmode.
* emit-rtl.c (gen_lowpart_common): Handle more case where converting
a CONST_INT into SFmode.
From-SVN: r18442
|
|
* i386/aix386ng.h (CPP_PREDEFINES): Put back -Di386.
* i386/freebsd-elf.h: Likewise.
* i386/gas.h: Likewise.
* i386/linux-aout.h: Likewise.
* i386/linux-oldld.h: Likewise.
* i386/linux.h: Likewise.
* i386/osfelf.h: Likewise.
* i386/osfrose.h: Likewise.
* i386/sco.h: Likewise.
* i386/sco4.h: Likewise.
* i386/sco4dbx.h: Likewise.
* i386/sco5.h: Likewise.
* i386/scodbx.h: Likewise.
* i386/sol2.h: Likewise.
* i386/sysv3.h: Likewise.
Fix problems with imake
From-SVN: r18437
|
|
is not defined.
* stl_config.h (__STL_PTHREADS): Don't define for glibc 2 if
_G_USING_THUNKS is not defined.
From-SVN: r18422
|
|
* rs6000/linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if
USE_GNULIBC_1 is defined
* configure.in: add a new case powerpc-*-linux-gnulibc1 which
includes the t-linux-gnulibc1 fragment
From-SVN: r18406
|
|
* decl.c (start_function): Don't call temporary_allocation for a
nested function.
From-SVN: r18374
|
|
From-SVN: r18369
|
|
From-SVN: r18347
|
|
From-SVN: r18230
|
|
* libioP.h (_IO_showmanyc_t, _IO_SHOWMANYC, _IO_imbue_t,
_IO_IMBUE): New definitions.
(struct _IO_jump_t): Add __showmanyc and __imbue fields.
(_IO_file_fopen): Add new fourth argument.
* filebuf.cc (filebuf::open): Pass new fourth argument to
_IO_file_fopen.
* iolibio.h (_IO_freopen): Likewise.
* streambuf.cc (streambuf::showmanyc, streambuf::imbue): New
functions.
* streambuf.h (_IO_wchar_t): Define to _G_wchar_t.
(ios::fill): Remove casts.
(struct streambuf): Add showmanyc and imbue members.
* iostream.cc (ostream::operator<<(double n)) [__GLIBC_MINOR__ >=
1]: Initialize new fields is_char of struct printf_info.
(ostream::operator<<(long double n)) [__GLIBC_MINOR__ >= 1]:
Likewise.
From-SVN: r18221
|
|
* configure.in (topsrcdir): New.
(CHECK_SUBDIRS, configdirs): Check ${topsrcdir}/gcc instead.
(config-ml.in): Use ${topsrcdir}/config-ml.in.
* tests/configure.in (topsrcdir): New.
(CHECK): Check ${topsrcdir}/gcc instead.
* configure.in (CHECK_SUBDIRS): Set to testsuite only if
${srcdir}/../gcc exists.
(configdirs): Include testsuite only if ${srcdir}/../gcc exists.
* tests/Makefile.in (check): Depend on $(CHECK).
* tests/configure.in (CHECK): Set to "check-iostream
check-stdio" if ${srcdir}/../../gcc doesn't exists.
From-SVN: r18220
|
|
* configure.in (topsrcdir): New.
(configdirs): Check ${topsrcdir}/gcc instead.
(config-ml.in): Use ${topsrcdir}/config-ml.in.
* tests/configure.in (topsrcdir): New.
(check): Check ${topsrcdir}/gcc instead.
* configure.in (configdirs): Include testsuite only if
${srcdir}/../gcc exists.
* tests/configure.in (check): Set to ${CHECK} if
${srcdir}/../../gcc doesn't exists.
From-SVN: r18219
|
|
importint it into the release branch.
* expr.c (emit_move_insn_1): Fix minor buglet in last change
caused by importint it into the release branch.
From-SVN: r18216
|
|
From-SVN: r18212
|
|
* pa/pa.h (TEXT_SPACE_P): Remove unnecessary indirection
into tree_code_type.
* vax/vms.h (SELECT_SECTION): Similarly.
Remove this change -- I was in the wrong tree (release instead of mainline).
Sigh. Starting to burn out a little on this stuff.
From-SVN: r18194
|
|
* pa/pa.h (TEXT_SPACE_P): Remove unnecessary indirection
into tree_code_type.
* vax/vms.h (SELECT_SECTION): Similarly.
From-SVN: r18193
|
|
* expr.c (emit_move_insn_1): When moving complex values in several
steps, emit a CLOBBER to show the destination dies.
From-SVN: r18192
|
|
* expr.c (ffeexpr_token_arguments_): Make sure
outer exprstack isn't null.
From-SVN: r18191
|
|
* iris5.h (DWARF2_UNWIND_INFO): Define to 0.
* iris5gas.h (DWARF2_UNWIND_INFO): Define to 1.
From-SVN: r18177
|
|
* i386/x-cygwin32 (USE_COLLECT2): Disable collect2 for now on
i386-{cygwin32,mingw32}.
From-SVN: r18166
|
|
alpha*-*-*.
* configure.in (alpha*-*-linux*): Treat alpha*-*-linux* as
alpha*-*-linux* not alpha*-*-*.
From-SVN: r18165
|
|
with macro COLLECT_EXPORT_LIST.
* collect2.c (scan_prog_file): Completely cover uses of variable
`exports' with macro COLLECT_EXPORT_LIST.
From-SVN: r18164
|
|
From-SVN: r18161
|
|
* collect2.c (main): Still handle !do_collecting for non-AIX targets.
Bring over from mainline sources.
From-SVN: r18153
|
|
* ropeimpl.h: Check __STL_PTHREADS instead of _PTHREADS.
* stl_alloc.h: Ditto.
* stl_config.h: Ditto.
* stl_rope.h: Ditto.
* stl_config.h: include <_G_config.h> if __GNUG__ is defined.
(__STL_PTHREADS): Defined if _PTHREADS is defined or
__GLIBC__ >= 2.
Co-Authored-By: Jason Merrill <jason@yorick.cygnus.com>
From-SVN: r18137
|
|
* collect2.c (XCOFF_SCAN_LIBS): Remove.
(export_flag): New variable.
(export_file): #ifdef COLLECT_EXPORT_LIST.
(import_file, exports, imports, undefined): New variables.
(libs, cmdline_lib_dirs, libpath_lib_dirs, libpath, libexts): Same.
(dump_list, dump_prefix_list, is_in_list): New functions.
(write_export_file): $ifdef COLLECT_EXPORT_LIST.
(write_import_file, resolve_lib_name): New functions.
(use_import_list, ignore_library): Same.
(collect_exit): maybe_unlink import_file and #ifdef.
(handler): Same.
(main): New variable importf, #ifdef exportf. Move parsing of
-shared before general argument parsing. Resolve AIX library
paths and import libgcc.a symbols. Treat .so shared libraries the
same as objects and .a libraries. Create alias for object_lst and
increment it instead of original pointer. Scan AIX libraries as
objects earlier instead of using scan_libraries. Perform AIX
tlink later to resolve templates instead of forking ld.
(GCC_OK_SYMBOL): Ensure symbol not in undef section.
(GCC_UNDEF_SYMBOL): New macro.
(scan_prog_file): Loop for members of AIX libraries. Handle
export/import of ctors/dtors.
(aix_std_libs): New variable.
(scan_libraries, XCOFF): Delete.
Co-Authored-By: David Edelsohn <edelsohn@mhpcc.edu>
From-SVN: r18133
|
|
* Makefile.in: Use $tooldir for sys-include to match toplevel
configure.
From-SVN: r18127
|
|
d
* m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
(MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__.
* m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES.
(CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise.
(CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__.
* m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32.
(MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
(MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
mcpu32 or m5200.
* longlong.h: Replace __mc68332__ with __mcpu32__.
From-SVN: r18111
|
|
a
* m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
(MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__.
* m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES.
(CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise.
(CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__.
* m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32.
(MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
(MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
mcpu32 or m5200.
* longlong.h: Replace __mc68332__ with __mcpu32__.
From-SVN: r18110
|
|
* emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
* emit-rtl.c (hard-reg-set.h): Include.
(get_lowpart_common): Don't make new REG for hard reg in a
class that cannot change size.
* Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
* combine.c: Revert previous patch.
Co-Authored-By: Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
From-SVN: r18108
|