platform/upstream/linaro-gcc.git
24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 years agoFix ia64 mask bit conflict from parallel development.
wilson [Thu, 16 Nov 2000 21:35:16 +0000 (21:35 +0000)]
Fix ia64 mask bit conflict from parallel development.
* config/ia64/ia64.h (MASK_INLINE_DIV_LAT, MASK_INLINE_DIV_THR):
Shift masks left by one to avoid conflict.

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

24 years ago * java/beans/PropertyChangeSupport.java (propertyListeners): Made
warrenl [Thu, 16 Nov 2000 21:34:48 +0000 (21:34 +0000)]
* java/beans/PropertyChangeSupport.java (propertyListeners): Made
transient.
(listeners): Made transient.
(source): Renamed from 'bean'.
(children): New field for serialization.
(propertyChangeSupportSerializedDataVersion): Ditto.
(serialVersionUID): Ditto.
(writeObject): New serialization method.
(readObject): New serialization method.
* java/beans/VetoableChangeSupport.java (propertyListeners): Made
transient.
(listeners): Made transient.
(source): Renamed from 'bean'.
(children): New field for serialization.
(vetoableChangeSupportSerializedDataVersion): Ditto.
(serialVersionUID): Ditto.
(writeObject): New serialization method.
(readObject): New serialization method.
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Fixed assert
to allow constructor to have a return type (i.e. the class that the
constructor constructs).

Serialization mods.

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

24 years agoFix ia64 C++ gprel link errors.
wilson [Thu, 16 Nov 2000 20:01:21 +0000 (20:01 +0000)]
Fix ia64 C++ gprel link errors.
* config/ia64/ia64.c (ia64_encode_section_info): Disallow decls with
DECL_EXTERNAL set.

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

24 years agoAdd a couple of new test cases for nested function support.
nickc [Thu, 16 Nov 2000 19:45:23 +0000 (19:45 +0000)]
Add a couple of new test cases for nested function support.

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

24 years agoFix nested function support for the ARM
nickc [Thu, 16 Nov 2000 19:23:15 +0000 (19:23 +0000)]
Fix nested function support for the ARM

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

24 years ago * config/c_io_stdio.h: Include stddef.h.
gerald [Thu, 16 Nov 2000 17:45:11 +0000 (17:45 +0000)]
* config/c_io_stdio.h: Include stddef.h.

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

24 years agoNew testcase
bernds [Thu, 16 Nov 2000 16:19:37 +0000 (16:19 +0000)]
New testcase

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

24 years agooops, forgot a const
dj [Thu, 16 Nov 2000 15:21:50 +0000 (15:21 +0000)]
oops, forgot a const

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

24 years ago* rtl.c (read_rtx): Provide suitable names for unnamed
dj [Thu, 16 Nov 2000 15:19:01 +0000 (15:19 +0000)]
* rtl.c (read_rtx): Provide suitable names for unnamed
define_insn and define_insn_and_split patterns, based on file
and line numbers.

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

24 years ago * call.c (op_error): Make error messages clearer.
nathan [Thu, 16 Nov 2000 11:49:44 +0000 (11:49 +0000)]
* call.c (op_error): Make error messages clearer.

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

24 years ago 2000-11-15 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Thu, 16 Nov 2000 11:19:11 +0000 (11:19 +0000)]
2000-11-15  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* gcc.c-torture/execute/20001115-1.c: New test.

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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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

24 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