aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2001-03-14configure.in: Use $gcc_cv_as instead of $as.Laurynas Biveinis3-2/+7
* configure.in: Use $gcc_cv_as instead of $as. * configure: Regenerated. From-SVN: r40470
2001-03-14* gcc.dg/cpp/mi1.c: Update.Neil Booth2-0/+5
From-SVN: r40468
2001-03-14cppfiles.c (stack_include_file): Only increase the include count if we ↵Neil Booth3-58/+75
actually process the file properly... * cppfiles.c (stack_include_file): Only increase the include count if we actually process the file properly, as opposed to treating it as length zero. Only call read_include_file if not DO_NOT_REREAD. Handle the -H include file output here. (read_include_file): Remove now redundant DO_NOT_REREAD check. (cpp_included, find_include_file): Simplify pathnames after remapping them. If remapping, don't use the remapped file name's buffer as our scratch buffer. (cpp_pop_file_buffer): Replace the multiple include macro only if it isn't yet set. (read_name_map): Simplify remapped names when reading in. (remap_filename): Move code to code path that uses it. (_cpp_simplify_pathname): Return the input pointer. * cpphash.h (_cpp_simplify_pathname): Update prototype. From-SVN: r40467
2001-03-14* expr.c (expand_expr): Revove bogus conditional.Mark Mitchell2-6/+4
From-SVN: r40464
2001-03-14* expr.c (emit_move_insn_1): Guard PUSH_ROUNDING use by ifdef.Jan Hubicka2-0/+6
From-SVN: r40462
2001-03-14reg-stack.c (stack_result): Unconditionally use FUNCTION_OUTGOING_VALUE resp.Jakub Jelinek4-5/+41
* reg-stack.c (stack_result): Unconditionally use FUNCTION_OUTGOING_VALUE resp. FUNCTION_VALUE. * g++.old-deja/g++.other/regstack.C: New test. From-SVN: r40457
2001-03-14expr.c (emit_move_insn_1): Split push of complex value when no suitable push ↵Jan Hubicka4-13/+64
instruction exist. * expr.c (emit_move_insn_1): Split push of complex value when no suitable push instruction exist. * i386.md (QImode move/add/shift patterns): Use ANY_QI_REG_P instead of QI_REG_P. From-SVN: r40454
2001-03-14Daily bump.GCC Administrator2-2/+2
From-SVN: r40453
2001-03-13alias.c (handled_component_p, [...]): New functions.Richard Kenner2-29/+62
* alias.c (handled_component_p, can_address_p): New functions. (get_alias_set): Use them. From-SVN: r40449
2001-03-13Fix reg-alloc error reported by Andreas Schwab to Trillian list.Jim Wilson2-1/+14
* config/ia64/ia64.c (find_gr_spill): Subtract frame_pointer_needed from 80 in try_locals code. (ia64_expand_prologue): Add comment pointing to find_gr_spill change. From-SVN: r40447
2001-03-14aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, [...]): New.Zack Weinberg23-554/+867
* aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_C_CHAR_BIT, gcc_AC_C_LONG_LONG): New. * configure.in: Use them. Probe the size of short, int, long, and long long/__int64 if we have them. Move all the AC_C_* checks together, except gcc_AC_C_CHAR_BIT which has to go after AC_CHECK_HEADERS(limits.h). Take hwint.h out of host_xm_file and build_xm_file. * hwint.h: Unconditionally define HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT, HOST_BITS_PER_INT, HOST_BITS_PER_LONG, and HOST_BITS_PER_LONGLONG in terms of SIZEOF_* and CHAR_BIT. Move the HOST_WIDEST_INT setup logic here from system.h. Provide HOST_WIDEST_INT even if HOST_BITS_PER_LONGLONG is not defined. * system.h: Include hwint.h after limits.h. HOST_WIDEST_INT is now handled by hwint.h. * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms.h, config/c4x/xm-c4x.h, config/i370/xm-oe.h, config/ia64/xm-ia64.h: Don't define any of: HOST_BITS_PER_LONG, HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT, HOST_BITS_PER_LONGLONG. * config/alpha/xm-alpha.h, config/dsp16xx/xm-dsp16xx.h, config/h8300/xm-h8300.h, config/mips/iris6.h, config/mn10200/xm-mn10200.h, config/pa/xm-pa64hpux.h, config/sparc/xm-sp64.h: Delete. * config.gcc: Remove references to deleted files. * config/arm/xm-arm.h, config/mips/xm-mips.h: Don't define HOST_FLOAT_FORMAT to IEEE_FLOAT_FORMAT. * config/i370/xm-linux.h: Clarify floating-point situation in a comment. From-SVN: r40446
2001-03-13cppfiles.c (NO_INCLUDE_PATH): New macro.Neil Booth3-71/+69
* cppfiles.c (NO_INCLUDE_PATH): New macro. (find_include_file): Decide here which part of the include chain to start the search. Complain about an empty include chain in all cases apart from an abolsute file name. (_cpp_execute_include): Don't choose the search chain here. Don't call handle_missing_include in the case of an empty include chain. (_cpp_compare_file_date): Don't choose the search chain here. * cpplib.c (do_include_next): Move the in-main-file diagnostic here from _cpp_execute_include. Behave like #include if we're in the main file. From-SVN: r40445
2001-03-13system.h (malloc, [...]): Only poison these tokens when IN_GCC is defined.Kaveh R. Ghazi2-0/+11
* system.h (malloc, realloc, calloc, strdup): Only poison these tokens when IN_GCC is defined. From-SVN: r40443
2001-03-13i386.md (abs?f expander): Support SSE case.Jan Hubicka2-3/+136
* i386.md (abs?f expander): Support SSE case. (abd?f_if): Add new "USE"; add splitters. From-SVN: r40440
2001-03-13* cpp.texi (poison): Explain the macro expansion exception.Kaveh R. Ghazi2-0/+20
From-SVN: r40438
2001-03-13expr.c (store_expr): Add dont_store_target.Jakub Jelinek2-2/+17
* expr.c (store_expr): Add dont_store_target. If temp is already in target before copying to reg, don't store it into target again. From-SVN: r40437
2001-03-13Daily bump.GCC Administrator2-2/+2
From-SVN: r40435
2001-03-12* cppinternals.texi: Update for file handling.Neil Booth2-9/+76
From-SVN: r40432
2001-03-12emit-rtl.c (remove_unnecessary_notes): Reverse Richard Kenner's 2001-02-24 ↵Jeffrey Oldham6-37/+33
which broke building the Java library. 2001-03-12 Jeffrey Oldham <oldham@codesourcery.com> * emit-rtl.c (remove_unnecessary_notes): Reverse Richard Kenner's 2001-02-24 which broke building the Java library. * function.c (identify_blocks): Likewise. (all_blocks): Likewise. * integrate.c (integrate_decl_tree): Likewise. * print-tree.c (print_node): Likewise. * tree.h (BLOCK_NUMBER): Likewise. (struct tree_block): Likewise. From-SVN: r40431
2001-03-12aix51.h (CPP_SPEC, [...]): Fix typo in __WCHAR_TYPE__ definition.David Edelsohn2-10/+17
* rs6000/aix51.h (CPP_SPEC, CPLUSPLUS_CPP_SPEC): Fix typo in __WCHAR_TYPE__ definition. (WCHAR_TYPE_SIZE): #undef before #define. From-SVN: r40428
2001-03-12Fix typoRichard Kenner1-1/+1
From-SVN: r40426
2001-03-12cppfiles.c: Update comments.Neil Booth2-105/+127
* cppfiles.c: Update comments. (destroy_include_file_node): Rename destroy_node. (find_or_create_entry): New function. (open_file, _cpp_fake_include): Use it. (handle_missing_header): New function, broken out of _cpp_execute include. Don't segfault if there is no system or quoted path. (_cpp_execute_include): Use handle_missing_header. From-SVN: r40423
2001-03-12jump.c (reversed_comparison_code_parts): Reverse Jan Hubricka's 2001-02-28 ↵Jeffrey Oldham2-11/+6
patch because it breaks arm-linux and... 2001-03-12 Jeffrey Oldham <oldham@codesourcery.com> * jump.c (reversed_comparison_code_parts): Reverse Jan Hubricka's 2001-02-28 patch because it breaks arm-linux and mips-sgi-irix6.5. From-SVN: r40421
2001-03-12flow.c (insn_dead_p): Don't consider two memrefs equivalent unless ↵Richard Kenner3-18/+32
anti_dependence says they are. * flow.c (insn_dead_p): Don't consider two memrefs equivalent unless anti_dependence says they are. * alias.c (objects_must_conflict): If neither has a type specified, they must conflict. From-SVN: r40420
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