aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2001-03-12iris5.h: Change WCHAR_TYPE to int.Neil Booth2-3/+8
* config/mips/iris5.h: Change WCHAR_TYPE to int. Co-Authored-By: David Billinghurst <David.Billinghurst@riotinto.com> From-SVN: r40419
2001-03-12call.c (convert_like_real): Add extra semantics to INNER parameter.Nathan Sidwell4-3/+46
cp: * call.c (convert_like_real): Add extra semantics to INNER parameter. Don't convert to temporary if a user conversion gives us an lvalue that we're about to bind to a reference. Set INNER to indicate pending reference binding on recursive calls. testsuite: * g++.old-deja/g++.other/ref4.C: New test. From-SVN: r40415
2001-03-12i386.md (trunctfdf2_2): Rename missnamed pattern.Jan Hubicka1-0/+5
* i386.md (trunctfdf2_2): Rename missnamed pattern. (*_one_bit): Remove type on the match_operand in attributes. From-SVN: r40414
2001-03-12i386.c: Commit forgotten hunk in previous patch.Jan Hubicka3-24/+32
* i386.c: Commit forgotten hunk in previous patch. (regclass_map): Add extended registers. (dbx_register_map): Add missing frame register. From-SVN: r40413
2001-03-12i386.md (all XFmode patterns except swapxf): Disable for 64bit.Jan Hubicka2-87/+147
* i386.md (all XFmode patterns except swapxf): Disable for 64bit. * i386.md (x86_sahf_1): Disable for 64bit. (popsi*, pophi*): Likewise. (pushqi, pushhi): Likewise. (movdi, pushdi): Likewise. (zero extend DImode splitter): Likewise. (adddi, minusdi splitter): Likewise. (umulsidi): Likewise. (umulsi): New. (mulsidi): Disable for 64bit (lshift:DI/ashift:DI): Disable for 64bit. (loop patterns): Likewise. (call_pop, call_value_pop expanders and patterns): Likewise. (prologue_get_pc): Likewise. (leave): Likewise. (fcmovDI pattern and splitter): Likewise. (movdfcc_1_rex64): New. From-SVN: r40412
2001-03-12i386.h (VALID_FP_MODE_P): XFmode is invalid on x86_64.Jan Hubicka4-67/+281
* i386.h (VALID_FP_MODE_P): XFmode is invalid on x86_64. (MODES_TIEABLE_P): QImodes and DImodes are tiable on x86_64. (HARD_REGNO_CALLER_SAVE_MODE): Save QImodes as QImodes for x86_64. (STATIC_CHAIN_REGNUM): Set to r10 for x86_64. (PIC_OFFSET_TABLE_REGNUM): Set to INVALID_REGNUM for x86_64. (LIMIT_RELOAD_CLASS): Avoid limiting of QImodes on x86_64. (SECONDARY_OUTPUT_RELOAD_CLASS): No need to QImodes. (PUSH_ROUNDING): x86_64 rounds to 64bits. (CONSTANT_ADDRESS_P): Accept CONST_DOUBLE. (REGPARM_MAX): Set to 6 for x86_64. (SSE_REGPARM_MAX): Set to 16 for x86_64. * i386.c (hard_regno_mode_ok): QImodes can be in all general purpose registers. * (patterns that does use upper halves): Update constraints 'q' to 'Q' and 'r' to 'R'. (cmpqi_ext_1): Disable for 64bit. (cmpqi_ext_3_insn): Likewise. (movqi_extzv_1): Likewsie. (addqi_ext_1): Liekwsie (testqi_ext_1): Liekwsie (andqi_ext_1): Liekwsie (xorqi_ext_1): Liekwsie (cmpqi_ext_1_rex64): New. (cmpqi_ext_3_insn_rex64): Likewise. (movqi_extzv_1_rex64): Likewsie. (addqi_ext_1_rex64): Liekwsie (testqi_ext_1_rex64): Liekwsie (andqi_ext_1_rex64): Liekwsie (xorqi_ext_1_rex64): Liekwsie From-SVN: r40411
2001-03-12Daily bump.GCC Administrator2-2/+2
From-SVN: r40405
2001-03-12configure.in: Move check for unsigned enumerated bitfields to macro in ↵Zack Weinberg21-369/+169
aclocal.m4. * configure.in: Move check for unsigned enumerated bitfields to macro in aclocal.m4. Disable it for now. * configure, config.in: Regenerate. * system.h: Don't do anything with ONLY_INT_FIELDS. Use the unsigned-int form of ENUM_BITFIELD() unless being compiled by GCC. * varasm.c (struct rtx_const): Use ENUM_BITFIELD(). Move enum kind above its first use. * config/xm-interix.h, config/alpha/xm-alpha.h, config/i370/xm-linux.h, config/i386/xm-beos.h, config/i386/xm-mingw32.h, config/mips/xm-mips.h, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h, config/rs6000/xm-beos.h, config/rs6000/xm-sysv4.h, Don't define ONLY_INT_FIELDS under any circumstances. * config/pa/xm-pa.h: Don't define __BSD_NET2__. * config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/sparc/xm-sysv4.h: Delete - now identical with some other xm header. * config.gcc (hppa targets): Replace xm-pahpux.h and xm-papro.h with implicit xm-pa.h. (sparc targets): Replace xm-sysv4.h with implicit or explicit xm-sparc.h. From-SVN: r40399
2001-03-12va_method.m: Added.Ovidiu Predescu1-0/+50
2001-03-11 Nicola Pero <n.pero@mi.flashnet.it> * objc/execute/va_method.m: Added. * objc/execute/IMP.m: Added. * objc/execute/_cmd.m: Added. * objc/execute/accessing_ivars.m: Added. * objc/execute/class-1.m: Added. * objc/execute/class-10.m: Added. * objc/execute/class-11.m: Added. * objc/execute/class-12.m: Added. * objc/execute/class-13.m: Added. * objc/execute/class-14.m: Added. * objc/execute/class-2.m: Added. * objc/execute/class-3.m: Added. * objc/execute/class-4.m: Added. * objc/execute/class-5.m: Added. * objc/execute/class-6.m: Added. * objc/execute/class-7.m: Added. * objc/execute/class-8.m: Added. * objc/execute/class-9.m: Added. * objc/execute/class-tests-1.h * objc/execute/class-tests-2.h * objc/execute/compatibility_alias.m: Added. * objc/execute/encode-1.m: Added. * objc/execute/formal_protocol-1.m: Added. * objc/execute/formal_protocol-2.m: Added. * objc/execute/formal_protocol-3.m: Added. * objc/execute/formal_protocol-4.m: Added. * objc/execute/formal_protocol-5.m: Added. * objc/execute/formal_protocol-6.m: Added. * objc/execute/formal_protocol-7.m: Added. * objc/execute/informal_protocol.m: Added. * objc/execute/initialize.m: Added. * objc/execute/load.m: Added. * objc/execute/many_args_method.m: Added. * objc/execute/nested-3.m: Added. * objc/execute/no_clash.m: Added. * objc/execute/private.m: Added. * objc/execute/redefining_self.m: Added. * objc/execute/root_methods.m: Added. * objc/execute/selector-1.m: Added. * objc/execute/static-1.m: Added. * objc/execute/static-2.m: Added. * objc/execute/va_method.m: Added. From-SVN: r40398
2001-03-12Added.Ovidiu Predescu41-0/+1961
From-SVN: r40397
2001-03-12Call reload_cse_simplify_set before reload_cse_noop_set_pAldy Hernandez2-4/+14
From-SVN: r40394
2001-03-12config.gcc: Where xm-host.h used to include another xm-host.h...Zack Weinberg21-314/+123
* config.gcc: Where xm-host.h used to include another xm-host.h, list the nested header directly in xm_file. Remove references to deleted files. Can now use sparc/xm-sp64.h for sparcv9-*-solaris*. * config/xm-linux.h, config/arm/xm-linux.h, config/i386/xm-dos.h, config/i386/xm-gnu.h, config/i386/xm-linux.h, config/i386/xm-openbsd.h, config/i860/xm-fx2800.h, config/m68k/xm-atari.h, config/m68k/xm-linux.h, config/m68k/xm-sun3.h, config/sparc/xm-linux.h, config/sparc/xm-sysv4-64.h: Delete. * config/alpha/xm-alpha-interix.h: Don't include alpha/xm-alpha.h. * config/mips/xm-iris5.h: Don't include mips/xm-mips.h. Don't bother to wrap #undef in #ifdef. * config/pa/xm-linux.h, config/rs6000/xm-sysv4.h: Don't include xm-linux.h. * config/sparc/xm-sp64.h: Don't include sparc/xm-sparc.h. * configure.in: Wrap regexps using [] in changequote block. Use expr : not echo | grep. Simplify regexps. * configure: Regenerate. 56 xm-files remain, 22 xm-arch. From-SVN: r40392
2001-03-12mips-tfile.c: Cast arg to PTR when specifier is HOST_PTR_PRINTF.Kaveh R. Ghazi3-227/+163
* mips-tfile.c: Cast arg to PTR when specifier is HOST_PTR_PRINTF. (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead. (local_index, local_rindex): Delete, use strchr/strrchr instead. (copy_object): Fix format specifier vs argument mismatch. * mips-tdump.c: Make local functions static. (rindex): Don't #undef. (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead. (fatal, fancy_abort): Delete. (read_seek): Avoid signed/unsigned compare. From-SVN: r40391
2001-03-11combine.c (try_combine): Fix error in change to try original register.Richard Kenner2-22/+15
* combine.c (try_combine): Fix error in change to try original register. (gen_rtx_combine): Do same as gen_rtx for now. From-SVN: r40390
2001-03-11configure.in: AC_SUBST xm_defines.Zack Weinberg4-244/+245
* configure.in: AC_SUBST xm_defines. * configure: Regenerate. * Makefile.in: Set DEFINES=$(xm_defines) when building tconfig.h. From-SVN: r40389
2001-03-11cppfiles.c (INCLUDE_LEN_FUDGE, ENOMEM): Delete.Neil Booth2-12/+9
* cppfiles.c (INCLUDE_LEN_FUDGE, ENOMEM): Delete. (cpp_included, find_include_file): Update. (_cpp_compare_file_date): Make else unconditional. From-SVN: r40388
2001-03-11Daily bump.GCC Administrator2-2/+2
From-SVN: r40387
2001-03-11Added blank line.Alexandre Oliva1-0/+1
From-SVN: r40385
2001-03-11* config/sh/sh.h (LEGITIMATE_PIC_OPERAND_P): Defined.Kaz Kojima2-0/+11
From-SVN: r40384
2001-03-11sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.Toshiyasu Morita3-5/+10
* config/sh/sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics. * config/sh/lib1funcs.asm (mulsi3): Convert mulu to mulu.w. From-SVN: r40381
2001-03-10* g++.old-deja/g++.oliva/delete3.C (main): Catch the exception.Richard Henderson2-3/+8
From-SVN: r40377
2001-03-11tree.c (build_common_tree_nodes_2): Don't copy va_list_type_node if it's a ↵Alexandre Oliva2-1/+15
record type. * tree.c (build_common_tree_nodes_2): Don't copy va_list_type_node if it's a record type. From-SVN: r40376
2001-03-11remove duplication.Christopher Faylor1-1/+0
From-SVN: r40374
2001-03-11cygwin.h: Make ../w32api a system directory.Christopher Faylor2-22/+30
* config/i386/cygwin.h: Make ../w32api a system directory. Reorganize mingw includes slightly. From-SVN: r40372
2001-03-10system.h (malloc, [...]): #undef token before poisoning it.Kaveh R. Ghazi2-0/+12
* system.h (malloc, realloc, calloc, strdup, bzero, bcmp, rindex): #undef token before poisoning it. From-SVN: r40371
2001-03-10alpha.c (check_float_value): Use memcpy, not bcopy.Kaveh R. Ghazi4-14/+18
* alpha.c (check_float_value): Use memcpy, not bcopy. * m32r.c (m32r_sched_reorder): Likewise. * vax.c (check_float_value): Likewise. From-SVN: r40370
2001-03-10toplev.c (file_name_nondirectory): Remove.Neil Booth8-26/+23
* toplev.c (file_name_nondirectory): Remove. * toplev.h: Similarly. * dwarf2out.c (compute_section_prefix): Use lbasename instead of file_name_nondirectory. * cp/lex.c: Delete duplicate pending_lang_change. * cp/lex.c (handle_pragma_interface, handle_pragma_implementation): Similarly. * cp/repo.c (get_base_filename, open_repo_file): Similarly. * cp/cp-tree.h: Remove file_name_nondirectory prototype. From-SVN: r40369
2001-03-10mips-tdump.c (read_seek): Call xmalloc, not malloc.Richard Kenner3-5/+9
* mips-tdump.c (read_seek): Call xmalloc, not malloc. * mips-tfile.c: Don't #undef rindex; not used. From-SVN: r40366
2001-03-10i386.h (DBX_REGISTER_NUMBER): Return proper values for 64bits.Jan Hubicka8-10/+41
* i386.h (DBX_REGISTER_NUMBER): Return proper values for 64bits. (dbx64_register_map): Declare. (RETURN_ADDR_RTX): Fix for 64bit. (DWARF_FRAME_RETURN_COLUMN): Set to 16 for 64bit. (INCOMING_FRAME_SP_OFFSET): Set to 8. * i386.c (dbx64_register_map): New global array. * beos-elf.h, freebsd.h, i386-interix.h, i386elf.h, linux.h (DBX_REGISTER_REGNUMBER): Use dbx64_register_map for 64bits. From-SVN: r40365
2001-03-10cppfiles.c (search_from): Use lbasename.Neil Booth3-6/+7
* cppfiles.c (search_from): Use lbasename. * mkdeps.c (deps_add_default_target): Use lbasename. From-SVN: r40364
2001-03-10Daily bump.GCC Administrator2-2/+2
From-SVN: r40362
2001-03-10server.c (load_data, run_shell): Use xmalloc, xrealloc & xcalloc in lieu of ↵Kaveh R. Ghazi9-34/+63
malloc, realloc & calloc. * fixinc/server.c (load_data, run_shell): Use xmalloc, xrealloc & xcalloc in lieu of malloc, realloc & calloc. * gencheck.c (xmalloc): Use really_call_malloc, not malloc. * gengenrtl.c (xmalloc): Likewise. * gensupport.c (xcalloc, xrealloc, xmalloc): Use the really_call_* memory allocation routines. * stmt.c (check_for_full_enumeration_handling): Use really_call_calloc, not calloc. * system.h (really_call_malloc, really_call_calloc, really_call_realloc): Define. (malloc, realloc, calloc, strdup, bzero, bcmp, rindex): Poison. f: * fini.c (main): Use really_call_malloc, not malloc. From-SVN: r40360
2001-03-09* pa.md (builtin_longjmp): Rework slightly to work for PA64 too.Jeffrey A Law2-2/+8
From-SVN: r40359
2001-03-10configure: Rebuilt.Nicola Pero3-234/+251
2001-03-09 Nicola Pero <n.pero@mi.flashnet.it> * configure: Rebuilt. * configure.in: Only use `lang_requires' for languages athat are actually enabled. From-SVN: r40355
2001-03-09invoke.texi: Fix typo.Joseph Myers3-13/+51
* invoke.texi: Fix typo. * gcc.1: Regenerate. From-SVN: r40351
2001-03-09configure.in: Prune nonexistent files from build_xm_file, xm_file, and ↵Zack Weinberg29-543/+510
host_xm_file lists. * configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists. Warn unless they're $cpu/xm-$cpu.h. Don't generate *config.h here. AC_SUBST all variables needed to generate *config.h. * configure: Regenerate. * mkconfig.sh: New helper script, from code removed from configure.in. * Makefile.in: Zap all MALLOC variables - no longer used anywhere, and malloc.c doesn't exist. Substitute in variables needed to generate *config.h. Stop lying about the dependencies contained in CONFIG_H and GCONFIG_H. (HCONFIG_H, TCONFIG_H, TM_P_H): New variables. (config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h, cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules. (all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H), $(TM_P_H), etc. as appropriate. * config.gcc: Zap references to deleted files. * ggc-none.c: Don't include rtl.h or tm_p.h. * config/i386/xm-beos.h, config/i386/xm-dgux.h, config/i386/xm-djgpp.h, config/i386/xm-dos.h, config/i386/xm-gnu.h, config/i386/xm-i386-interix.h, config/i386/xm-linux.h, config/i386/xm-linux.h, config/i386/xm-next.h, config/i386/xm-openbsd.h, config/i386/xm-sun.h, config/i386/xm-sysv3.h: Don't include i386/xm-i386.h. * config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h, config/i386/xm-i386.h, config/i860/xm-i860.h, config/i960/xm-i960.h, config/mcore/xm-mcore.h, config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h, config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h: Delete (empty except comments, #includes of other deleted files, and macros used nowhere). cp: * Make-lang.in: Add dependencies on $(TM_P_H) as appropriate. From-SVN: r40350
2001-03-09i386.h (MAX_WCHAR_TYPE_SIZE): New constant to keep tradcpp independent on ↵Jan Hubicka2-0/+6
TARGET_FLAGS. * i386.h (MAX_WCHAR_TYPE_SIZE): New constant to keep tradcpp independent on TARGET_FLAGS. From-SVN: r40349
2001-03-09i386.h (FIRST_PSEUDO_REGISTER): Set to 53.Jan Hubicka3-61/+215
* i386.h (FIRST_PSEUDO_REGISTER): Set to 53. (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ONES): Add extended ones. (CONDITIONAL_REGISTER_USAGE): Set proper values according to TARGET_64BIT. (FIRST_REX_INT_REG, LAST_REX_INT_REG, FIRST_REX_SSE_REG, LAST_REX_SSE_REG): define. (enum reg_class): Add 'LEGACY_REGS' (REG_CLASS_CONTENTS): Likewise; add extended registers. (SSE_REGNO_P): Recognize extended registers. (ANY_QI_REG_P, REX_INT_REGNO_P, REX_INT_REG_P): New. (REG_CLASS_FROM_LETTER): Add 'R' and 'Q'. (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P, REG_OK_FOR_BASE_NONSTRICT_P): Recognize REX registers. (REG_OK_FOR_STRREG_NONSTRICT_P, REG_OK_FOR_STRREG_STRICT_P, REG_OK_FOR_STRREG_P): Remove. (HI_REGISTER_NAMES): Add extended registers. (ADDITIONAL_REGISTER_NAMES): Likewise. (QI_REGISTER_NAMES): Add 8bit extended registers. (DEBUG_REG): Support extended registers. * i386.c (regclass_map): Add extended registers. (dbx_register-map): Likewise. (svr4_dbx_register_map): Likewise. (print_reg): Support extended registers. (print_operand): Support 64bit operands. From-SVN: r40348
2001-03-09i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 128bit for x86_64 ↵Jan Hubicka2-9/+44
(BOOL_TYPE_SIZE... * i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 128bit for x86_64 (BOOL_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE, FLOAT_TYPE_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE, DOUBLE_TYPE_SIZE, LONG_LONG_TYPE_SIZE): New constants. (BITS_PER_WORD, UNITS_PER_WORD, POINTER_SIZE, PARM_BOUNDARY, STACK_BOUNDARY): Set properly for 64bits. (MAX_BITS_PER_WORD, MIN_UNITS_PER_WORD): New constants. (EMPTY_FIELD_BOUNDARY): Define using BITS_PER_WORD. (BIGGEST_FIELD_ALIGNMENT): Set to 128 for 64bits. (MOVE_MAX): Set to 16. (MOVE_MAX_PIECES): 8 for 64bit. (Pmode): Set to SImode. From-SVN: r40347
2001-03-09* cselib.c (hash_rtx): Ensure that hash isn't zero upon return.Mike Stump2-1/+5
From-SVN: r40346
2001-03-09i386.h (MASK_64BIT): New constant.Jan Hubicka16-26/+50
* i386.h (MASK_64BIT): New constant. (TARGET_64BIT): New macro. (TARGET_OPTIONS): Add '64'/'32' (TARGET_DEFAULT): Define. * cygwin.h freebsd-aout.h i386-interix.h i386.h i386elf.h isc.h isccoff.h netbsd.h next.h openbsd.h p sco.h sco5.h scodbx.h sequent.h unix.h win32.h (TARGET_DEFAULT): Rename to TARGET_SUBTARGET_DEFAULT. From-SVN: r40345
2001-03-09Daily bump.GCC Administrator2-2/+2
From-SVN: r40344
2001-03-08* config/pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Disable.Jeffrey A Law2-0/+11
From-SVN: r40342
2001-03-08rtlanal.c (rtx_varies_p): Check operand 0 of a LO_SUM unless for_alias is set.John Wehle2-2/+9
* rtlanal.c (rtx_varies_p): Check operand 0 of a LO_SUM unless for_alias is set. From-SVN: r40340
2001-03-09objc-act.c: Fix old typos in comments, add comments for various functions.Stan Shebs2-11/+43
* objc/objc-act.c: Fix old typos in comments, add comments for various functions. (hash_init): Fix file name in error message. (hash_enter): Ditto. (hash_add_attr): Ditto. (continue_class): Ditto. From-SVN: r40338
2001-03-08Tweak date for accuracyStan Shebs1-1/+1
From-SVN: r40335
2001-03-08* cp-tree.h (set_identifier_local_value): Remove unused decl.Stan Shebs2-1/+4
From-SVN: r40334
2001-03-08back out the 3-0 branch versionBruce Korb1-36/+75
From-SVN: r40332
2001-03-08fix SIGCHLD handlingBruce Korb1-75/+36
[[Split portion of a mixed commit.]] From-SVN: r40331.2
2001-03-08fix SIGCHLD handlingBruce Korb2-0/+8
From-SVN: r40330