Bernd Schmidt
a0a7b566f7
Better scheduling of shifts
...
From-SVN: r41458
2001-04-20 12:19:47 +00:00
Warren Levy
a6f5b6f958
natSystem.cc (getSystemTimeZone): Adjust for DST.
...
* java/lang/natSystem.cc (getSystemTimeZone): Adjust for DST.
* java/text/SimpleDateFormat.java
(indexInArray): Removed private method.
(processYear): Removed private method.
(parseLenient): Removed private method.
(parseLeadingZeros): Removed private method.
(parseStrict): Removed private method.
(expect): Added new private method.
(parse): Reverted to pre-Classpath merge version with minor fixes.
* java/util/natGregorianCalendar.cc (computeTime): Handle strict
calendars.
From-SVN: r41456
2001-04-20 09:43:52 +00:00
Alexandre Oliva
7471a1f03c
i386.c (ix86_expand_int_movcc, [...]): Sign-extend CONST_INTs.
...
* config/i386/i386.c (ix86_expand_int_movcc,
ix86_expand_strlensi_unroll_1): Sign-extend CONST_INTs.
From-SVN: r41454
2001-04-20 09:36:34 +00:00
Alexandre Oliva
99ffe40fe7
ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.228.
...
* ltconfig, ltmain.sh, ltcf-cxx.sh: Upgraded to libtool 1.4a
1.641.2.228.
From-SVN: r41452
2001-04-20 09:26:56 +00:00
Benjamin Kosnik
7cda84dc70
acconfig.h (_GLIBCPP_USE_C99): Add.
...
2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h (_GLIBCPP_USE_C99): Add.
* config.h.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
9899: 1999 support.
* aclocal.m4: Regenerate.
* configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
* configure: Regenerate.
* configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
* configure: Regenerate.
* include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
into c99.
* include/c_std/bits/std_cmath.h: Bring C99 functions into c99
namespace.
* include/c_std/bits/std_cstdlib.h: Same.
* docs/html/configopts.html: Update.
* testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
math.h
(test_c99_classify): Add.
* config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
(_ISOC99_SOURCE): Remove.
* include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
* include/bits/c++config (__STL_ASSERTIONS): Simplify.
* acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r41451
2001-04-20 08:59:25 +00:00
Geoffrey Keating
856a688433
rs6000.md (ctrsi_internal1, [...]): In the short-branch case, this insn is only 4 instructions long.
...
* config/rs6000/rs6000.md (ctrsi_internal1, ctrsi_internal2,
ctrsi_internal3, ctrsi_internal4, ctrsi_internal5,
ctrsi_internal6, ctrdi_internal1, ctrdi_internal2,
ctrdi_internal3, ctrdi_internal4, ctrdi_internal5,
ctrdi_internal6): In the short-branch case, this insn is only 4
instructions long. Reported by Reza Yazdani <reza@apple.com>.
From-SVN: r41450
2001-04-20 08:33:35 +00:00
Jakub Jelinek
24f808827a
comdat2.C: New test.
...
* g++.old-deja/g++.other/comdat2.C: New test.
* g++.old-deja/g++.other/comdat2-aux.cc: Auxiliary source for it.
From-SVN: r41449
2001-04-20 10:24:25 +02:00
Jakub Jelinek
351a0f00dc
call.c (maybe_handle_ref_bind): Copy ICS_USER_FLAG and ICS_BAD_FLAG.
...
* call.c (maybe_handle_ref_bind): Copy ICS_USER_FLAG and
ICS_BAD_FLAG.
* g++.old-deja/g++.other/overload14.C: New test.
From-SVN: r41448
2001-04-20 10:17:19 +02:00
Jakub Jelinek
881cae050a
search.c (lookup_field_r): If looking for type and non-TYPE_DECL is found...
...
* search.c (lookup_field_r): If looking for type and non-TYPE_DECL
is found, look first if name does not match the structure name.
* g++.old-deja/g++.other/lookup23.C: New test.
From-SVN: r41447
2001-04-20 10:13:59 +02:00
Jakub Jelinek
d40cd80a97
reg-stack.c (check_asm_stack_operands): Issue error if "=t" resp.
...
* reg-stack.c (check_asm_stack_operands): Issue error if "=t" resp.
"=u" is used together with "st" resp. "st(1)" clobber.
From-SVN: r41446
2001-04-20 10:06:03 +02:00
Jakub Jelinek
c0230f3744
Duh, broken perms.
...
From-SVN: r41445
2001-04-20 10:04:29 +02:00
Jakub Jelinek
43e720723f
gcse.c (gcse_main): Fix comment typo.
...
* gcse.c (gcse_main): Fix comment typo.
(delete_null_pointer_check): Likewise.
(hash_scan_set): Don't consider sets with REG_EQUIV MEM notes.
* cse.c (cse_insn): Likewise.
* function.c (fixup_var_refs_insns_with_hash): The sequence is
toplevel.
* gcc.c-torture/execute/20010403-1.c: New test.
From-SVN: r41444
2001-04-20 09:56:50 +02:00
David Billinghurst
5c8378a7a2
old-dejagnu.exp: Don't delete output of executable.
...
* lib/old-dejagnu.exp: Don't delete output of executable.
Add .exe suffix to executables.
Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r41443
2001-04-20 07:25:43 +00:00
GCC Administrator
a811ab00f3
Daily bump.
...
From-SVN: r41441
2001-04-20 07:16:09 +00:00
Zack Weinberg
4000fada38
toplev.c: Excise all code for the undocumented -dm option.
...
* toplev.c: Excise all code for the undocumented -dm option.
(float_signal): Call signal just once, unconditionally.
From-SVN: r41438
2001-04-20 03:45:51 +00:00
Geoffrey Keating
dea8be3e9f
fold-const.c (fold): Use first_rtl_op rather than TREE_CODE_LENGTH when...
...
* fold-const.c (fold): Use first_rtl_op rather than
TREE_CODE_LENGTH when looping over parameters of a tree.
Correct strange grouping in test for evaluated SAVE_EXPR.
From-SVN: r41437
2001-04-20 01:34:01 +00:00
Jeffrey A Law
fe6adb3e8d
pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
...
* config/pa/pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
* config/pa/pa.h (CPLUSPLuS_CPP_SPEC): Define.
* config/pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Truncate subspace
name at 32 total characters.
(ASM_OUTPUT_SECTION_NAME): Similarly. Also, only support placing
functions in named sections -- data items can still go into unique
sections, but they have normal names (ie $LIT$ and $DATA$).
* config/pa/som.h (SUPPORTS_INIT_PRIORITY): SOM does not support
INIT_PRIORITY.
From-SVN: r41436
2001-04-19 19:13:37 -06:00
Mark Mitchell
4188d924a3
Fix typo
...
From-SVN: r41434
2001-04-20 00:53:55 +00:00
Phil Edwards
7145b85567
Makefile.am (doxygen): Assume script is missing execute perms.
...
2001-04-19 Phil Edwards <pme@sources.redhat.com>
* Makefile.am (doxygen): Assume script is missing execute perms.
* Makefile.in: Regenerated.
* docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
From-SVN: r41432
2001-04-19 23:07:18 +00:00
Phil Edwards
01611b9f3a
Makefile.am (doxygen): Assume script is missing execute perms.
...
2001-04-19 Phil Edwards <pme@sources.redhat.com>
* Makefile.am (doxygen): Assume script is missing execute perms.
* Makefile.in: Regenerated.
* docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
From-SVN: r41431
2001-04-19 23:01:40 +00:00
Mark Mitchell
5d2ed28c27
cp-tree.h (DECL_LANGUAGE): Don't assume DECL_LANG_SPECIFIC is set.
...
* cp-tree.h (DECL_LANGUAGE): Don't assume DECL_LANG_SPECIFIC is
set.
(SET_DECL_LANGUAGE): New macro.
* decl.c (duplicate_decls): Use SET_DECL_LANGUAGE.
(pushdecl): Likewise.
(build_library_fn_1): Likewise.
(build_cp_library_fn): Likewise.
(grokfndecl): Likewise.
(grokvardecl): Mark `extern "C"' variables as having C linkage.
* decl2.c (grokclassfn): Use SET_DECL_LANGUAGE.
* lex.c (retrofit_lang_decl): Likewise.
* mangle.c (mangle_decl_string): Don't mangle the names of
variables declared with C language linkage.
* semantics.c (finish_member_declaration): Use SET_DECL_LANGUAGE.
From-SVN: r41430
2001-04-19 22:49:48 +00:00
DJ Delorie
45936a85bc
vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX to TARGET_OBJECT_SUFFIX and...
...
* config/alpha/vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
to TARGET_OBJECT_SUFFIX and TARGET_EXECUTABLE_SUFFIX.
* config/i386/cygwin.h: Likewise.
* config/i386/mingw32.h: Likewise.
* config/vax/vms.h: Likewise.
* config/i386/djgpp.h: Remove NO_AUTO_EXE_SUFFIX.
* config/alpha/xm-vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
to HOST_OBJECT_SUFFIX and HOST_EXECUTABLE_SUFFIX.
* config/i386/xm-cygwin.h: Likewise.
* config/i386/xm-djgpp.h: Likewise.
* config/i386/xm-mingw32.h: Likewise.
* config/vax/xm-vms.h: Likewise.
* mkdeps.c (deps_add_default_target): Use TARGET_OBJECT_SUFFIX
instead of OBJECT_SUFFIX.
* collect2.c (find_a_file): Look for files matching the extension
HOST_EXECUTABLE_SUFFIX instead of EXECUTABLE_SUFFIX.
* gcc.c (DEFAULT_SWITCH_CURTAILS_COMPILATION): Depend on
TARGET_EXECUTABLE_SUFFIX.
(find_a_file): Use HOST_EXECUTABLE_SUFFIX.
(make_relative_prefix): Likewise.
(convert_filename): Use TARGET_ suffixes throughout. Remove
NO_AUTO_EXE_SUFFIX.
(process_command): Likewise.
(do_spec_1): Likewise.
* java/lang.c (init_parse): Likewise.
* gcc.texi : Document four new options matching the pattern
(HOST|TARGET)_(OBJECT|EXECUTABLE)_SUFFIX. Remove documentation
for deleted macros OBJECT_SUFFIX and EXECUTABLE_SUFFIX. Remove
documentation for NO_AUTO_EXE_SUFFIX.
From-SVN: r41428
2001-04-19 16:28:05 -04:00
Mark Mitchell
57883c536c
toplev.h (struct lang_hooks): Allow decode_option to indicate that language-independent processing should not...
...
* toplev.h (struct lang_hooks): Allow decode_option to indicate
that language-independent processing should not be done.
* toplev.c (main): Adjust accordingly.
* top.c (ffe_decode_option): Do not permit language-independent
processing for -ffixed-line-length.
From-SVN: r41427
2001-04-19 19:52:17 +00:00
Mark Mitchell
13c502cdd5
rtl.texi (jump_insn): Expand on JUMP_LABEL documentation.
...
* rtl.texi (jump_insn): Expand on JUMP_LABEL documentation.
* loop.c (load_mems): Handle a NULL JUMP_LABEL for a JUMP_INSN.
From-SVN: r41424
2001-04-19 19:44:43 +00:00
Mark Mitchell
3dcaf6e0d1
mips.md (reload_outputdi): Require that operand0 be a general_operand.
...
* mips.md (reload_outputdi): Require that operand0 be a
general_operand.
From-SVN: r41423
2001-04-19 17:35:46 +00:00
David Billinghurst
d773df5ab7
* invoke.texi (-Wshadow): Clarify.
...
From-SVN: r41420
2001-04-19 15:17:30 +02:00
GCC Administrator
bf7a6aafcc
Daily bump.
...
From-SVN: r41419
2001-04-19 07:17:11 +00:00
Mark Mitchell
17e2b3cb04
loop.c (load_mems): Examine all the instructions in the loop before concluding that all jumps...
...
* loop.c (load_mems): Examine all the instructions in the loop
before concluding that all jumps branch to the first instruction
after the loop.
From-SVN: r41417
2001-04-19 02:15:46 +00:00
Christopher Faylor
9e24b9506a
* config/i386/xm-cygwin.h (CPP_SPEC): Fix typo.
...
From-SVN: r41414
2001-04-19 00:35:06 +00:00
Jim Wilson
df5da1c419
Eliminate assembler warnings found by ia64-linux bootstrap.
...
* src/ia64/unix.S: Delete unnecessary increment and decrement of loc2
to eliminate RAW DV.
From-SVN: r41411
2001-04-18 13:30:48 -07:00
Jakub Jelinek
0d692355b9
cpp.texi (-Wwhite-space): Remove.
...
* cpp.texi (-Wwhite-space): Remove.
(-Wall): -Wall does not imply -Wwhite-space.
From-SVN: r41409
2001-04-18 14:40:56 +02:00
John David Anglin
41251458b5
semantics.c (simplify_aggr_init_exprs_r): Don't restore flag_access_control from uninitialized storage.
...
* semantics.c (simplify_aggr_init_exprs_r): Don't restore
flag_access_control from uninitialized storage.
From-SVN: r41408
2001-04-18 07:55:09 +00:00
GCC Administrator
52f1c84d2d
Daily bump.
...
From-SVN: r41405
2001-04-18 07:16:09 +00:00
Zack Weinberg
ad087b92db
dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined, use it instead of blindly generating a .stabs.
...
* dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined,
use it instead of blindly generating a .stabs.
* xcoffout.h: Define DBX_OUTPUT_GCC_MARKER so we put the type
in the right place.
* xcoffout.c: Don't bother defining default for N_CATCH.
(UNKNOWN_STAB): Use internal_error.
(stab_to_sclass): Remove now-unnecessary aborts.
Remove #if 0'ed case N_BROWS. Add #ifdef N_OPT block.
From-SVN: r41404
2001-04-18 06:15:38 +00:00
Loren J. Rittle
599d54fd8e
* testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
...
From-SVN: r41402
2001-04-18 05:13:33 +00:00
Jeffrey A Law
b9c81bcb53
jump.c (mark_all_labels): Canonicalize the tail recursion label attached to CALL_PLACEHOLDER insns.
...
* jump.c (mark_all_labels): Canonicalize the tail recursion
label attached to CALL_PLACEHOLDER insns.
From-SVN: r41400
2001-04-17 21:39:19 -06:00
Kaveh R. Ghazi
2f4e671dfa
output.h (dump_flow_info, [...]): Delete redundant prototypes.
...
* output.h (dump_flow_info, free_basic_block_vars,
which_alternative): Delete redundant prototypes.
* rtl.h (bss_section): Likewise.
From-SVN: r41398
2001-04-18 03:25:37 +00:00
Benjamin Kosnik
47e982b247
map_operators.cc: Add dg-excess-errors.
...
2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
* testsuite/23_containers/set_operators.cc: Same.
* include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
default.
(__GLIBCPP__): Bump from value of last release.
* include/bits/concept_check.h: Default to off, edit comments.
* src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
* src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
* src/Makefile.in: Regenerate.
From-SVN: r41397
2001-04-18 01:06:05 +00:00
Loren J. Rittle
7848c23806
* dbxout.c (N_OPT): Define if not available from <stab.h>
...
From-SVN: r41395
2001-04-17 23:49:43 +00:00
Phil Edwards
996f4bb1cd
stl_algo.h (std::transform): Disable the check on _OutputIter for now.
...
2001-04-17 Phil Edwards <pme@sources.redhat.com>
* include/bits/stl_algo.h (std::transform): Disable the check
on _OutputIter for now.
From-SVN: r41393
2001-04-17 23:11:28 +00:00
Toon Moene
96f1c2b10d
2001-04-18 Toon Moene <toon@moene.indiv.nluug.nl>
...
* g77.f-torture/execute/short.x; Remove - Error has been fixed.
From-SVN: r41392
2001-04-17 22:53:36 +00:00
John David Anglin
5854680c2c
vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system libraries and native K&R compilers.
...
* vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system
libraries and native K&R compilers.
From-SVN: r41391
2001-04-17 17:54:22 +00:00
GCC Administrator
66bd5ac6d3
Daily bump.
...
From-SVN: r41388
2001-04-17 07:16:09 +00:00
Kaveh R. Ghazi
3ed56f8a0e
c-typeck.c (convert_arguments): Don't check for width changes with -Wtraditional.
...
* c-typeck.c (convert_arguments): Don't check for width changes
with -Wtraditional.
* invoke.texi (-Wtraditional): Update documentation.
testsuite:
* gcc.dg/wtr-conversion-1.c: Don't test for width changes.
From-SVN: r41386
2001-04-17 02:21:10 +00:00
Zack Weinberg
acb0db7b38
toplev.c (output_lang_identify): Delete.
...
* toplev.c (output_lang_identify): Delete.
(compile_file): Don't call ASM_IDENTIFY_GCC or ASM_IDENTIFY_LANGUAGE.
Don't generate gcc2_compiled. label. Don't emit a nop if profiling.
If IDENT_ASM_OP is defined, emit an .ident "GCC (GNU) <version>"
after calling ASM_FILE_END.
* dbxout.c (dbxout_init): Don't call ASM_IDENTIFY_GCC_AFTER_SOURCE.
Instead, unconditionally emit an N_OPT stab with string equal
to STABS_GCC_MARKER, which defaults to "gcc2_compiled."
* defaults.h: Don't provide default for ASM_IDENTIFY_LANGUAGE.
* config/dbxelf.h, config/freebsd.h, config/nextstep.h,
config/psos.h, config/ptx4.h, config/1750a/1750a.h,
config/alpha/alpha.h, config/alpha/elf.h, config/arc/arc.h,
config/arm/aof.h, config/arm/coff.h, config/arm/elf.h,
config/arm/linux-elf.h, config/avr/avr.h, config/d30v/d30v.h,
config/dsp16xx/dsp16xx.h, config/h8300/h8300.h,
config/i370/i370.h, config/i386/beos-elf.h,
config/i386/osf1elf.h, config/i386/osfrose.h,
config/ia64/sysv4.h, config/m68k/3b1.h, config/m68k/auxgas.h,
config/m68k/crds.h, config/m68k/hp320.h, config/m68k/m68kv4.h,
config/m68k/mot3300.h, config/m68k/news.h, config/m68k/sgs.h,
config/m68k/tower-as.h, config/mcore/mcore-elf.h,
config/mips/iris6.h, config/mips/osfrose.h,
config/mips/sni-svr4.h, config/pa/som.h, config/pdp11/pdp11.h,
config/sparc/sp64-elf.h:
Delete definitions of any or all of: ASM_IDENTIFY_GCC,
ASM_IDENTIFY_GCC_AFTER_SOURCE, and ASM_IDENTIFY_LANGUAGE.
* config/elfos.h, config/freebsd.h, config/linux.h,
config/alpha/elf.h, config/arm/linux-elf.h, config/i386/i386elf.h,
config/i386/ptx4-i.h, config/mips/gnu.h, config/mips/linux.h,
config/sparc/linux.h, config/sparc/linux64.h: Delete definitions
of ASM_FILE_START which merely emit a .version directive. Delete
definitions of ASM_FILE_END which merely emit an .ident directive.
* config/avr/avr.h, config/vax/vax.h: Delete definition of
ASM_IDENTIFY_GCC and move part of its logic into
ASM_FILE_START.
* config/i386/att.h, config/i386/gas.h, config/i386/linux.h,
config/sparc/linux-aout.h: Don't emit .version directive in
ASM_FILE_START.
* config/i386/dgux.c, config/m88k/m88k.c, config/sh/sh.c
(output_file_start): Correct comment.
* config/i386/osfrose.h: Don't emit trailing .ident directive.
* config/m68k/mot3300.h: Override STABS_GCC_MARKER to "gcc2_compiled%"
to match gdb.
* config/pa/lib2funcs.asm: Delete gcc_compiled. label.
* config/rs6000/aix.h: Correct comment.
* config/i386/i386afe.h: Delete.
* config.gcc: Remove references to i386afe.h.
* tm.texi: Delete documentation of ASM_IDENTIFY_GCC. The
other macros deleted by this patch were undocumented.
From-SVN: r41385
2001-04-16 18:30:48 +00:00
Jeffrey A Law
75d71b2f67
* pa.md (reload_outdi): Operand 0 must be a non hard register.
...
From-SVN: r41381
2001-04-16 11:57:21 -06:00
Daniel Berlin
9dab060e9d
ternary.h: New file - Ternary search tree header.
...
2001-04-15 Daniel Berlin <dan@cgsoftware.com>
* ternary.h: New file - Ternary search tree header.
2001-04-15 Daniel Berlin <dan@cgsoftware.com>
* ternary.c: New file - Ternary search tree implementation.
* Makefile.in: Add ternary.o, and ternary.c dependencies.
From-SVN: r41380
2001-04-16 15:30:17 +00:00
Jeffrey A Law
26ee120d31
pa.c (secondary_reload_class): SAR<->FP copies require a secondary register.
...
* pa.c (secondary_reload_class): SAR<->FP copies require a
secondary register.
From-SVN: r41379
2001-04-16 09:13:32 -06:00
Jeffrey A Law
3bcd50fe2a
install.texi (mips-mips-bsd): Update list of functions required to include memmove.
...
* install.texi (mips-mips-bsd): Update list of functions
required to include memmove.
* tm.texi (TARGET_MEM_FUNCTIONS): Update list of implicitly
used functions to include memmove.
From-SVN: r41377
2001-04-16 08:02:50 -06:00
GCC Administrator
c3aaa9215b
Daily bump.
...
From-SVN: r41374
2001-04-16 07:16:11 +00:00