aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1998-05-14Update for egcs-1.0.3 release.releases/egcs-1.0Jeffrey A Law3-2/+6
From-SVN: r19763
1998-05-07thr-posix.c (__objc_mutex_allocate): Allocate mutex type instead of assuming ↵Mark Kettenis2-20/+52
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
1998-05-05haifa-sched.c (free_list): Rename from free_pnd_lst.Jeffrey A Law2-141/+194
* 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
1998-05-04i386.c (output_fix_trunc): Add code to emulate non-popping DImode case.Jim Wilson2-2/+17
* i386.c (output_fix_trunc): Add code to emulate non-popping DImode case. Regression fix from Jim. From-SVN: r19537
1998-04-221.0.2 -> 1.0.3 changes.Jeffrey A Law17-21/+29
From-SVN: r19381
1998-04-19reload1.c (eliminate_regs): Delete LOAD_EXTENDED_OP code that boiled down to ↵Richard Henderson3-34/+95
&& ! 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
1998-04-19reg-stack.c (subst_asm_stack_regs): Change to return the last new insn ↵H.J. Lu2-13/+31
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
1998-04-19* isgetline.cc (istream::get): Fix a typo.H.J. Lu2-0/+5
From-SVN: r19313
1998-04-18alpha.md (extendsidi2): Kill bogus cvtql+cvtlq case.Richard Henderson5-17/+66
* 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
1998-04-18com.c (ffecom_expr_): Revert Oct 22 change.Richard Henderson2-55/+43
* 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
1998-04-18rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be negative in a ↵David Edelsohn3-16/+27
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
1998-04-18i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.Jim Wilson2-3/+7
* i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints. From-SVN: r19285
1998-03-15Opps. FOrgot to update the date.Jeff Law1-1/+1
From-SVN: r18615
1998-03-15* version.c: Update for egcs-1.0.2 release.Jeffrey A Law2-1/+5
From-SVN: r18614
1998-03-15* egcs-1.0.2 release.Jeff Law1-0/+4
From-SVN: r18613
1998-03-15Makefile.in (BASE_FLAGS_TO_PASS): Pass gxx_include_dir down to sub-makes.Manfred Hollstein2-1/+8
* 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
1998-03-15mot3300.h (ASM_BYTE_OP): Don't include '\t' in the definition.Jeff Law2-4/+10
* 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
1998-03-15* m68k.h: Fix mis-applied fix from the mainline branch.Jeffrey A Law2-5/+10
From-SVN: r18608
1998-03-11rtlanal.c (optimize): Declare.Jeffrey A Law2-1/+7
� * rtlanal.c (optimize): Declare. From-SVN: r18484
1998-03-08More doc updates for 1.0.2.Jeff Law4-4/+4
From-SVN: r18445
1998-03-08Doc changes for 1.0.2.Jeff Law13-401/+610
From-SVN: r18444
1998-03-08emit-rtl.c (gen_lowpart_common): Handle more case where converting a ↵Jeffrey A Law2-7/+8
CONST_INT into SFmode. * emit-rtl.c (gen_lowpart_common): Handle more case where converting a CONST_INT into SFmode. From-SVN: r18442
1998-03-06aix386ng.h (CPP_PREDEFINES): Put back -Di386.Jeffrey A Law16-15/+33
* 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
1998-03-05stl_config.h (__STL_PTHREADS): Don't define for glibc 2 if _G_USING_THUNKS ↵H.J. Lu2-1/+8
is not defined. * stl_config.h (__STL_PTHREADS): Don't define for glibc 2 if _G_USING_THUNKS is not defined. From-SVN: r18422
1998-03-04linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if USE_GNULIBC_1 is definedFranz Sirl4-0/+45
* 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
1998-03-02decl.c (start_function): Don't call temporary_allocation for a nested function.Jim Wilson2-2/+10
* decl.c (start_function): Don't call temporary_allocation for a nested function. From-SVN: r18374
1998-03-02* version.c: Bump for 1.0.2 prerelease diffs.Jeffrey A Law2-1/+5
From-SVN: r18369
1998-03-01* ginclude/va-ppc.h (va_arg): Fix typo in long long support.Jeffrey A Law2-1/+5
From-SVN: r18347
1998-02-25* stl_config.h: Work around glibc pthread.h bug.Jason Merrill2-0/+8
From-SVN: r18230
1998-02-24Changes for _G_IO_IO_FILE_VERSION == 0x20001:Andreas Schwab7-2/+79
* 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
1998-02-24configure.in (topsrcdir): New.H.J. Lu4-227/+49
* 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
1998-02-24configure.in (topsrcdir): New.H.J. Lu3-56/+44
* 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
1998-02-24expr.c (emit_move_insn_1): Fix minor buglet in last change caused by ↵Jeffrey A Law2-1/+6
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
1998-02-23Update.Jeff Law4-967/+13
From-SVN: r18212
1998-02-22pa.h (TEXT_SPACE_P): Remove unnecessary indirection into tree_code_type.Jeff Law3-8/+2
* 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
1998-02-22pa.h (TEXT_SPACE_P): Remove unnecessary indirection into tree_code_type.Jeffrey A Law3-2/+8
* pa/pa.h (TEXT_SPACE_P): Remove unnecessary indirection into tree_code_type. * vax/vms.h (SELECT_SECTION): Similarly. From-SVN: r18193
1998-02-22expr.c (emit_move_insn_1): When moving complex values in several steps...Bernd Schmidt2-0/+9
* expr.c (emit_move_insn_1): When moving complex values in several steps, emit a CLOBBER to show the destination dies. From-SVN: r18192
1998-02-22expr.c (ffeexpr_token_arguments_): Make sure outer exprstack isn't null.Craig Burley3-0/+11
* expr.c (ffeexpr_token_arguments_): Make sure outer exprstack isn't null. From-SVN: r18191
1998-02-22iris5.h (DWARF2_UNWIND_INFO): Define to 0.Jim Wilson3-0/+12
* iris5.h (DWARF2_UNWIND_INFO): Define to 0. * iris5gas.h (DWARF2_UNWIND_INFO): Define to 1. From-SVN: r18177
1998-02-22x-cygwin32 (USE_COLLECT2): Disable collect2 for now on i386-{cygwin32,mingw32}.Mumit Khan2-0/+6
* i386/x-cygwin32 (USE_COLLECT2): Disable collect2 for now on i386-{cygwin32,mingw32}. From-SVN: r18166
1998-02-22configure.in (alpha*-*-linux*): Treat alpha*-*-linux* as alpha*-*-linux* not ↵H.J. Lu2-0/+11
alpha*-*-*. * configure.in (alpha*-*-linux*): Treat alpha*-*-linux* as alpha*-*-linux* not alpha*-*-*. From-SVN: r18165
1998-02-22collect2.c (scan_prog_file): Completely cover uses of variable `exports' ↵Kaveh R. Ghazi2-2/+7
with macro COLLECT_EXPORT_LIST. * collect2.c (scan_prog_file): Completely cover uses of variable `exports' with macro COLLECT_EXPORT_LIST. From-SVN: r18164
1998-02-21Never should have been in the distribution.Jeff Law1-30/+0
From-SVN: r18161
1998-02-20collect2.c (main): Still handle !do_collecting for non-AIX targets.Jason Merrill2-2/+7
* collect2.c (main): Still handle !do_collecting for non-AIX targets. Bring over from mainline sources. From-SVN: r18153
1998-02-20ropeimpl.h: Check __STL_PTHREADS instead of _PTHREADS.H.J. Lu5-9/+29
* 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
1998-02-19collect2.c (XCOFF_SCAN_LIBS): Remove.Andrey Slepuhin2-247/+509
* 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
1998-02-19Makefile.in: Use $tooldir for sys-include to match toplevel configure.Mike Stump2-4/+9
* Makefile.in: Use $tooldir for sys-include to match toplevel configure. From-SVN: r18127
1998-02-18m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.Robin Kirkham3-27/+39
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
1998-02-18m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.Jeff Law1-1/+1
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
1998-02-18emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.Jeffrey A Law4-33/+23
* 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