OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years ago * config/c_io_stdio.h (streamsize): Make it a typedef for
mmitchel [Thu, 16 Nov 2000 09:26:14 +0000 (09:26 +0000)]
* config/c_io_stdio.h (streamsize): Make it a typedef for
ptrdiff_t.
(wstreamsize): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37496 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/c_io_stdio.h: Include libio.h.
mmitchel [Thu, 16 Nov 2000 09:20:48 +0000 (09:20 +0000)]
* config/c_io_stdio.h: Include libio.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37495 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
hp [Thu, 16 Nov 2000 09:12:47 +0000 (09:12 +0000)]
* cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
parameter `option'.
Do s/cplus_dem.c/cplus-dem.c/g on ChangeLog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37494 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Thu, 16 Nov 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37493 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * g++.old-deja/g++.abi/arraynew.C: Use `std' where necessary.
mmitchel [Thu, 16 Nov 2000 04:14:37 +0000 (04:14 +0000)]
* g++.old-deja/g++.abi/arraynew.C: Use `std' where necessary.
* g++.old-deja/g++.abi/cxa_vec.C: Likewise.
* g++.old-deja/g++.abi/ptrflags.C: Likewise.
* g++.old-deja/g++.abi/vmihint.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37492 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
mmitchel [Thu, 16 Nov 2000 01:44:03 +0000 (01:44 +0000)]
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
* src/Makefile.am (libstdc___la_LIBADD): Use it.
* aclocal.m4: Regenerated.
* configure: Likewise.
* Makefile.in: Likewise.
* libio/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* src/Makfile.in: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37491 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * mkcheckin.in: Move check for bash version 2 later in the file.
mmitchel [Thu, 16 Nov 2000 01:03:20 +0000 (01:03 +0000)]
* mkcheckin.in: Move check for bash version 2 later in the file.

* include/bits/basic_string.h (basic_string::_Rep::_S_max_size):
Make it const.
(basic_string::_Rep::_S_terminal): Likewise.
* include/bits/string.tcc (basic_string::_Rep::_S_max_size):
Likewise.
(basic_string::_Rep::_S_terminal): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37490 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago Fix ChangeLog entry: cplus-dem.c instead of cplus_dem.c
gerald [Wed, 15 Nov 2000 23:03:52 +0000 (23:03 +0000)]
Fix ChangeLog entry: cplus-dem.c instead of cplus_dem.c

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37489 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-11-15 David Billinghurst <David.Billinghurst@riotinto.com>
pme [Wed, 15 Nov 2000 20:08:59 +0000 (20:08 +0000)]
2000-11-15  David Billinghurst  <David.Billinghurst@riotinto.com>

* mkcheck.in:  Add function size_command() for irix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37488 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cpplib.c (start_directive, end_directive): New functions.
neil [Wed, 15 Nov 2000 19:25:22 +0000 (19:25 +0000)]
    * cpplib.c (start_directive, end_directive): New functions.
        (_cpp_handle_directive, run_directive): Use them.
        (_cpp_handle_directive): Don't -Wtraditional on indented
        null directives.
        (_cpp_push_buffer): Don't re-clear was_skipping.
        * cpplib.h (struct cpp_reader): New member la_saved.
        * cppmacro.c (cpp_get_token): Don't interpret _Pragma in
        directives.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37487 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gcc.dg/cpp/_Pragma1.c: Update.
neil [Wed, 15 Nov 2000 19:23:41 +0000 (19:23 +0000)]
    * gcc.dg/cpp/_Pragma1.c: Update.
        * gcc.dg/cpp/_Pragma2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37486 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * toplev.c (wrapup_global_declarations): Don't write out
mmitchel [Wed, 15 Nov 2000 18:34:29 +0000 (18:34 +0000)]
* toplev.c (wrapup_global_declarations): Don't write out
artificial static variables that aren't needed.

* decl.c (wrapup_globals_for_namespace): Don't mark things
TREE_ASM_WRITTEN when they're not.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37485 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-11-15 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 15 Nov 2000 18:26:42 +0000 (18:26 +0000)]
2000-11-15  Toon Moene  <toon@moene.indiv.nluug.nl>

* libI77/configure.in: See if `mkstemp' is available.
* libI77/configure: Regenerate.
* libI77/open.c: Use `mkstemp' to create scratch
file atomically.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37484 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cplus_dem.c: Eliminate use of DEFUN, it is obsolete and cannot
gerald [Wed, 15 Nov 2000 17:35:20 +0000 (17:35 +0000)]
* cplus_dem.c: Eliminate use of DEFUN, it is obsolete and cannot
be used in GCC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37483 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoWorkaround for Itanium A/B step errata
bernds [Wed, 15 Nov 2000 17:29:00 +0000 (17:29 +0000)]
Workaround for Itanium A/B step errata

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37482 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * fixinc/mkfixinc.sh (fixincludes): Add *-*-beos* to list of
jason [Wed, 15 Nov 2000 15:56:59 +0000 (15:56 +0000)]
    * fixinc/mkfixinc.sh (fixincludes): Add *-*-beos* to list of
        machines for which fixincludes is not needed.
        * config/i386/x-beos (STMP_FIXPROTO): Don't run fixproto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37481 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * diagnostic.c (finish_abort): New fn.
jason [Wed, 15 Nov 2000 15:50:51 +0000 (15:50 +0000)]
    * diagnostic.c (finish_abort): New fn.
        (fancy_abort, error_recursion): Use it.
        * toplev.c (crash_signal): Likewise.
        * diagnostic.h: Declare it.

        * typeck2.c (friendly_abort): Uncount the error before handing
        off to fancy_abort.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37480 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-11-13 Andrew Haley <aph@redhat.com>
aph [Wed, 15 Nov 2000 14:39:14 +0000 (14:39 +0000)]
2000-11-13  Andrew Haley  <aph@redhat.com>

        * tree.c (build_type_no_quals): New function.
        * tree.h (build_type_no_quals): Declare.
        * c-common.c (c_get_alias_set): When considering type
        compatibility for pointer types, ignore cv-qualifiers anywhere in
        a pointer chain.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37479 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agocp/
nathan [Wed, 15 Nov 2000 11:59:07 +0000 (11:59 +0000)]
cp/
* typeck.c (lookup_anon_field): Cope with qv qualifiers.
testsuite/
* g++.old-deja/g++.other/anon5.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37478 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoCorrect style of last entry
hp [Wed, 15 Nov 2000 11:58:16 +0000 (11:58 +0000)]
Correct style of last entry

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37477 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoCorrect date and style of last entry
hp [Wed, 15 Nov 2000 11:57:23 +0000 (11:57 +0000)]
Correct date and style of last entry

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37476 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cplus_dem.c: Add gnat demangler. Add java to demangle style
hp [Wed, 15 Nov 2000 11:54:53 +0000 (11:54 +0000)]
* cplus_dem.c: Add gnat demangler.  Add java to demangle style
list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37475 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * demangle.h: Add gnat and java demangle styles.
hp [Wed, 15 Nov 2000 11:52:30 +0000 (11:52 +0000)]
* demangle.h: Add gnat and java demangle styles.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37474 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * regrename.c (scan_rtx_rtx): Skip to the next chain on
grahams [Wed, 15 Nov 2000 11:07:44 +0000 (11:07 +0000)]
    * regrename.c (scan_rtx_rtx): Skip to the next chain on
        encountering a terminated chain.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37473 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Wed, 15 Nov 2000 08:45:08 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37472 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * class.c (build_vtbl_initializer): Fix typo in comment.
mmitchel [Wed, 15 Nov 2000 05:07:03 +0000 (05:07 +0000)]
* class.c (build_vtbl_initializer): Fix typo in comment.
* typeck.c (expr_sizeof): Don't crash on errors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37471 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure.in: Move check for V3 above check for C++ header-file
mmitchel [Wed, 15 Nov 2000 04:40:30 +0000 (04:40 +0000)]
* configure.in: Move check for V3 above check for C++ header-file
directory.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37470 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Tue, 14 Nov 2000 21:05:05 +0000 (21:05 +0000)]
2000-11-14  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to
initial value.
(GLIBCPP_EXPORT_INCLUDES): Only export TOPLEVEL_INCLUDES if
building a canadian cross. This should fix the remaining java
build issues.
* aclocal.m4: Regenerate.
* configure: Regenerate.

* include/bits/c++config (__GLIBCPP__): Set release version for 2.91.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37469 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoFix cc1plus specs breakage.
wilson [Tue, 14 Nov 2000 20:42:43 +0000 (20:42 +0000)]
Fix cc1plus specs breakage.
* lang-specs.h: Add %2 after %(cc1_options).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37468 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/v850/v850.c: Remove obstacks.
dj [Tue, 14 Nov 2000 19:45:29 +0000 (19:45 +0000)]
* config/v850/v850.c: Remove obstacks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37467 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gcc.dg/c90-const-expr-2.c, gcc.dg/c99-const-expr-2.c: Add more
jsm28 [Tue, 14 Nov 2000 19:34:22 +0000 (19:34 +0000)]
* gcc.dg/c90-const-expr-2.c, gcc.dg/c99-const-expr-2.c: Add more
tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37466 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/avr/avr.c (avr_case_values_threshold): New.
denisc [Tue, 14 Nov 2000 19:05:41 +0000 (19:05 +0000)]
* config/avr/avr.c (avr_case_values_threshold): New.
(avr_override_options): Set it depending on options, make it large
when not optimizing to work around "unable to generate reloads".

* config/avr/avr.h (TARGET_SWITCHES): Add -mno-tablejump option.
(EXTRA_SECTION_FUNCTIONS): Make the .progmem.gcc_sw_table section
executable if not AVR_MEGA.  Make sure jump tables are word-aligned.
(JUMP_TABLES_IN_TEXT_SECTION): Define as 0, not 1.
(ASM_OUTPUT_ADDR_VEC_ELT): Optimize, use "rjmp" if not AVR_MEGA.
(avr_case_values_threshold): Declare as extern int.
(CASE_VALUES_THRESHOLD): Define as avr_case_values_threshold.

* config/avr/avr.md (tablejump): Removed.
(*tablejump_rjmp): New for jump tables made from "rjmp" instructions.
(*tablejump_lib, *tablejump_enh, *tablejump): Change to expect the
index in the table, not multiplied by 2.
(casesi): Change to match the above insns.  Always enable.

* config/avr/libgcc.S (__tablejump__): Rename to __tablejump2__.
Change to expect the word address of the table, multiply it by 2
here and not in the caller.  Change "adiw" to faster "inc".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37465 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.in: Rebuilt.
tromey [Tue, 14 Nov 2000 18:59:10 +0000 (18:59 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (libgcj.zip): Fail immediately if compilation fails
and -k not given.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37464 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoTest which exposed a gcse bug at one time.
dlindsay [Tue, 14 Nov 2000 18:42:53 +0000 (18:42 +0000)]
Test which exposed a gcse bug at one time.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37463 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cppexp.c (parse_defined): Call cpp_get_token not
neil [Tue, 14 Nov 2000 18:32:06 +0000 (18:32 +0000)]
* cppexp.c (parse_defined): Call cpp_get_token not
_cpp_get_token.
(lex): Similarly.
* cpplex.c (cpp_output_line): Similarly.
* cpplib.c (glue_header_name, do_line, do_ident,
parse_answer, parse_assertion): Similarly.
(_cpp_handle_diretive): Don't save to lookaheads
when processing directives.
* cppmacro.c (parse_arg, expand_arg): Call cpp_get_token not
_cpp_get_token.
(funlike_invocation_p): Don't save to lookaheads
when pre-expanding arguments.
(_cpp_get_token): Delete.
(cpp_get_token): Merge contents of _cpp_get_token.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37462 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * builtins.c (expand_builtin_setjmp): Set
jakub [Tue, 14 Nov 2000 18:05:45 +0000 (18:05 +0000)]
* builtins.c (expand_builtin_setjmp): Set
current_function_calls_setjmp.
(expand_builtin_longjmp): Set current_function_calls_longjmp.

* config/sparc/sparc.md (builtin_setjmp_setup): New expand.
(do_builtin_setjmp_setup): New insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37461 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * tree.c (get_unwidened): Use host_integerp and tree_low_cst.
kenner [Tue, 14 Nov 2000 17:58:01 +0000 (17:58 +0000)]
* tree.c (get_unwidened): Use host_integerp and tree_low_cst.
(int_fits_type_p): For variable bounds, call force_fit_type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37460 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * varasm.c (struct deferred_string): New structure.
jakub [Tue, 14 Nov 2000 17:37:19 +0000 (17:37 +0000)]
* varasm.c (struct deferred_string): New structure.
(const_str_htab): New variable.
(STRHASH): New macro.
(mark_const_str_htab_1, mark_const_str_htab, const_str_htab_hash,
constr_str_htab_eq, const_str_htab_del): New functions.
(output_constant_def): Add DEFER argument, defer string
constants until mark_constant_pool time if requested.
(mark_constant_pool): Walk the insn chain even if const_str_htab is
not empty.
(mark_constants): If a SYMBOL_REF for deferred string is found,
output it and remove from hash table.
(output_addressed_constants): Set DEFER to 0 in call to
output_constant_def.
* rtl.h (STRING_POOL_ADDRESS_P): Define.
(output_constant_def): Adjust prototype.
* expr.c (expand_expr): Set DEFER to 1 in call to output_constant_def.

* gcc.c-torture/execute/20000801-4.c: Make sure the second string is
output.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37459 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* optabs.c (expand_complex_ab):: Use overflow-trapping optabs for
cchavva [Tue, 14 Nov 2000 17:30:02 +0000 (17:30 +0000)]
* optabs.c (expand_complex_ab):: Use overflow-trapping optabs for
signed types if flag_trapv.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37458 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Tue, 14 Nov 2000 17:23:49 +0000 (17:23 +0000)]
2000-11-14  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to
initial value.
* aclocal.m4: Regenerate.
* configure: Regenerate.

* include/bits/c++config (__GLIBCPP__): Set release version for 2.91.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37457 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoNew option --target-help.
cchavva [Tue, 14 Nov 2000 17:06:06 +0000 (17:06 +0000)]
New option --target-help.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37456 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * tradcpp.c, tradcif.y: Update FSF mailing address, delete
zack [Tue, 14 Nov 2000 17:01:35 +0000 (17:01 +0000)]
* tradcpp.c, tradcif.y: Update FSF mailing address, delete
reference to GPLv1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37455 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-11-14 Phil Edwards <pme@sources.redhat.com>
pme [Tue, 14 Nov 2000 16:38:02 +0000 (16:38 +0000)]
2000-11-14  Phil Edwards  <pme@sources.redhat.com>

* mkcheck.in:  On a platform where we don't know how to extract
  section sizes, just set them to zero.  Use old method of reading
  file contents.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37454 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/c_io_stdio.h: Don't define __c_wfile_type
gdr [Tue, 14 Nov 2000 13:49:27 +0000 (13:49 +0000)]
    * config/c_io_stdio.h: Don't define __c_wfile_type
        when _GLIBCPP_USE_WCHAR_T is not defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37453 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-common.h (CTI_C_SIZE_TYPE): Update comment.
jsm28 [Tue, 14 Nov 2000 10:38:01 +0000 (10:38 +0000)]
* c-common.h (CTI_C_SIZE_TYPE): Update comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37452 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * varasm.c (struct varasm_status): Change x_const_rtx_sym_hash_table
jakub [Tue, 14 Nov 2000 10:31:32 +0000 (10:31 +0000)]
* varasm.c (struct varasm_status): Change x_const_rtx_sym_hash_table
to array of pool_constnat pointers.
(struct pool_constant): Add next_sym and label members.
(struct pool_sym): Remove.
(init_varasm_status): Change pool_sym into pool_constant.
(mark_pool_constant): Mark pc->label string as well.
(mark_pool_sym_hash_table): Remove.
(mark_varasm_status): Remove it from caller as well.
(free_varasm_status): Don't free pool_sym structures.
(force_const_mem): Don't allocate pool_sym structure, instead
fill pool->label and chain it into rtx_sym hash table.
(find_pool_constant, mark_constant_pool): Use pool_constant instead
of pool_sym.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37451 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * reload1.c (emit_input_reload_insns): Honour forcing of constants
jakub [Tue, 14 Nov 2000 10:23:38 +0000 (10:23 +0000)]
* reload1.c (emit_input_reload_insns): Honour forcing of constants
into memory by PREFERRED_RELOAD_CLASS NO_REGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37450 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoMichael Matz <matzmich@cs.tu-berlin.de>
rth [Tue, 14 Nov 2000 09:58:40 +0000 (09:58 +0000)]
Michael Matz  <matzmich@cs.tu-berlin.de>

        * dominance.c: New file.
        * Makefile.in (OBJS): Add dominance.o.

        * flow.c (compute_flow_dominators): Remove.
        (compute_immediate_dominators): Remove.
        (compute_immediate_postdominators): Remove.
        * basic-block.h: Remove their prototypes.
        (calculate_dominance_info): Add prototype.

        * dce.c (eliminate_dead_code): Change calls to above functions.
        Don't compute dominators but only immediate dominators.
        * flow.c (flow_loops_find): Change callers.
        * gcse.c (compute_code_hoist_data): Likewise.
        * haifa-sched.c (schedule_insns): Likewise.
        * ifcvt.c (if_convert): Likewise.
        * ssa.c (convert_to_ssa): Likewise, and only compute immediate
        dominators.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37449 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * stmt.c (warn_if_unused_value): Don't warn if the expression
rth [Tue, 14 Nov 2000 09:51:46 +0000 (09:51 +0000)]
    * stmt.c (warn_if_unused_value): Don't warn if the expression
        has side effects.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37448 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-typeck.c (c_sizeof): Fold result to c_size_type_node.
rth [Tue, 14 Nov 2000 09:47:13 +0000 (09:47 +0000)]
    * c-typeck.c (c_sizeof): Fold result to c_size_type_node.
        (c_sizeof_nowarn, c_alignof, c_alignof_expr): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37447 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * typeck.c (c_sizeof): Be strict about casting result value
rth [Tue, 14 Nov 2000 09:46:55 +0000 (09:46 +0000)]
    * typeck.c (c_sizeof): Be strict about casting result value
        back to c_size_type_node.
        (expr_sizeof, c_sizeof_nowarn, c_alignof): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37446 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Tue, 14 Nov 2000 08:45:08 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37445 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-11-13 Phil Edwards <pme@sources.redhat.com>
pme [Mon, 13 Nov 2000 23:49:41 +0000 (23:49 +0000)]
2000-11-13  Phil Edwards  <pme@sources.redhat.com>

* acinclude.m4 (GLIBCPP_CHECK_TARGET):  New macro, replacing
  GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target.
  (GLIBCPP_CONFIGURE):  Call new macro here.
* configure.host:  Cleanup.
* configure.in:  Remove those two macros.
* configure.target:  New file.
* aclocal.m4:  Regenerated.
* configure:  Ditto.
* Makefile.in:  Ditto.
* libio/Makefile.in:  Ditto.
* libmath/Makefile.in:  Ditto.
* libsupc++/Makefile.in:  Ditto.
* src/Makefile.in:  Ditto.

* mkcheck.in:  Use libtool.  Split things out into functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37443 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-11-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
bkoz [Mon, 13 Nov 2000 23:38:41 +0000 (23:38 +0000)]
2000-11-12  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * Makefile.am (tmp-libstdsc++.INC:): Do not use -I$(top_builddir).
        * Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37442 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-11-12 David Edelsohn <edelsohn@gnu.org>
bkoz [Mon, 13 Nov 2000 22:32:05 +0000 (22:32 +0000)]
2000-11-12  David Edelsohn  <edelsohn@gnu.org>

        * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add test for
        libiconv.a providing wchar_t support functions.
* aclocal.m4: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37441 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago 2000-11-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Mon, 13 Nov 2000 22:20:03 +0000 (22:20 +0000)]
2000-11-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* loop.c (basic_induction_var): Revert accidental checkin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37440 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-11-12 Loren J. Rittle <ljrittle@acm.org>
bkoz [Mon, 13 Nov 2000 22:14:18 +0000 (22:14 +0000)]
2000-11-12  Loren J. Rittle  <ljrittle@acm.org>

        * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle FreeBSD.
        * aclocal.m4, configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37439 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-lex.c (cb_leave_file): Harmonize conditions and order of
hp [Mon, 13 Nov 2000 21:22:10 +0000 (21:22 +0000)]
* c-lex.c (cb_leave_file): Harmonize conditions and order of
statements to those of process_directive for (action == act_pop).

* collect2.c (main): Pass on -B options from COLLECT_GCC_OPTIONS.

* local-alloc.c (equiv_init_movable_p): References to CC0 are not
movable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37438 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-11-12 Brent Verner <brent@rcfile.org>
bkoz [Mon, 13 Nov 2000 21:04:54 +0000 (21:04 +0000)]
2000-11-12  Brent Verner  <brent@rcfile.org>

        * include/c_std/bits/wrap_langinfo.h: New file.
        * include/c_std/langinfo.h: New file.
        * include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
CODESET from _C_legacy::CODESET if using shadow headers.
* src/Makefile.am: Add new files.
* src/Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37437 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-11-12 Brent Verner <brent@rcfile.org>
bkoz [Mon, 13 Nov 2000 20:58:46 +0000 (20:58 +0000)]
2000-11-12  Brent Verner  <brent@rcfile.org>

        * include/c_std/bits/wrap_langinfo.h: New file.
        * include/c_std/langinfo.h: New file.
        * include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
CODESET from _C_legacy::CODESET if using shadow headers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37436 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-parse.in (stmts_and_decls): Deprecate use of label at end of
jsm28 [Mon, 13 Nov 2000 20:00:22 +0000 (20:00 +0000)]
* c-parse.in (stmts_and_decls): Deprecate use of label at end of
compound statement.

testsuite:
* gcc.dg/wtr-label-1.c, gcc.dg/990214-1.c: Add semicolons after
labels at end of compound statements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37435 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cpplex.c (_cpp_lex_token): CPP_COMMENT and true CPP_EOF
neil [Mon, 13 Nov 2000 18:40:37 +0000 (18:40 +0000)]
    * cpplex.c (_cpp_lex_token): CPP_COMMENT and true CPP_EOF
        cases return without MI check.
        * cpplib.c (do_diagnostic): Take boolean of whether to
        print the directive name.
        (do_error, do_warning): Update.
        (do_pragma_dependency): Use it.
        * cpplib.h (VARARGS_FIRST): Delete.
        (struct cpp_token): Delete integer.
        * cppmacro.c (enter_macro_context): Move disabled check
        to _cpp_get_token.
        (_cpp_get_token): Simplify into a single loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37434 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoFix minor typo.
rearnsha [Mon, 13 Nov 2000 17:12:25 +0000 (17:12 +0000)]
Fix minor typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37433 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* configure.in: Use 'test -f' not '[ -e'.
rearnsha [Mon, 13 Nov 2000 16:56:57 +0000 (16:56 +0000)]
* configure.in:  Use 'test -f' not '[ -e'.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37432 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/mn10300/mn10300.md (store_movm): Note which registers are
dj [Mon, 13 Nov 2000 16:37:09 +0000 (16:37 +0000)]
* config/mn10300/mn10300.md (store_movm): Note which registers are
really used or clobbered.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37431 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gcc.c-torture/execute/loop-7.c: New test.
jakub [Mon, 13 Nov 2000 14:41:38 +0000 (14:41 +0000)]
* gcc.c-torture/execute/loop-7.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37430 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-parse.in (ends_in_label): Remove from %union and %type.
jsm28 [Mon, 13 Nov 2000 14:20:04 +0000 (14:20 +0000)]
* c-parse.in (ends_in_label): Remove from %union and %type.
(decls, stmts, lineno_stmt_or_labels, xstmts,
lineno_stmt_or_label, stmt_or_label): Remove.
(stmts_and_decls, lineno_stmt_decl_or_labels_ending_stmt,
lineno_stmt_decl_or_labels_ending_decl,
lineno_stmt_decl_or_labels_ending_label,
lineno_stmt_decl_or_labels_ending_error,
lineno_stmt_decl_or_labels, compstmt_contents_nonempty,
lineno_stmt, lineno_label): New.
(compstmt_nostart): Use compstmt_contents_nonempty.

testsuite:
* gcc.dg/c99-mixdecl-1.c, gcc.dg/c90-mixdecl-1.c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37429 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-common.c (boolean_increment): New function.
jsm28 [Mon, 13 Nov 2000 14:14:44 +0000 (14:14 +0000)]
* c-common.c (boolean_increment): New function.
* c-common.h (enum c_tree_index): Add CTI_C_BOOL_TYPE,
CTI_C_BOOL_TRUE and CTI_C_BOOL_FALSE.
(c_bool_type_node, c_bool_true_node, c_bool_false_node): Define.
(boolean_increment): Declare.
* c-convert.c (convert): Allow for BOOLEAN_TYPE.
* c-decl.c (init_decl_processing): Create boolean nodes.
(finish_struct): Allow for _Bool bitfields.
* c-parse.in (reswords): Add _Bool.
(rid_to_yy): Allow for RID_BOOL.
* c-typeck.c (default_conversion): Make booleans promote to int.
(convert_arguments, build_unary_op, build_modify_expr,
convert_for_assignment): Allow for booleans.
* ginclude/stdbool.h: Make conforming to C99.

cp:
* typeck.c (build_unary_op): Use boolean_increment from
c-common.c, moving the relevant code there.

testsuite:
* gcc.dg/c99-bool-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37428 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-parse.in (c99_block_start, c99_block_end,
jsm28 [Mon, 13 Nov 2000 14:08:09 +0000 (14:08 +0000)]
* c-parse.in (c99_block_start, c99_block_end,
c99_block_lineno_labeled_stmt): New.
(simple_if, do_stmt_start): Use c99_block_lineno_labeled_stmt.
(stmt): Split off selection and iteration statements into...
(select_or_iter_stmt): New.  Use c99_block_lineno_labeled_stmt.

testsuite:
* gcc.dg/c99-scope-1.c: Remove xfail.
* gcc.dg/c99-scope-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37427 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * invoke.texi (-Wtrigraphs, -fdump-translation-unit, -save-temps,
jsm28 [Mon, 13 Nov 2000 14:02:54 +0000 (14:02 +0000)]
* invoke.texi (-Wtrigraphs, -fdump-translation-unit, -save-temps,
-time): Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37426 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* arm.md (mulsidi3adddi, umulsidi3adddi): Revert previous change.
rearnsha [Mon, 13 Nov 2000 13:58:51 +0000 (13:58 +0000)]
* arm.md (mulsidi3adddi, umulsidi3adddi): Revert previous change.
Rewrite to avoid use of match_dup.  Don't try to tie registers that
are not in the same mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37425 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * invoke.texi: Update lists of languages and suffixes supported.
jsm28 [Mon, 13 Nov 2000 13:41:46 +0000 (13:41 +0000)]
* invoke.texi: Update lists of languages and suffixes supported.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37424 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure: Provide the original toplevel configure arguments
jsm28 [Mon, 13 Nov 2000 13:39:36 +0000 (13:39 +0000)]
* configure: Provide the original toplevel configure arguments
(including $0) to subprocesses in the environment rather than
through gcc/configargs.h.

gcc:
* configure.in: Take toplevel configure arguments from the
environment to create configargs.h and substitute
gcc_config_arguments, taking account of any existing configargs.h
if reconfiguring.
* configure: Regenerate.
* gccbug.in: Include toplevel configure arguments in gccbug.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37423 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* varasm.c (struct constant_descriptor): Put CONTENTS inside a
rearnsha [Mon, 13 Nov 2000 13:35:26 +0000 (13:35 +0000)]
* varasm.c (struct constant_descriptor): Put CONTENTS inside a
union to make it well-aligned.  Update all uses.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37422 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-parse.in (initelt): Give appropriate pedantic warnings,
jsm28 [Mon, 13 Nov 2000 13:31:16 +0000 (13:31 +0000)]
* c-parse.in (initelt): Give appropriate pedantic warnings,
depending on flag_isoc99, for non-ISO syntax and for C99 syntax
outside C99 mode.
(designator): If pedantic, pedwarn for a designator specifying a
range of elements.
* c-typeck.c (set_init_index, set_init_label): Don't pedwarn for
these cases.
* extend.texi: Document the C99 syntax as the preferred syntax,
and the pre-2.5 syntax as obsolete.  Mention use of designator
lists for nested subobjects.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37421 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * MAINTAINERS: Remove references to cccp. Change C9X reference to
jsm28 [Mon, 13 Nov 2000 13:25:53 +0000 (13:25 +0000)]
* MAINTAINERS: Remove references to cccp. Change C9X reference to
C99.  Alphabetise "Write After Approval" list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37420 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * diagnostic.c (vbuild_message_string, output_do_printf, vnotice):
jsm28 [Mon, 13 Nov 2000 13:23:37 +0000 (13:23 +0000)]
* diagnostic.c (vbuild_message_string, output_do_printf, vnotice):
Add ATTRIBUTE_PRINTF.
* tradcpp.c (v_message, warning, error, fatal, error_with_line):
Add ATTRIBUTE_PRINTF*.

java:
* parse.y (issue_warning_error_from_context): Add
ATTRIBUTE_PRINTF.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37419 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Mon, 13 Nov 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37418 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * function.c (assign_parms): When calling put_var_into_stack, make
mmitchel [Mon, 13 Nov 2000 07:00:55 +0000 (07:00 +0000)]
* function.c (assign_parms): When calling put_var_into_stack, make
sure that there are no hidden pending sequences.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37417 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * builtins.c (expand_builtin): Handle BUILT_IN_INDEX and
ghazi [Mon, 13 Nov 2000 02:14:05 +0000 (02:14 +0000)]
* builtins.c (expand_builtin): Handle BUILT_IN_INDEX and
BUILT_IN_RINDEX.  Add missing checks for BUILT_IN_STRCHR and
BUILT_IN_STRRCHR.

* builtins.def (BUILT_IN_INDEX, BUILT_IN_RINDEX): New entries.

* c-common.c (c_common_nodes_and_builtins): Declare index and
rindex when nonansi builtins are allowed.

* extend.texi (index, rindex): Document new builtins.

testsuite:
* gcc.c-torture/execute/string-opt-3.c: Also test builtin rindex.
* gcc.c-torture/execute/string-opt-4.c: Also test builtin index.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37416 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure: Turn on libstdc++ V3 by default.
mmitchel [Mon, 13 Nov 2000 01:15:40 +0000 (01:15 +0000)]
* configure: Turn on libstdc++ V3 by default.

* configure.in: Turn on libstdc++ V3 by default.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37415 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * ltcf-c.sh: On Solaris, use `gcc -shared' to build a shared library
mmitchel [Mon, 13 Nov 2000 00:49:03 +0000 (00:49 +0000)]
* ltcf-c.sh: On Solaris, use `gcc -shared' to build a shared library
if we've got GCC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37414 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * include/c/bits/std_cmath.h (abs): Change extern "C" declaration
mmitchel [Mon, 13 Nov 2000 00:43:39 +0000 (00:43 +0000)]
* include/c/bits/std_cmath.h (abs): Change extern "C" declaration
of `abs (double)' to ...
(fabs): this.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37413 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/os/solaris/solaris2.7/bits/os_defines.h: Define
mmitchel [Mon, 13 Nov 2000 00:25:40 +0000 (00:25 +0000)]
* config/os/solaris/solaris2.7/bits/os_defines.h: Define
__EXTENSIONS__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37412 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agogeneralize the release script a bit
korbb [Mon, 13 Nov 2000 00:25:21 +0000 (00:25 +0000)]
generalize the release script a bit

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37411 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * fixinc/mkfixinc.sh: Use the ordinary fixincludes on Solaris.
mmitchel [Mon, 13 Nov 2000 00:19:37 +0000 (00:19 +0000)]
* fixinc/mkfixinc.sh: Use the ordinary fixincludes on Solaris.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37410 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * reload1.c (set_label_offsets): Go inside of PARALLELs.
jakub [Sun, 12 Nov 2000 22:52:35 +0000 (22:52 +0000)]
* reload1.c (set_label_offsets): Go inside of PARALLELs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37409 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * invoke.texi: Clean up option summary.
jsm28 [Sun, 12 Nov 2000 19:17:59 +0000 (19:17 +0000)]
* invoke.texi: Clean up option summary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37408 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoFix comment formating, and adjust sequence of #include headers.
nickc [Sun, 12 Nov 2000 18:40:22 +0000 (18:40 +0000)]
Fix comment formating, and adjust sequence of #include headers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37407 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure.in: Fix filds test.
espie [Sun, 12 Nov 2000 14:06:23 +0000 (14:06 +0000)]
* configure.in: Fix filds test.
* configure: Regen.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37406 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * jump.c (delete_computation): Don't assume that just becuase an
mmitchel [Sun, 12 Nov 2000 13:01:37 +0000 (13:01 +0000)]
* jump.c (delete_computation): Don't assume that just becuase an
instruction sets a register, that register is dead.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37405 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cppexp.c: Don't worry about pfile->skipping.
neil [Sun, 12 Nov 2000 11:46:21 +0000 (11:46 +0000)]
    * cppexp.c: Don't worry about pfile->skipping.
        * cpplib.c (struct if_stack): Make was_skipping unsigned char.
        (cpp_handle_directive): Save pfile->skipping in struct cpp_buffer
        for handled directives.
        (skip_rest_of_line): Use _cpp_lex_token after popping contexts
        and releasing lookaheads.
        (do_ifdef, do_ifndef, do_if): Use buffer->was_skipping.
        (do_else, do_elif, push_conditional): Update logic.
        (do_endif): Set buffer->was_skipping rather than pfile->skipping.
        (unwind_if_stack): Inline into cpp_pop_buffer.
        (cpp_push_buffer): Clear ifs->was_skipping for cpp_handle_directive.
        * cpplex.c (_cpp_lex_token): Clear skipping on EOF.  Handle
        multiple-include optimisation.
        * cpplib.h (struct cpp_buffer): New member was_skipping.
        * cppmacro.c (_cpp_get_token): Loop whilst pfile->skipping.  This
        works because skipping == 0 in directives.
        (_cpp_release_lookahead): Renamed from release_lookahead.
        (cpp_get_token): No need to check skipping as _cpp_get_token does
        this for us.  No need to handle MI optimisation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37404 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Sun, 12 Nov 2000 08:45:08 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37403 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr
mmitchel [Sun, 12 Nov 2000 04:16:07 +0000 (04:16 +0000)]
* fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr
declarations that use `__MATH_EXCEPTION' in their prototypes, too.
* fixinc/fixincl.x: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37402 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoavoid commenting out #endifs
korbb [Sun, 12 Nov 2000 03:37:33 +0000 (03:37 +0000)]
avoid commenting out #endifs

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37401 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
mmitchel [Sun, 12 Nov 2000 03:27:10 +0000 (03:27 +0000)]
* include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
when _GLIBCPP_USE_WCHAR_T is not defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37400 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure.in: Don't add $outputs to all_lang_makefiles. Add
zack [Sun, 12 Nov 2000 02:09:33 +0000 (02:09 +0000)]
* configure.in: Don't add $outputs to all_lang_makefiles.  Add
$srcdir/$s/Makefile.in if it exists.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37399 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * fixinc/mkfixinc.sh: Use the ordinary fixincludes on IRIX.
mmitchel [Sun, 12 Nov 2000 01:50:39 +0000 (01:50 +0000)]
* fixinc/mkfixinc.sh: Use the ordinary fixincludes on IRIX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37398 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gcc_build: Add -o option for setting the objdir to use.
mmitchel [Sun, 12 Nov 2000 00:29:37 +0000 (00:29 +0000)]
* gcc_build: Add -o option for setting the objdir to use.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37397 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * function.c (assign_parms): If TREE_ADDRESSABLE is set, try to
jason [Sun, 12 Nov 2000 00:11:47 +0000 (00:11 +0000)]
    * function.c (assign_parms): If TREE_ADDRESSABLE is set, try to
        give the parm a register and then call put_var_into_stack.
        * stmt.c (expand_decl): Likewise.

cp/
        * typeck.c (mark_addressable): Don't call put_var_into_stack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37396 138bc75d-0d04-0410-961f-82ee72b054a4