OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years agoDaily bump.
law [Tue, 21 Nov 2000 08:45:08 +0000 (08:45 +0000)]
Daily bump.

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

23 years agoAdded.
ovidiu [Tue, 21 Nov 2000 08:32:12 +0000 (08:32 +0000)]
Added.

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

23 years agoNew test.
rth [Tue, 21 Nov 2000 07:41:32 +0000 (07:41 +0000)]
New test.

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

23 years ago * cp/parse.y (yyparse_1): Rename the parser entry point.
rth [Tue, 21 Nov 2000 07:39:52 +0000 (07:39 +0000)]
    * cp/parse.y (yyparse_1): Rename the parser entry point.

        * c-lex.c (orig_filename): New variable.
        (init_c_lex): Set it.  Move call to cpp_start_read ...
        (yyparse): ... here.  New function.
        * c-parse.in (yyparse_1): Rename the parser entry point.
        * c-tree.h: Declare it.

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

23 years ago2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 21 Nov 2000 07:32:03 +0000 (07:32 +0000)]
2000-11-20  Benjamin Kosnik  <bkoz@redhat.com>

* mkcheck.in (explanation): Don't paste output of passing compiles
into log file. Use -static. Get version info.

* testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.

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

23 years ago * expr.c (do_compare_and_jump): If op0 was replaced by promoted
jakub [Tue, 21 Nov 2000 06:55:42 +0000 (06:55 +0000)]
* expr.c (do_compare_and_jump): If op0 was replaced by promoted
integer constant, use type of op1 for comparison.

* g++.old-deja/g++.other/inline17.C: New test.

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

23 years ago2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 21 Nov 2000 06:17:15 +0000 (06:17 +0000)]
2000-11-20  Benjamin Kosnik  <bkoz@redhat.com>

* mkcheck.in (explanation): Don't paste output of passing compiles
into log file.

* testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.

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

23 years ago * mangle.c (write_name): Use <unscoped-name> for names directly in
samuel [Tue, 21 Nov 2000 04:38:08 +0000 (04:38 +0000)]
* mangle.c (write_name): Use <unscoped-name> for names directly in
function scope.
(write_unscoped_name): Accept names directly in function scope.

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

23 years ago * POTFILES.in: Add config/rs6000/xm-darwin.h.
shebs [Tue, 21 Nov 2000 03:04:44 +0000 (03:04 +0000)]
   * POTFILES.in: Add config/rs6000/xm-darwin.h.

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

23 years ago * config/rs6000/xm-darwin.h: New file, Darwin host definitions.
shebs [Tue, 21 Nov 2000 03:02:09 +0000 (03:02 +0000)]
    * config/rs6000/xm-darwin.h: New file, Darwin host definitions.
        * config/rs6000/x-darwin: New file, Darwin host fragment.
        * config.gcc (powerpc-*-darwin*): New host.
        * system.h (HAVE_DESIGNATED_INITIALIZERS):  Allow this to be
        overridden by a config file.

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

23 years ago2000-11-21 Gabriel Dos Reis <gdr@codesourcery.com>
gdr [Tue, 21 Nov 2000 00:08:02 +0000 (00:08 +0000)]
2000-11-21  Gabriel Dos Reis  <gdr@codesourcery.com>

* include/bits/std_complex.h (complex<double>): Constructor
complex<double>::complex(const complex<float>&) is not explicit;
since it is a promotion.
(complex<long double>): Constructors taking complex<float> and
complex<double> are not explicit.

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

23 years ago*** empty log message ***
dlindsay [Tue, 21 Nov 2000 00:05:05 +0000 (00:05 +0000)]
*** empty log message ***

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

23 years ago * gcc.dg/cpp/paste2.c: Update test.
neil [Tue, 21 Nov 2000 00:00:50 +0000 (00:00 +0000)]
    * gcc.dg/cpp/paste2.c: Update test.
        * objc/execute/paste.m: New test.

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

23 years ago * cppmacro.c (paste_tokens): Rename from paste_payloads.
neil [Mon, 20 Nov 2000 23:59:26 +0000 (23:59 +0000)]
    * cppmacro.c (paste_tokens): Rename from paste_payloads.
        Change token type after pasting spellings.
        (paste_all_tokens): Use it.

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

23 years ago * jv-scan.c (help): Document --complexity.
tromey [Mon, 20 Nov 2000 22:56:14 +0000 (22:56 +0000)]
* jv-scan.c (help): Document --complexity.
(options): Added --complexity.
(flag_complexity): New global.
(main): Call `report'.
* parse-scan.y (complexity): New global.
(if_then_statement, if_then_else_statement,
if_then_else_statement_nsi, switch_block_statement_group,
while_expression, do_statement, for_begin, continue_statement,
throw_statement, catch_clause, finally, method_invocation,
conditional_and_expression, conditional_or_expression,
conditional_expression): Update complexity.
(reset_report): Reset complexity.
(report): New function.

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

23 years ago * lex.c (yylex): Added STRICT_TK case.
tromey [Mon, 20 Nov 2000 22:37:22 +0000 (22:37 +0000)]
* lex.c (yylex): Added STRICT_TK case.
* parse.y (STRICT_TK): Added.
* parse-scan.y (STRICT_TK): Added.
* Make-lang.in ($(srcdir)/java/keyword.h): Added missing `\' and
`;'.  Use 4, not 3, with -k option.  Correctly rename resulting
file.
* keyword.h: Rebuilt.
* keyword.gperf (strictfp): Added.

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

23 years ago * lex.c (yylex): Recognize floating point constants with leading
tromey [Mon, 20 Nov 2000 22:32:40 +0000 (22:32 +0000)]
* lex.c (yylex): Recognize floating point constants with leading
0.

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

23 years ago * dwarf.h (FMT_CODE): Adjust argument order; fix mapping to
rth [Mon, 20 Nov 2000 21:40:30 +0000 (21:40 +0000)]
    * dwarf.h (FMT_CODE): Adjust argument order; fix mapping to
        dwarf_subscr_data_formats bits.
        * dwarfout.c (simple_type_size_in_bits): Handle a type with
        no computed size as size zero.
        (field_byte_offset): Likewise.
        (subscript_data_attribute): Handle a range with no upper bound.

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

23 years ago2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 20 Nov 2000 21:13:45 +0000 (21:13 +0000)]
2000-11-20  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/std_complex.h: Tweaks, include cmath for abs overloads.
* src/complex.cc: Remove cmath include, formatting tweaks, remove
dead code.
* include/c/bits/std_cmath.h: Formatting tweaks.
* testsuite/26_numerics/complex_value.cc: New file, for catching
bits gleaned from libstdc++/106.

* testsuite/23_containers/vector_ctor.cc (test02): Add test from
libstdc++/102.

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

23 years ago * gansidecl.h (const): Check __STDC__ before undef'ing `const'.
ghazi [Mon, 20 Nov 2000 21:09:25 +0000 (21:09 +0000)]
* gansidecl.h (const): Check __STDC__ before undef'ing `const'.

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

23 years ago * c-typeck.c (build_conditional_expr): When merging type
jsm28 [Mon, 20 Nov 2000 19:06:19 +0000 (19:06 +0000)]
* c-typeck.c (build_conditional_expr): When merging type
qualifiers for conditional expressions between a pointer and a
pointer to a void type, merge the qualifiers on the target types
rather than the pointer type.  Remove obsolete conditioned out
code.

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

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

23 years ago * gcc.dg/cpp/macsyntx.c: Use correct command line option.
neil [Mon, 20 Nov 2000 18:28:43 +0000 (18:28 +0000)]
* gcc.dg/cpp/macsyntx.c: Use correct command line option.

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

23 years ago * c-lang.c (lang_init_options): Update call to
neil [Mon, 20 Nov 2000 18:27:32 +0000 (18:27 +0000)]
* c-lang.c (lang_init_options): Update call to
cpp_reader_init.
* cppmain.c (main): Similarly.
* fix-header.c (read_scan_file): Similarly.
* cp/lex.c (lang_init_options): Similarly.
* objc/objc-act.c (lang_init_options): Similarly.
* cppexp.c (parse_number): Only warn for unextended C89.
* cppinit.c (set_lang): New function.
(cpp_reader_init): Take a LANG argument and pass it to set_lang.
(COMMAND_LINE_OPTIONS): New option std=c++98.
(cpp_handle_option): Use set_lang.
* cpplib.h (enum_c_lang): New enumeration.  Update comments.

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

23 years ago * Makefile.in: Rebuilt.
tromey [Mon, 20 Nov 2000 18:25:41 +0000 (18:25 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (core_java_source_files): Added new files.
* java/lang/reflect/ReflectPermission.java: New class.
* java/io/FileFilter.java: From Classpath
* java/io/FilePermission.java: From Classpath.

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

23 years agocp:
nathan [Mon, 20 Nov 2000 16:13:47 +0000 (16:13 +0000)]
cp:
* lex.c (rid_to_yy, RID_EXPORT): Make unique keyword.
* parse.y (extdef): Add EXPORT reduction.
* spew.c (yylex): Don't skip export here.
testsuite:
* g++.old-deja/g++.pt/export1.C: New test.

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

23 years ago * gcc.dg/20001117-1.c: New test.
jakub [Mon, 20 Nov 2000 15:22:40 +0000 (15:22 +0000)]
* gcc.dg/20001117-1.c: New test.

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

23 years agoCorrection so -fchech-memory-usage only flushes hard registers to temp
wcohen [Mon, 20 Nov 2000 14:23:42 +0000 (14:23 +0000)]
Correction so -fchech-memory-usage only flushes hard registers to temp
memory location.  Values in psuedo registers and memory shouldn't be
affected.

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

23 years agoFix sh problems at -O0
bernds [Mon, 20 Nov 2000 14:17:59 +0000 (14:17 +0000)]
Fix sh problems at -O0

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

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

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

23 years ago * include/bits/c++config, include/bits/ios_base.h,
jsm28 [Mon, 20 Nov 2000 08:25:18 +0000 (08:25 +0000)]
* include/bits/c++config, include/bits/ios_base.h,
include/bits/std_streambuf.h: Correct spelling of "deprecated".

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

23 years ago * crtstuff.c (force_to_data): Use array size 1 not 0.
rth [Mon, 20 Nov 2000 01:48:49 +0000 (01:48 +0000)]
    * crtstuff.c (force_to_data): Use array size 1 not 0.

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

23 years ago * dwarf2out.c (simple_type_size_in_bits): Handle a type with
rth [Mon, 20 Nov 2000 01:25:59 +0000 (01:25 +0000)]
    * dwarf2out.c (simple_type_size_in_bits): Handle a type with
        no computed size as size zero.
        (field_byte_offset): Likewise.

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

23 years ago * config.gcc: Fix another typo.
jsm28 [Mon, 20 Nov 2000 00:58:02 +0000 (00:58 +0000)]
* config.gcc: Fix another typo.

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

23 years ago * c-decl.c (grokdeclarator): Support flexible array members.
rth [Sun, 19 Nov 2000 23:40:37 +0000 (23:40 +0000)]
    * c-decl.c (grokdeclarator): Support flexible array members.
        Use open-ended ranges for these and zero-length arrays.
        * c-typeck.c (push_init_level): Validate the context of
        initialization of a zero-length array.
        * tree.c (int_fits_type_p): Be prepared for missing bounds.
        * varasm.c (array_size_for_constructor): New.
        (output_constructor): Use it for arrays of unspecified length.
        * extend.texi (Zero Length): Mention C99 flexible array members.
        Document initialization in a top-level struct as valid.

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

23 years ago * decl.c (init_decl_processing): Correct name of pure virtual
mmitchel [Sun, 19 Nov 2000 21:07:24 +0000 (21:07 +0000)]
* decl.c (init_decl_processing): Correct name of pure virtual
function under the new ABI.
* rtti.c (throw_bad_cast): Likewise, for bad cast function.
(throw_bad_typeid): Likewise for bad typeid function.

* libsupc++/exception_support.cc (__throw_bad_cast): Name it
__cxa_bad_cast under the new ABI.
(__throw_bad_typeid): Name it __cxa_bad_typeid under the new ABI.
* libsupc++/pure.cc (__pure_virtual): Name it __cxa_pure_virtual
under the new ABI.

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

23 years agotweak
jason [Sun, 19 Nov 2000 19:59:18 +0000 (19:59 +0000)]
tweak

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

23 years ago * config.gcc, invoke.texi: Fix errors in spelling of "deprecated".
jsm28 [Sun, 19 Nov 2000 19:42:33 +0000 (19:42 +0000)]
* config.gcc, invoke.texi: Fix errors in spelling of "deprecated".

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

23 years ago * alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in
jsm28 [Sun, 19 Nov 2000 19:39:17 +0000 (19:39 +0000)]
* alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in
stdarg and varargs functions.

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

23 years ago * gcc.c (process_command): Define 'j' variable when
zack [Sun, 19 Nov 2000 19:30:13 +0000 (19:30 +0000)]
* gcc.c (process_command): Define 'j' variable when
MODIFY_TARGET_NAME is defined.

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

23 years ago * stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes.
rth [Sun, 19 Nov 2000 19:09:35 +0000 (19:09 +0000)]
    * stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes.

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

23 years ago * texi2pod.pl:
zack [Sun, 19 Nov 2000 19:02:50 +0000 (19:02 +0000)]
* texi2pod.pl:
  - Add real command line parsing.
  - Support @ifset, @ifclear, @set, @value, -D switch.
  - Support @sc.  Improve handling of @ref and friends.
  - Discard @subsection, @need, @node lines.
  - Un-nest font changes to match texinfo semantics.
  - Handle @{ and @}.  Oops.
  - Don't emit E<> directives inside verbatim blocks.

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

23 years agoSun Nov 19 17:29:22 2000 Matthias Klose <doko@marvin.itso-berlin.de>
toon [Sun, 19 Nov 2000 18:57:05 +0000 (18:57 +0000)]
Sun Nov 19 17:29:22 2000  Matthias Klose  <doko@marvin.itso-berlin.de>

        * g77.texi (Floating-point precision): Adjust example
        to work with glibc (>= 2.1).

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

23 years ago 2000-11-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Sun, 19 Nov 2000 18:49:32 +0000 (18:49 +0000)]
2000-11-19  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* rs6000/rs6000.c (rs6000_encode_section_info): Fix string length
calculation and allocation.

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

23 years agoSat Nov 18 13:54:49 2000 Matthias Klose <doko@cs.tu-berlin.de>
toon [Sun, 19 Nov 2000 16:19:17 +0000 (16:19 +0000)]
Sat Nov 18 13:54:49 2000  Matthias Klose  <doko@cs.tu-berlin.de>

* g77.texi (Floating-point Exception Handling): Adjust
example to work with glibc (>= 2.1).

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

23 years agoWarning fixes:
ghazi [Sun, 19 Nov 2000 13:15:51 +0000 (13:15 +0000)]
Warning fixes:

* builtins.c (c_getstr): Constify variable.
* gmon-sol2.c (_mcleanup): Comment out #endif labels.
* conflict.c (const_conflict_graph_arc): New typedef.
(arc_hash, arc_eq): Avoid needlessly casting away const-ness.
* cppmacro.c (builtin_macro): Likewise.
* dwarf2out.c (output_comp_unit): Constify variable.
* fix-header.c (v_fatal): Add ATTRIBUTE_PRINTF.
* protoize.c (IS_SAME_PATH_CHAR): Use TOUPPER, not toupper.
* ssa.c (ssa_rename_from_hash_function): Avoid needlessly casting
away const-ness.
* tradcpp.c (rescan, do_line, macroexpand, macarg): Use
ISALNUM/ISDIGIT/ISPRINT, not isalnum/isdigit/isprint.
* varasm.c (const_str_htab_hash, const_str_htab_eq,
compare_constant_1, record_constant_1): Constify.

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

23 years ago * java-tree.h (cyclic_inheritance_report): Constify.
ghazi [Sun, 19 Nov 2000 12:56:21 +0000 (12:56 +0000)]
* java-tree.h (cyclic_inheritance_report): Constify.
* parse.y (cyclic_inheritance_report): Likewise.

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

23 years ago * cplus-dem.c (grow_vect): Prototype.
ghazi [Sun, 19 Nov 2000 12:46:33 +0000 (12:46 +0000)]
* cplus-dem.c (grow_vect): Prototype.
(ada_demangle): Cast the arg of ctype macros to unsigned char.

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

23 years ago * gcc.c-torture/execute/nestfunc-3.c (main): Mask result to 32 bits.
rth [Sun, 19 Nov 2000 09:41:33 +0000 (09:41 +0000)]
    * gcc.c-torture/execute/nestfunc-3.c (main): Mask result to 32 bits.

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

23 years ago * lib/c-torture.exp (TORTURE_OPTIONS): Remove -fssa.
rth [Sun, 19 Nov 2000 09:35:54 +0000 (09:35 +0000)]
    * lib/c-torture.exp (TORTURE_OPTIONS): Remove -fssa.
        * lib/f-torture.exp (TORTURE_OPTIONS): Likewise.
        * lib/gcc-dg.exp (TORTURE_OPTIONS): Likewise.

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

23 years ago * gcc.c-torture/execute/20001009-2.c (foo): Rename from main.
rth [Sun, 19 Nov 2000 09:33:30 +0000 (09:33 +0000)]
    * gcc.c-torture/execute/20001009-2.c (foo): Rename from main.
        (main): New.  Exit cleanly.

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

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

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

23 years ago * c-decl.c (grokdeclarator): Special case the creation of an
rth [Sun, 19 Nov 2000 08:36:18 +0000 (08:36 +0000)]
    * c-decl.c (grokdeclarator): Special case the creation of an
        index for a zero-length array.
        * tree.c (build_index_type): Revert Oct 20 change.

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

23 years ago * config/avr/avr-protos.h (avr_output_addr_vec_elt): Prototype.
denisc [Sun, 19 Nov 2000 07:10:54 +0000 (07:10 +0000)]
* config/avr/avr-protos.h (avr_output_addr_vec_elt): Prototype.
* config/avr/avr.c (jump_tables_size): New variable.
(function_prologue): Initialize it as 0.
(function_epilogue): Add it to function_size.
(avr_output_addr_vec_elt): New function.  Count words in jump
tables in jump_tables_size.  Move code ...
* config/avr/avr.h (ASM_OUTPUT_ADDR_VEC_ELT): ... from here.
Call avr_output_addr_vec_elt instead.
* config/avr/avr.md (tablejump): Remove disabled define_expand.

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

23 years ago * configure.in: Make --enable-new-gxx-abi the default.
mmitchel [Sun, 19 Nov 2000 05:00:10 +0000 (05:00 +0000)]
* configure.in: Make --enable-new-gxx-abi the default.
* configure: Likewise.

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

23 years ago * decl.c (grokparms): Don't even function types of `void' type,
mmitchel [Sun, 19 Nov 2000 04:56:45 +0000 (04:56 +0000)]
* decl.c (grokparms): Don't even function types of `void' type,
either.
* mangle.c (write_type): Don't crash when confronted with the
error_mark_node.

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

23 years ago * libsupc++/exception_support.h: New header file.
mmitchel [Sun, 19 Nov 2000 04:53:38 +0000 (04:53 +0000)]
* libsupc++/exception_support.h: New header file.
* libsupc++/vec.cc: Include it.
(__cxa_vec_new2): Recatch exceptions before rethrows.
(__cxa_vec_new3): Likewise.
(__cxa_vec_ctor): Likewise.
(__cxa_vec_cctor): Likewise.
(__cxa_vec_dtor): Likewise.
(__cxa_vec_delete2): Likewise.
(__cxa_vec_delete3): Likewise.

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

23 years ago * decl.c (grokparms): Don't create parameters of `void' type.
mmitchel [Sun, 19 Nov 2000 02:34:29 +0000 (02:34 +0000)]
* decl.c (grokparms): Don't create parameters of `void' type.

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

23 years agoRemove test
mmitchel [Sun, 19 Nov 2000 02:25:03 +0000 (02:25 +0000)]
Remove test

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

23 years ago * libsupc++/exception_support.h: New header file.
mmitchel [Sun, 19 Nov 2000 02:22:53 +0000 (02:22 +0000)]
* libsupc++/exception_support.h: New header file.
* libsupc++/vec.cc: Include it.
(__cxa_vec_new2): Recatch exceptions before rethrows.
(__cxa_vec_new3): Likewise.
(__cxa_vec_ctor): Likewise.
(__cxa_vec_cctor): Likewise.
(__cxa_vec_dtor): Likewise.
(__cxa_vec_delete2): Likewise.
(__cxa_vec_delete3): Likewise.

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

23 years ago * Makefile.in (tradcpp.o, tradcif.o): Depend on tradcpp.h.
ghazi [Sun, 19 Nov 2000 00:30:05 +0000 (00:30 +0000)]
* Makefile.in (tradcpp.o, tradcif.o): Depend on tradcpp.h.

* tradcif.y: Include tradcpp.h.  Constify.  Make functions static.
Move extern function declarations to tradcpp.h.

* tradcpp.c: Likewise.

* tradcpp.h: New file.

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

23 years ago * c-decl.c (check_for_loop_decls): New function.
jsm28 [Sat, 18 Nov 2000 23:18:36 +0000 (23:18 +0000)]
* c-decl.c (check_for_loop_decls): New function.
* c-parse.in (for_init_stmt): New.
(select_or_iter_stmt): Use for_init_stmt.
* c-tree.h (check_for_loop_decls): New declaration.

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

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

23 years ago * gcc.c-torture/execute/zerolen-1.c: Rename from 20001115-1.c.
rth [Sat, 18 Nov 2000 22:35:36 +0000 (22:35 +0000)]
    * gcc.c-torture/execute/zerolen-1.c: Rename from 20001115-1.c.
        * gcc.c-torture/execute/zerolen-2.c: New.

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

23 years agoAdjust copyright years, based on other copies of the file
aoliva [Sat, 18 Nov 2000 22:06:40 +0000 (22:06 +0000)]
Adjust copyright years, based on other copies of the file

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

23 years ago* Makefile.in: Merge with src and libgcj.
aoliva [Sat, 18 Nov 2000 21:57:54 +0000 (21:57 +0000)]
* Makefile.in: Merge with src and libgcj.
(ALL_GCC_C, ALL_GCC_CXX): New macros.  Use them as dependencies of
configure-target-<library> when their configure scripts need the C
or C++ library to have already been built to work properly.
(do_proto_toplev): Set them to an empty string.

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

23 years ago* Makefile.in (HOST_LIB_PATH, TARGET_LIB_PATH): New macros.
aoliva [Sat, 18 Nov 2000 20:55:40 +0000 (20:55 +0000)]
* Makefile.in (HOST_LIB_PATH, TARGET_LIB_PATH): New macros.
(REALLY_SET_LIB_PATH): Use them.

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

23 years ago * gcc.c-torture/execute/20001115-1.c: Don't write to nonexistant
rth [Sat, 18 Nov 2000 18:46:15 +0000 (18:46 +0000)]
    * gcc.c-torture/execute/20001115-1.c: Don't write to nonexistant
        memory.

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

23 years ago* Make-lang.in (INTDOC_DEPS): New macro.
aoliva [Sat, 18 Nov 2000 15:55:38 +0000 (15:55 +0000)]
* Make-lang.in (INTDOC_DEPS): New macro.
(f/intdoc.texi): Depend on $(INTDOC_DEPS).  Build f/intdoc.
(f/intdoc): Likewise.  Add $(build_exeext).

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

23 years ago * cppinit.c: Update comments.
neil [Sat, 18 Nov 2000 12:18:09 +0000 (12:18 +0000)]
* cppinit.c: Update comments.
(cpp_reader_init): Make -imacro and -include use the standard
#include "" search path.
(do_includes): New function.

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

23 years agoDaily bump.
law [Sat, 18 Nov 2000 08:45:11 +0000 (08:45 +0000)]
Daily bump.

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

23 years ago * java/lang/reflect/AccessibleObject.java (isAccessible,
tromey [Sat, 18 Nov 2000 02:30:29 +0000 (02:30 +0000)]
* java/lang/reflect/AccessibleObject.java (isAccessible,
setAccessible): Now public.

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

23 years ago * java/lang/natString.cc: Include Locale.h.
tromey [Sat, 18 Nov 2000 02:29:13 +0000 (02:29 +0000)]
* java/lang/natString.cc: Include Locale.h.
(toUpperCase): Added `locale' argument.  Handle locale
sensitivity.
(toLowerCase): Added `locale' argument.  Handle locale
sensitivity.
(ESSET, CAPITAL_S, SMALL_I, CAPITAL_I_WITH_DOT, SMALL_DOTLESS_I,
CAPITAL_I): New defines.
* java/lang/String.java (CASE_INSENSITIVE_ORDER): Now public and
final.
Import Locale.
(toUpperCase, toLowerCase): New methods.  Variants which accept
locale now native.

* java/lang/ExceptionInInitializerError.java (printStackTrace):
New methods.

* java/util/PropertyPermission.java: Re-merged from Classpath.

* java/text/RuleBasedCollator.java (getCollationElementIterator):
New method.
* java/text/StringCharacterIterator.java: Reindented.
(setText): New method.

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

23 years ago Merge with Classpath (changes by Bryce McKinlay)
mark [Sat, 18 Nov 2000 02:00:06 +0000 (02:00 +0000)]
Merge with Classpath (changes by Bryce McKinlay)
* java/util/jar/*.java: Reformat all to unofficial standard coding
style. No changes of substance.

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

23 years ago * MAINTAINERS: Add self to Write After Approval list.
shebs [Sat, 18 Nov 2000 00:44:19 +0000 (00:44 +0000)]
   * MAINTAINERS: Add self to Write After Approval list.

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

23 years ago2000-11-18 Ben Elliston <bje@redhat.com>
bje [Sat, 18 Nov 2000 00:07:16 +0000 (00:07 +0000)]
2000-11-18  Ben Elliston  <bje@redhat.com>

* config/sh/crt1.asm (start_l): Move PC-relative move instruction
out of a branch delay slot.

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

23 years ago * config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
rth [Sat, 18 Nov 2000 00:02:26 +0000 (00:02 +0000)]
    * config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
        (ASM_SPEC): Disable and enable .mdebug based on -gstabs.
        (ASM_FILE_START): Only write out ecoff .file directive if
        emitting mdebug debugging.

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

23 years ago * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New. Detect
rth [Fri, 17 Nov 2000 23:53:38 +0000 (23:53 +0000)]
    * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New.  Detect
        whether as accepts .file/.loc and produces dwarf2 line info.
        * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Default on if
        the assembler supports it.
        * config.in, configure: Regenerate.

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

23 years ago * fixinc/mkfixinc.sh: Don't disable fixincludes for any linux*.
rth [Fri, 17 Nov 2000 23:48:15 +0000 (23:48 +0000)]
    * fixinc/mkfixinc.sh: Don't disable fixincludes for any linux*.

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

23 years ago2000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
bkoz [Fri, 17 Nov 2000 22:59:03 +0000 (22:59 +0000)]
2000-11-17  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>

* include/bits/stl_tree.h: Overload operators == and != to be able
to handle the case (const_iterator,iterator) and
(iterator,const_iterator), thus fixing libstdc++/737 and the like.
* testsuite/23_containers/map_operators.cc (test02): New tests.

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

23 years ago2000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
bkoz [Fri, 17 Nov 2000 22:58:19 +0000 (22:58 +0000)]
2000-11-17  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>

* include/bits/stl_tree.h: Overload operators == and != to be able
to handle the case (const_iterator,iterator) and
(iterator,const_iterator), thus fixing libstdc++/737 and the like.

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

23 years ago * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Correct last patch
gerald [Fri, 17 Nov 2000 22:38:49 +0000 (22:38 +0000)]
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Correct last patch
  to ``make --enable-cstdio=stdio the default''.
* libstdc++-v3/aclocal.m4: Rebuilt.
* libstdc++-v3/configure: Rebuilt.

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

23 years agoFix miscompilation of linux kernel ia64_do_signal routine.
wilson [Fri, 17 Nov 2000 22:18:25 +0000 (22:18 +0000)]
Fix miscompilation of linux kernel ia64_do_signal routine.
* config/ia64/ia64.c (emit_insn_group_barriers, case CALL_INSN):
Don't clear need_barrier is next_insn is a CALL_INSN, or has
instruction type B or UNKNOWN.

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

23 years ago * java/util/zip/*.java: Javadoc and copyright updates.
mark [Fri, 17 Nov 2000 21:42:28 +0000 (21:42 +0000)]
* java/util/zip/*.java: Javadoc and copyright updates.

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

23 years ago * java/text/CollationKey.java: Implement Comparable.
tromey [Fri, 17 Nov 2000 20:44:03 +0000 (20:44 +0000)]
* java/text/CollationKey.java: Implement Comparable.
(compareTo(Object)): New method.
* java/text/Collator.java (compare(Object,Object)): New method.
Implement Comparator.

* java/util/zip/InflaterInputStream.java (available): New method.
(close): New method.
(read, available, skip, fill): Throw exception if stream closed.
* java/util/zip/ZipInputStream.java (read, skip, readFully, fill,
getNextEntry): Throw exception if closed.

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

23 years ago2000-11-17 Phil Edwards <pme@sources.redhat.com>
pme [Fri, 17 Nov 2000 20:35:06 +0000 (20:35 +0000)]
2000-11-17  Phil Edwards  <pme@sources.redhat.com>

* acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY):  Move switch statement
  contents to...
* configure.target:  ...here.  Enable generic atomic ops, and warn.
* aclocal.m4:  Regenerated.
* configure:  Ditto.
* Makefile.in:  Ditto.
* libio/Makefile.in:  Ditto.
* libmath/Makefile.in:  Ditto.
* libsupc++/Makefile.in:  Ditto.
* src/Makefile.in:  Ditto.

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

23 years ago * cpperror.c (print_file_and_line): Don't display line number
neil [Fri, 17 Nov 2000 19:21:15 +0000 (19:21 +0000)]
    * cpperror.c (print_file_and_line): Don't display line number
        if 0.

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

23 years ago * ggc.h: Delete ggc_add_string_root and ggc_mark_string. Add
zack [Fri, 17 Nov 2000 17:31:13 +0000 (17:31 +0000)]
    * ggc.h: Delete ggc_add_string_root and ggc_mark_string.  Add
        digit_vector and digit_string.
        * stringpool.c (digit_vector): New.
        (ggc_alloc_string): Use digit_string.

        * stmt.c (digit_strings): Delete.
        (init_stmt): Do not initialize digit_strings.
        (expand_asm_operands): Use ggc.h's digit_string macro.
        * toplev.c (mark_file_stack): Delete.
        (compile_file): Don't call init_tree_codes.
        (main): No need to make the file stack a GC root.
        * tree.c (init_tree_codes): Delete.
        * tree.h (init_tree_codes): Delete.

        * c-lex.c: Don't include ggc.h.
        (mark_splay_tree_node, mark_splay_tree): Delete.
        (init_c_lex): No need to ggc_strdup string constant.  Don't add
        file_info_tree to GGC roots.
        (cb_enter_file, cb_rename_file): No need to ggc_strdup
        ip->nominal_fname.

        * Makefile.in (c-lex.o): No longer depends on $(GGC_H).

        * dbxout.c (dbxout_init),
        dwarf2out.c (dwarf2out_line),
        ggc-common.c (ggc_mark_rtx_children, ggc_mark_trees),
        varasm.c (mark_const_hash_entry, mark_pool_constant, init_varasm_once),
        xcoffout.c (xcoffout_source_file),
        i386.c (load_pic_register):
        Delete call(s) to ggc_add_string_root and/or ggc_mark_string.

        * except.c (create_rethrow_ref),
        profile.c (init_edge_profiler),
        toplev.c (compile_file),
        varasm.c (named_section, assemble_static_space,
        assemble_trampoline_template, output_constant_def, force_const_mem),
        i386.c (load_pic_register),
        ia64.c (ia64_encode_section_info),
        rs6000.c (rs6000_emit_load_toc_table, create_TOC_reference,
        rs6000_emit_prologue, rs6000_emit_epilogue),
        rs6000.md (load_toc_aix_si, load_toc_aix_di):
        Change ggc_alloc_string (var, -1) to ggc_strdup (var).

        * profile.c (output_func_start_profiler),
        tree.c (make_node),
        i386.c (load_pic_register): No need to ggc_strdup string constant.

cp:
        * lex.c (mark_impl_file_chain): Delete.
        (init_parse): Remove call to ggc_add_string_root.  No need to
        ggc_strdup a string constant.  Do not add impl_file_chain to GC
        roots.
        (handle_pragma_implementation): No need to ggc_strdup main_filename.

f:
        * lex.c (ffelex_hash_): Change ggc_alloc_string (var, -1) to
        ggc_strdup (var).

java:
        * parse.y (goal): Remove call to ggc_add_string_root.

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

23 years agoNew test - regression of ICE
zack [Fri, 17 Nov 2000 16:45:34 +0000 (16:45 +0000)]
New test - regression of ICE

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

23 years agofix thinko in last change
nathan [Fri, 17 Nov 2000 12:36:26 +0000 (12:36 +0000)]
fix thinko in last change

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

23 years ago * Makefile.in (config.status): Depend on config.gcc.
hp [Fri, 17 Nov 2000 10:42:45 +0000 (10:42 +0000)]
* Makefile.in (config.status): Depend on config.gcc.
* configure.in <for machine in $build $host $target>: Move
contents of loop into config.gcc, removing autoconf quoting.
Fix changequote bug for alpha*-*-vxworks*.
* configure: Regenerate.
* config.gcc: New.

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

23 years agocp:
nathan [Fri, 17 Nov 2000 10:24:05 +0000 (10:24 +0000)]
cp:
* pt.c (tsubst_expr, DECL_STMT): Instantiate decl's type.

testsuite:
* g++.old-deja/g++.pt/instantiate8.C: New test.

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

23 years agocp:
nathan [Fri, 17 Nov 2000 10:05:31 +0000 (10:05 +0000)]
cp:
* cp-tree.h (PARMLIST_ELLIPSIS_P): New macro.
* decl.c (grokdeclarator): Don't reject void parms here.
(require_complete_types_for_parms): Simplify, use
complete_type_or_else.
(grokparms): Remove bitrot. Remove funcdef parm.
Deal with ellipsis parm lists here.
* semantics.c (finish_parmlist): Don't append void_list_node
here. Set PARMLIST_ELLIPSIS_P.

testsuite:
* g++.old-deja/g++.other/incomplete.C: Add more tests.
* g++.old-deja/g++.pt/crash9.C: Mark new expected error.

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

23 years ago * typeck2.c (incomplete_type_error): Reorganise to avoid
nathan [Fri, 17 Nov 2000 09:48:53 +0000 (09:48 +0000)]
* typeck2.c (incomplete_type_error): Reorganise to avoid
excessive diagnostics.

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

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

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

23 years ago * stringpool.c: New file.
zack [Fri, 17 Nov 2000 06:05:31 +0000 (06:05 +0000)]
* stringpool.c: New file.
* ggc-common.c (ggc_mark_string_ptr, ggc_add_string_root): Delete.
(ggc_alloc_string): Now in stringpool.o.
* ggc-page.c, ggc-simple.c: Do not define or allocate empty_string.
* ggc.h: Delete prototype of ggc_add_string_root.  #define
ggc_add_string_root and ggc_mark_string to nothing.  Prototype
init_stringpool and stringpool_statistics.
(ggc_alloc_string): Returns a const char *.
* tree.c (hash_table, do_identifier_warnings): Delete.
(init_obstacks): Don't initialize the identifier hash table.
(get_identifier, maybe_get_identifier, start_identifier_warnings,
set_identifier_size): Now in stringpool.c.
* tree.h (struct tree_string): Constify pointer field.
(approx_sqrt): Prototype.

* Makefile.in (stringpool.o): Add rule, mention in OBJS.

* toplev.c (approx_sqrt): New function.
(compile_file): Call stringpool_statistics if mem_report is on.
(main): Call init_stringpool.

* builtins.c (c_strlen), c-decl.c (finish_decl), c-lex.c
(process_directive), c-typeck.c (constructor_asmspec, struct
initializer_stack, start_init), except.c (create_rethrow_ref),
stmt.c (digit_strings), toplev.c (decode_f_option), tree.c
(built_in_filename), varasm,c (in_named_name,
assemble_static_space, struct constant_descriptor, struct
deferred_string, struct pool_constant, force_const_mem),
i386.c (pic_label_name, global_offset_table_name), rs6000.c
(rs6000_emit_prologue, rs6000_emit_epilogue) : Constify a char *.

* c-common.c (combine_strings): Combine strings in scratch
buffer, then pass to build_string.
* optabs.c (init_libfuncs), profile.c (init_edge_profiler,
output_func_start_profiler), stmt.c (init_stmt), alpha.c
(alpha_need_linkage), arm.c (arm_encode_call_attribute),
i386.c (load_pic_register), ia64.c (ia64_encode_section_info),
rs6000.c (rs6000_encode_section_info): Create string in
scratch buffer, then pass to ggc_alloc_string.

* stmt.c (expand_asm_operands): If we must adjust the
constraint strings, do so by creating a new one, not by
modifying the old one in place.  Constify some char *s.
* config/pa/pa.c (hppa_encode_label): Drop unnecessary second
argument.  Create string in scratch buffer, then pass to
ggc_alloc_string.
* config/pa/pa-protos.h: Update prototype.
* config/pa/elf.h, config/pa/pa.h, config/pa/som.h:
hppa_encode_label takes only one argument.

* c-parse.in (if_prefix): Find the filename and line number at
$-2 and $-1 respectively.
* diagnostic.c (error_recursion): Add missing newline, use
fputs, translate string.

cp:
* lex.c (struct impl_files, internal_filename): Constify a char *.
java:
* jcf-parse.c (get_constant), parse.y (do_merge_string_cste):
Create string in scratch buffer, then pass to build_string.

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

23 years ago * include/bits/locale_facets.tcc (num_get<_CharT,
gdr [Fri, 17 Nov 2000 05:38:04 +0000 (05:38 +0000)]
    * include/bits/locale_facets.tcc (num_get<_CharT,
          _InIter>::do_get(...)): Add missing typename keyword.

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

23 years ago * java/io/PushbackReader.java: Merged with Classpath.
tromey [Fri, 17 Nov 2000 04:51:25 +0000 (04:51 +0000)]
* java/io/PushbackReader.java: Merged with Classpath.
* java/util/Arrays.java: Updated from Classpath.

* scripts/blocks.pl: New file.
* java/lang/Character.java (Subset): New class.
(UnicodeBlock): New class.

* java/lang/Math.java (toDegrees, toRadians): New methods.

* java/lang/Float.java: Implement Comparable.
(compareTo): New methods.
* java/lang/Double.java: Implement Comparable.
(compareTo): New methods.

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

23 years ago * mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not
ghazi [Fri, 17 Nov 2000 04:16:55 +0000 (04:16 +0000)]
* mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not
malloc/realloc.

* cpplib.c (glue_header_name): Likewise.

* fixincl.c (run_compiles, start_fixer): Likewise.

* fixlib.c (load_file_data): Likewise.

* mkdeps.c (munge): Likewise.

f:
* malloc.c (malloc_init): Call xmalloc, not malloc.

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

23 years ago * defaults.h [EH_FRAME_SECTION_ASM_OP] (EH_FRAME_SECTION): Remove
hp [Fri, 17 Nov 2000 01:52:43 +0000 (01:52 +0000)]
* defaults.h [EH_FRAME_SECTION_ASM_OP] (EH_FRAME_SECTION): Remove
trailing ';'.  Fix formatting.

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

23 years ago * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make
mmitchel [Fri, 17 Nov 2000 01:04:02 +0000 (01:04 +0000)]
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make
--enable-cstdio=stdio the default.  Disable wide character support
in that event.
* configure.in: Move GLIBCPP_ENABLE_C_MBCHAR after
(GLIBCPP_ENABLE_CSTDIO).
* config/c_io_stdio.h: Don't include <libio.h>, don't define
__c_wfile_type.
* aclocal.m4: Regenerated.
* configure: Likewise.
* Makefile.in: Likewise.
* libio/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* src/Makefile.in: Likewise.

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

23 years ago * mangle.c (write_special_name_constructor): Don't generate
mmitchel [Thu, 16 Nov 2000 22:36:20 +0000 (22:36 +0000)]
* mangle.c (write_special_name_constructor): Don't generate
assembler junk when confronted with an old-style constructor.
(write_special_name_destructor): Likewise.
(mangle_decl_string): Do it here instead.

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