aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2002-09-26ia64.c (ia64_expand_load_address): Ensure correct mode for symbol address.Steve Ellcey2-0/+9
* config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode for symbol address. From-SVN: r57554
2002-09-26elf.h: Add HANDLE_SYSV_PRAGMA.Eric Christopher3-0/+11
2002-09-24 Eric Christopher <echristo@redhat.com> * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA. * config/mips/elf64.h: Ditto. From-SVN: r57553
2002-09-26except.c (expand_builtin_extract_return_address): Handle case where Pmode != ↵Eric Christopher2-1/+16
ptr_mode. 2002-09-24 Eric Christopher <echristo@redhat.com> * except.c (expand_builtin_extract_return_address): Handle case where Pmode != ptr_mode. From-SVN: r57552
2002-09-26* config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): NewSteve Ellcey2-0/+15
From-SVN: r57551
2002-09-26* config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.Steve Ellcey2-1/+5
From-SVN: r57550
2002-09-26combine.c (simplify_set): Don't call to force_to_mode if size of integer ↵Igor Shevlyakov2-1/+7
type is larger than... * combine.c (simplify_set): Don't call to force_to_mode if size of integer type is larger than HOST_BITS_PER_WIDE_INT. From-SVN: r57549
2002-09-26README.QMTEST: Fix typo.Janis Johnson2-1/+5
2002-09-26 Janis Johnson <janis187@us.ibm.com> * README.QMTEST: Fix typo. From-SVN: r57548
2002-09-26Makefile.in (qmtest-g++): Fix file name.Janis Johnson2-1/+5
2002-09-26 Janis Johnson <janis187@us.ibm.com> * Makefile.in (qmtest-g++): Fix file name. From-SVN: r57547
2002-09-26* gcc.dg/20020926-1.c: New test.Ulrich Weigand2-0/+18
From-SVN: r57544
2002-09-26expr.c (expand_expr): Convert A - const to A + (-const) on RTX level, even ↵Ulrich Weigand2-20/+30
for unsigned types. * expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to A + (-const) on RTX level, even for unsigned types. From-SVN: r57543
2002-09-26reload.c (dup_replacements): New function.Ulrich Weigand2-3/+27
* reload.c (dup_replacements): New function. (find_reloads): Use it to duplicate replacements at the top level of match_dup operands. From-SVN: r57542
2002-09-26* v850.md ("length"): Change default value to 4.Miles Bader2-1/+5
From-SVN: r57541
2002-09-26ChangeLog.1: Follow spelling conventions.Kazu Hirata8-10/+20
* ChangeLog.1: Follow spelling conventions. * ChangeLog.4: Likewise. * ChangeLog.6: Likewise. * FSFChangeLog.11: Likewise. * doc/cpp.texi: Likewise. * doc/invoke.texi: Likewise. * doc/tm.texi: Likewise. From-SVN: r57539
2002-09-26Add x prefix to v850e case for handling --with-cpu=v850e.Nick Clifton2-1/+6
From-SVN: r57538
2002-09-26re PR target/7842 ([REGRESSION] sparc code gen bug)David S. Miller2-1/+6
2002-09-25 David S. Miller <davem@redhat.com> PR target/7842 * config/sparc/sparc.c (set_extends): SImode ASHIFT does not extend. From-SVN: r57534
2002-09-26re PR target/7842 ([REGRESSION] sparc code gen bug)David S. Miller2-0/+25
2002-09-25 David S. Miller <davem@redhat.com> PR target/7842 * gcc.c-torture/execute/shiftdi.c: New test. From-SVN: r57533
2002-09-26gcc.exp (gcc_init): Use a filename for the testglue that is unique to the tool.Richard Earnshaw5-4/+12
* lib/gcc.exp (gcc_init): Use a filename for the testglue that is unique to the tool. * lib/g77.exp (g77_init): Likewise. * lib/g++.exp (g++_init): Likewise. * lib/objc.exp (objc_init): Likewise. From-SVN: r57532
2002-09-26Daily bump.GCC Administrator1-1/+1
From-SVN: r57531
2002-09-25Move C++ specific ChangeLog entry for "cp_binding_level reorg" patchDevang Patel2-16/+16
from Changelog into cp/Changelog From-SVN: r57523
2002-09-25emit-rtl.c (const_double_htab_eq): Distinguish integer and fp CONST_DOUBLE; ↵Richard Henderson2-5/+11
use real_identical. * emit-rtl.c (const_double_htab_eq): Distinguish integer and fp CONST_DOUBLE; use real_identical. From-SVN: r57520
2002-09-25class.c (contains_empty_class_p): New method.Mark Mitchell8-2/+128
* cp/class.c (contains_empty_class_p): New method. (walk_subobject_offsets): Correct computation of field offset. (layout_empty_base): Correct placement of emtpy base classes. (layout_class_type): Warn about ABI changes. * doc/invoke.texi: Add more -Wabi examples. * gcc/testsuite/g++.dg/abi/empty5.C: New test. * gcc/testsuite/g++.dg/abi/empty6.C: New test. * gcc/testsuite/g++.dg/abi/vbase12.C: New test. From-SVN: r57508
2002-09-2520010226-1.c: Early exit for too-small long double.Richard Henderson2-4/+16
* gcc.c-torture/execute/ieee/20010226-1.c: Early exit for too-small long double. From-SVN: r57502
2002-09-25* config/mips/mips.h (TARGET_MIPS4100): Add missing bracket.Richard Sandiford2-1/+5
From-SVN: r57496
2002-09-25Daily bump.GCC Administrator1-1/+1
From-SVN: r57493
2002-09-24ip2k.c (function_epilogue): Fix wrong numbers in cases of optimizing "add ↵Denis Chertykov2-2/+7
sp,w" to "inc sp". * config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in cases of optimizing "add sp,w" to "inc sp". From-SVN: r57481
2002-09-24(thumb_unexpanded_epilogue): Don't generate epilogue for naked functions.Adam Nemet2-0/+8
From-SVN: r57476
2002-09-24(THUMB_FUNCTION_PROFILER): Remove.Adam Nemet2-10/+16
(FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it is defined. Co-Authored-By: Nick Clifton <nickc@redhat.com> From-SVN: r57475
2002-09-24s390.c (preferred_la_operand_p): New function.Ulrich Weigand4-21/+97
* config/s390/s390.c (preferred_la_operand_p): New function. * config/s390/s390-protos.h (preferred_la_operand_p): Declare it. * config/s390/s390.md ("addaddr_esame", "*la_ccclobber"): Replace by ... ("*la_64_cc", "*la_31_cc", splitters): ... these. ("*la_31"): Deactivate for TARGET_64BIT. ("*la_31_and", "*la_31_and_cc"): New. From-SVN: r57473
2002-09-24* real.h (real_value): Make `exp' explicitly signed.Kaveh R. Ghazi2-1/+5
From-SVN: r57469
2002-09-24elfos.h: Follow spelling conventions.Kazu Hirata40-63/+105
* config/elfos.h: Follow spelling conventions. * config/alpha/alpha.h: Likewise. * config/arc/arc.h: Likewise. * config/arm/arm.md: Likewise. * config/avr/avr.h: Likewise. * config/cris/cris.md: Likewise. * config/d30v/d30v.h: Likewise. * config/frv/frv.c: Likewise. * config/frv/frv.h: Likewise. * config/h8300/h8300.c: Likewise. * config/h8300/h8300.h: Likewise. * config/h8300/h8300.md: Likewise. * config/i386/cygwin.h: Likewise. * config/i386/i386.h: Likewise. * config/i386/sysv3.h: Likewise. * config/i960/i960.h: Likewise. * config/ia64/ia64.h: Likewise. * config/ia64/ia64.md: Likewise. * config/ip2k/ip2k.h: Likewise. * config/m32r/m32r.h: Likewise. * config/m68k/m68k.h: Likewise. * config/m88k/m88k.h: Likewise. * config/mcore/mcore.c: Likewise. * config/mcore/mcore.h: Likewise. * config/mcore/mcore.md: Likewise. * config/mips/mips.h: Likewise. * config/mmix/mmix.h: Likewise. * config/mmix/mmix.md: Likewise. * config/ns32k/netbsd.h: Likewise. * config/ns32k/ns32k.h: Likewise. * config/ns32k/ns32k.md: Likewise. * config/pa/pa.h: Likewise. * config/romp/romp.h: Likewise. * config/rs6000/rs6000.h: Likewise. * config/rs6000/rs6000.md: Likewise. * config/sparc/sparc.h: Likewise. * config/stormy16/stormy-abi: Likewise. * config/stormy16/stormy16.h: Likewise. * config/vax/vax.h: Likewise. From-SVN: r57468
2002-09-24Daily bump.GCC Administrator1-1/+1
From-SVN: r57467
2002-09-24update_version: Do not check in files which are unchanged.Zack Weinberg24-107/+185
maintainer-scripts: * update_version: Do not check in files which are unchanged. * gcc_release: Only update the version in gcc/version.c. gcc: * version.c (version_string): Now const char[]. * version.h: Update to match. gcc/ada: * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o. * Makefile.in (TOOLS_LIBS): Add ../../version.o. * gnatvsn.ads: Gnat_Version_String is now a function. * gnatvsn.adb: New file. When asked for Gnat_Version_String, copy the C version_string into a String and return it. * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb, gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb: Remove pragma Ident (Gnat_Version_String). If this was the sole use of package Gnatvsn, remove the with statement too. * gnat1drv.adb: Tweak -gnatv output. gcc/f: * Make-lang.in (g77spec.o): Don't depend on f/version.h. (f/parse.o): Depend on version.h not f/version.h. (g77version.o, f/version.o): Delete all references. * com.c (ffecom_init_0): Fix transposed array indices in bsearch test. * g77spec.c: Don't include f/version.h or refer to ffe_version_string. * parse.c: Use version_string, not ffe_version_string. * version.c, version.h: Delete files. libf2c: * libF77/Version.c: Rename junk to __LIBF77_VERSION__. Add external decls for __LIBI77_VERSION__ and __LIBU77_VERSION__. Delete __G77_LIBF77_VERSION__ (g77__fvers__): Print all three __LIB*77_VERSION__ strings, and __VERSION__ if we have it; nothing else. * libI77/Version.c: Provide only __LIBI77_VERSION__ (formerly junk). * libU77/Version.c: Provide only __LIBU77_VERSION__ (formerly junk). From-SVN: r57461
2002-09-23i386.h (MASK_ACCUMULATE_OUTGOING_ARGS_SET, [...]): Kill.Richard Henderson3-33/+34
* config/i386/i386.h (MASK_ACCUMULATE_OUTGOING_ARGS_SET, MASK_MMX_SET, MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET, MASK_3DNOW_A_SET): Kill. (TARGET_SWITCHES): Don't reference them. * config/i386/i386.c (override_options): Use target_flags_explicit to examine bits set by the user. From-SVN: r57458
2002-09-23Set current_sym_code in a case where it was missing.Dale Johannesen2-0/+5
From-SVN: r57456
2002-09-23unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate at least one ↵Richard Earnshaw2-1/+6
byte of space. * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate at least one byte of space. From-SVN: r57441
2002-09-23c-common.h (flag_abi_version): Fix typo in comment.Mark Mitchell3-5/+12
* c-common.h (flag_abi_version): Fix typo in comment. * doc/invoke.texi (flag_abi_version): Document default value. From-SVN: r57440
2002-09-23* gcc.dg/20020919-1.c: New test.Hans-Peter Nilsson2-0/+249
From-SVN: r57438
2002-09-23extend.texi (Extended Asm): Clarify that overlap between asm-declared ↵Hans-Peter Nilsson3-2/+88
register variables used in an asm and... * doc/extend.texi (Extended Asm): Clarify that overlap between asm-declared register variables used in an asm and the asm clobber list is not allowed. * stmt.c (decl_conflicts_with_clobbers_p): New function. (expand_asm_operands): Keep track of clobbered registers. Call decl_conflicts_with_clobbers_p for each input and output operand. If no conflicts found before, also do conflict sanity check when emitting clobbers. From-SVN: r57437
2002-09-23c-common.c (cpp_define_data_format): Remove.Richard Henderson3-70/+26
* c-common.c (cpp_define_data_format): Remove. (cb_register_builtins): Don't define __WCHAR_BIT__, __SHRT_BIT__, __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__, __DOUBLE_BIT__, __LONG_DOUBLE_BIT__. * doc/cpp.texi: Don't document them either. (__SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__): Document. (__TARGET_FLOAT_FORMAT__): Remove. From-SVN: r57436
2002-09-23* real.c (do_multiply): Normalize U before addition.Richard Henderson2-3/+7
From-SVN: r57435
2002-09-23ChangeLog: Follow spelling conventions.Kazu Hirata9-63/+75
* ChangeLog: Follow spelling conventions. * ChangeLog.0: Likewise. * com.c: Likewise. * ffe.texi: Likewise. * g77.texi: Likewise. * intdoc.in: Likewise. * invoke.texi: Likewise. * news.texi: Likewise. * intdoc.texi: Regenerate. From-SVN: r57433
2002-09-23c-common.c (flag_abi_version): New variable.Mark Mitchell13-7/+172
* c-common.c (flag_abi_version): New variable. * c-common.h (flag_abi_version): Declare it. * c-opts.c (missing_arg): Add -fabi-version. (c_common_decode_option): Process -fabi-version. * doc/invoke.texi (-fabi-version): Document it. (-Wabi): Add information about bit-fields in unions. * cp/class.c (layout_virtual_bases): Do not round the size of the type to a multiple of the alignment before laying out virtual bases. (layout_class_type): Correct handling of bit-fields that are wider than their type inside unions. Round the size of the type to a even number of bytes when computing the size without virtual bases. * cp/cp-tree.h (abi_version_at_least): New macro. * g++.dg/abi/bitfield6.C: New test. * g++.dg/abi/bitfield7.C: New test. * g++.dg/abi/bitfield8.C: New test. * g++.dg/abi/vbase11.C: New test. From-SVN: r57432
2002-09-23Daily bump.GCC Administrator3-3/+3
From-SVN: r57431
2002-09-22netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC unless -fno-pic or -fno-PIC ↵Jason Thorpe2-1/+6
is specified. * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC unless -fno-pic or -fno-PIC is specified. From-SVN: r57421
2002-09-23Rotate 6 months of ChangeLog entries into ChangeLog.7Jakub Jelinek2-21543/+21544
From-SVN: r57420
2002-09-22c-common.c (preprocessing_trad_p): Define.John David Anglin16-158/+497
* c-common.c (preprocessing_trad_p): Define. * pa-hiux.h, pa-hpux.h, pa-hpux7.h (CPP_PREDEFINES): Delete. (TARGET_OS_CPP_BUILTINS, SUBTARGET_SWITCHES): Define. * pa-hpux10.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define. * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define. * pa-linux.h (CPP_PREDEFINES): Delete. (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define. * pa32-linux.h, pa64-linux.h (CPP_SPEC): Delete. * pa-osf.h, pa-pro-end.h, rtems.h (CPP_PREDEFINES): Delete. (TARGET_OS_CPP_BUILTINS): Define. * pa.h (MASK_SIO, TARGET_SIO, TARGET_PA_10): Define. (TARGET_SWITCHES): Reformat. Use N_() macro. Add SUBTARGET_SWITCHES. (SUBTARGET_SWITCHES): Provide default definition. (TARGET_OPTIONS): Reformat. Use N_() macro. (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC, CPP_64BIT_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_64BIT_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS, CPP_SPEC, CPLUSPLUS_CPP_SPEC, CPP_PREDEFINES): Delete. (TARGET_CPU_CPP_BUILTINS): Define. (TARGET_OS_CPP_BUILTINS): Define for BSD-like systems. * doc/invoke.texi (msio, mwsio): Document new hppa options. * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Document macro preprocessing_trad_p(). From-SVN: r57416
2002-09-2220020219-1.c: Add "-mdisable-indexing" option for target hppa*-*-hpux*.John David Anglin2-1/+11
* gcc.dg/20020219-1.c: Add "-mdisable-indexing" option for target hppa*-*-hpux*. Update test comment. From-SVN: r57415
2002-09-22configure.in (with_headers): Skip copy if value is "yes".Jason Thorpe2-10/+19
* configure.in (with_headers): Skip copy if value is "yes". (with_libs): Likewise. * doc/install.texi: Document behavior of --with-headers and --with-libs when arguments are omitted. From-SVN: r57411
2002-09-22dbxout.c: Follow spelling conventions.Kazu Hirata39-156/+197
* dbxout.c: Follow spelling conventions. * defaults.h: Likewise. * df.c: Likewise. * diagnostic.h: Likewise. * doloop.c: Likewise. * dwarf2out.c: Likewise. * dwarfout.c: Likewise. * emit-rtl.c: Likewise. * except.c: Likewise. * explow.c: Likewise. * expmed.c: Likewise. * expr.c: Likewise. * expr.h: Likewise. * flags.h: Likewise. * flow.c: Likewise. * fold-const.c: Likewise. * function.c: Likewise. * function.h: Likewise. * gcc.c: Likewise. * gcov-io.h: Likewise. * gcov.c: Likewise. * gcse.c: Likewise. * genattrtab.c: Likewise. * genconfig.c: Likewise. * genrecog.c: Likewise. * ggc-page.c: Likewise. * ggc.h: Likewise. * global.c: Likewise. * gthr-win32.h: Likewise. * integrate.c: Likewise. * jump.c: Likewise. * langhooks.c: Likewise. * langhooks.h: Likewise. * line-map.h: Likewise. * local-alloc.c: Likewise. * longlong.h: Likewise. * loop.c: Likewise. * loop.h: Likewise. From-SVN: r57406
2002-09-22Daily bump.GCC Administrator3-3/+3
From-SVN: r57405