platform/upstream/gcc.git
24 years agoFor glibc 2.2.
James E. Wilson [Thu, 29 Jun 2000 19:00:12 +0000 (19:00 +0000)]
For glibc 2.2.

* config/ia64/linux.h (LINK_SPEC): Change so.1 to so.2.

From-SVN: r34788

24 years agoFix java build failure.
James E. Wilson [Thu, 29 Jun 2000 18:42:35 +0000 (18:42 +0000)]
Fix java build failure.

* config/ia64/ia64.h (MODES_TIEABLE_P): Only tie if mode class is the
same.  Only tie XFmode with XFmode.

From-SVN: r34787

24 years agofilebuf.cc: Tweak.
Benjamin Kosnik [Thu, 29 Jun 2000 18:20:55 +0000 (18:20 +0000)]
filebuf.cc: Tweak.

2000-06-28  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* testsuite/27_io/filebuf.cc: Tweak.
* testsuite/27_io/filebuf_members.cc (test_01): Fix.
* config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
filebuf dtor.
(__basic_file::basic_file): Clean, add calls similar to
_IO_file_attach.
(__basic_file::open): Clean.
(__basic_file::sys_open): Clean.

* bits/std_fstream.h: Revert.
* bits/fstream.tcc (filebuf::close()): Revert.
(filebuf::basic_filebuf()): Revert.

From-SVN: r34786

24 years agoc-decl.c, [...]: Include intl.h.
Zack Weinberg [Thu, 29 Jun 2000 17:31:03 +0000 (17:31 +0000)]
c-decl.c, [...]: Include intl.h.

* c-decl.c, timevar.c, tlink.c: Include intl.h.
* Makefile.in: Update deps.

From-SVN: r34785

24 years agotoplev.c (main): On an IA-64, make flag_unwind_tables defauit to true.
Andrew Haley [Thu, 29 Jun 2000 17:27:28 +0000 (17:27 +0000)]
toplev.c (main): On an IA-64, make flag_unwind_tables defauit to true.

2000-06-29  Andrew Haley  <aph@cygnus.com>

* toplev.c (main): On an IA-64, make flag_unwind_tables defauit
to true.

From-SVN: r34784

24 years agolinux.h (JMP_BUF_SIZE): Size is in Pmode units, not bytes: remove the multiply by 8.
Andrew Haley [Thu, 29 Jun 2000 17:26:12 +0000 (17:26 +0000)]
linux.h (JMP_BUF_SIZE): Size is in Pmode units, not bytes: remove the multiply by 8.

2000-06-29  Andrew Haley  <aph@cygnus.com>

        * config/ia64/linux.h (JMP_BUF_SIZE): Size is in Pmode units, not
        bytes: remove the multiply by 8.

From-SVN: r34783

24 years agolex.c (java_lineterminator): Don't recognize \r after \n.
Tom Tromey [Thu, 29 Jun 2000 17:03:49 +0000 (17:03 +0000)]
lex.c (java_lineterminator): Don't recognize \r after \n.

* lex.c (java_lineterminator): Don't recognize \r after \n.  If \r
follows \r, then unget it at a lower level.

From-SVN: r34782

24 years ago20000629-1.f: New test.
Jeffrey A Law [Thu, 29 Jun 2000 15:46:01 +0000 (15:46 +0000)]
20000629-1.f: New test.

        * g77.f-torture/compile/20000629-1.f: New test.
        * g77.f-torture/compile/20000629-1.x: Expected to fail.

From-SVN: r34781

24 years agocp-tree.h (SET_DECL_ARTIFICIAL): Remove.
Nathan Sidwell [Thu, 29 Jun 2000 14:03:10 +0000 (14:03 +0000)]
cp-tree.h (SET_DECL_ARTIFICIAL): Remove.

* cp-tree.h (SET_DECL_ARTIFICIAL): Remove.
* decl.c (create_implicit_typedef): Adjust.
* decl2.c (build_artificial_parm): Adjust.
* method.c (implicitly_declare_fn): Adjust.
* pt.c (push_inline_template_parms_recursive): Adjust.
(process_template_parm): Adjust.
(overloaded_template_name): Adjust.
* semantics.c (finish_template_template_parm): Adjust.

From-SVN: r34780

24 years ago* MAINTAINERS: Add myself as loop discovery maintainer.
Michael Hayes [Thu, 29 Jun 2000 11:22:59 +0000 (11:22 +0000)]
* MAINTAINERS: Add myself as loop discovery maintainer.

From-SVN: r34779

24 years agortl.c: Revert NLS changes.
Philipp Thomas [Thu, 29 Jun 2000 10:24:19 +0000 (10:24 +0000)]
rtl.c: Revert NLS changes.

2000-06-29  Philipp Thomas  <pthomas@suse.de>

* rtl.c : Revert NLS changes.
* gcc.c : Fix bug in display_help introced by my last changes.

From-SVN: r34778

24 years agoDaily bump.
Jeff Law [Thu, 29 Jun 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r34777

24 years agodbxout.c (dbxout_symbol, [...]): Use DECL_CONTEXT, not DECL_FIELD_CONTEXT.
Raja R Harinath [Thu, 29 Jun 2000 03:14:20 +0000 (03:14 +0000)]
dbxout.c (dbxout_symbol, [...]): Use DECL_CONTEXT, not DECL_FIELD_CONTEXT.

        * dbxout.c (dbxout_symbol, case RESULT_DECL, VAR_DECL): Use
        DECL_CONTEXT, not DECL_FIELD_CONTEXT.

From-SVN: r34776

24 years agoRearrange lots of files...
Zack Weinberg [Thu, 29 Jun 2000 03:10:01 +0000 (03:10 +0000)]
Rearrange lots of files...

Rearrange lots of files, removing entirely the
gcc.c-torture/special, gcc.c-torture/code-quality, and gcc.failure
directories.

* Deleted files:
gcc.c-torture/code_quality/code_quality.exp
gcc.c-torture/special/special.exp
gcc.failure/failure.exp
gcc.failure/940409-1.x
gcc.c-torture/compile/961203-1.x

* New files:
gcc.misc-tests/linkage.exp
gcc.c-torture/execute/920730-1t.c
gcc.c-torture/execute/920730-1t.x
gcc.c-torture/compile/920520-1.x
gcc.c-torture/compile/920521-1.x
gcc.c-torture/compile/981006-1.x
gcc.c-torture/execute/eeprof-1.x

* Moved files (possibly with modifications to fit a new harness):
Old name New name
gcc.c-torture/code_quality/920608-1.c gcc.c-torture/compile/920608-1.c
gcc.c-torture/special/920413-1.c gcc.dg/920413-1.c
gcc.c-torture/special/920520-1.c gcc.c-torture/compile/920520-1.c
gcc.c-torture/special/920521-1.c gcc.c-torture/compile/920521-1.c
gcc.c-torture/special/920717-x.c gcc.misc-tests/linkage-x.c
gcc.c-torture/special/920717-y.c gcc.misc-tests/linkage-y.c
gcc.c-torture/special/920730-1.c gcc.c-torture/execute/920730-1.c
gcc.c-torture/special/930510-1.c gcc.dg/cpp/19930510-1.c
gcc.c-torture/special/951130-1.c gcc.dg/951130-1.c
gcc.c-torture/special/960224-1.c gcc.dg/cpp/19960224-1.c
gcc.c-torture/special/960224-2.c gcc.dg/cpp/19960224-2.c
gcc.c-torture/special/981006-1.c gcc.c-torture/compile/981006-1.c
gcc.c-torture/special/eeprof-1.c gcc.c-torture/execute/eeprof-1.c
gcc.failure/940409-1.c gcc.dg/940409-1.c

From-SVN: r34775

24 years ago* flow.c (flow_depth_first_order_compute): Fix algorithm.
Michael Hayes [Thu, 29 Jun 2000 00:36:10 +0000 (00:36 +0000)]
* flow.c (flow_depth_first_order_compute): Fix algorithm.

From-SVN: r34774

24 years agoc-decl.c: Mark strings for translation.
Philipp Thomas [Wed, 28 Jun 2000 23:46:27 +0000 (23:46 +0000)]
c-decl.c: Mark strings for translation.

2000-06-28  Philipp Thomas  <pthomas@suse.de>

* c-decl.c : Mark strings for translation.
(parmlist_tags_warning): Use distinct messages instead
of conditional expressions.
* diagnostic.c (v_message_with_decl): Mark string for translation.
* gcc.c: Mark messages for translation.
(display_help): Combine messages into one string where necessary.
* mips-tfile.c: Add intl.h. Mark messages for translation.
* rtl.c (fatal_with_file_and_line): Modify function for NLS. Mark
messages for translation.
* timevar.c: Mark messages for translation.
* tlink.c: Likewise.
* toplev.c: Likewise.

From-SVN: r34773

24 years ago* i386-interix.h (STRIP_NAME_ENCODING): Declare _new_name properly.
Donn Terry [Wed, 28 Jun 2000 23:36:22 +0000 (23:36 +0000)]
* i386-interix.h (STRIP_NAME_ENCODING): Declare _new_name properly.

From-SVN: r34772

24 years agoalpha-interix.h: Delete redundant -Asystem(interix), use -isystem instead of -idirafter.
Donn Terry [Wed, 28 Jun 2000 23:16:03 +0000 (23:16 +0000)]
alpha-interix.h: Delete redundant -Asystem(interix), use -isystem instead of -idirafter.

       * alpha/alpha-interix.h: Delete redundant -Asystem(interix),
        use -isystem instead of -idirafter.
        * i386/i386-interix.h: Likewise.

From-SVN: r34771

24 years agoFix cut and paste error in last change
Zack Weinberg [Wed, 28 Jun 2000 22:17:22 +0000 (22:17 +0000)]
Fix cut and paste error in last change

From-SVN: r34770

24 years agoAdd Alexandre as co-maintainer for mn10300 port.
Jeff Law [Wed, 28 Jun 2000 21:31:14 +0000 (15:31 -0600)]
Add Alexandre as co-maintainer for mn10300 port.

From-SVN: r34769

24 years agodwarf2out.c (output_loc_operands): Don't support >1 byte output unless DWARF2_DEBUGGI...
Jason Merrill [Wed, 28 Jun 2000 21:19:41 +0000 (17:19 -0400)]
dwarf2out.c (output_loc_operands): Don't support >1 byte output unless DWARF2_DEBUGGING_INFO is defined.

        * dwarf2out.c (output_loc_operands): Don't support >1 byte output
        unless DWARF2_DEBUGGING_INFO is defined.
        (ASM_OUTPUT_DWARF_*): Wrap normal output defs with #ifndefs.

From-SVN: r34768

24 years agoBack it out temporarily.
Jakub Jelinek [Wed, 28 Jun 2000 20:49:05 +0000 (22:49 +0200)]
Back it out temporarily.

From-SVN: r34767

24 years ago* c-torture/compile/961203-1.x: Delete.
Zack Weinberg [Wed, 28 Jun 2000 20:47:42 +0000 (20:47 +0000)]
* c-torture/compile/961203-1.x: Delete.

From-SVN: r34766

24 years agocp-tree.h (CLEAR_BINFO_NEW_VTABLE_MARKED): Remove.
Mark Mitchell [Wed, 28 Jun 2000 20:41:27 +0000 (20:41 +0000)]
cp-tree.h (CLEAR_BINFO_NEW_VTABLE_MARKED): Remove.

* cp-tree.h (CLEAR_BINFO_NEW_VTABLE_MARKED): Remove.
* class.c (update_vtable_entry_for_fn): Correct logic for deciding
where to emit thunks.
(build_vtt): Adjust call to build_vtt_inits.
(build_vtt_inits): Add parameter to indicate whether or not
sub-VTTs for virtual bases should be included.  Adjust handling of
construction vtables.
(get_matching_base): New function.
(dfs_build_vtt_inits): Rename to ...
(dfs_build_secondary_vptr_vtt_inits): Adjust handling of
construction vtables.
(dfs_fixup_binfo_vtbls): Likewise.
(build_ctor_vtbl_groups): Build construction vtables for virtual
bases, too.
(accumulate_vtbl_inits): Tweak logic for deciding whether or not
to build construction vtbls.
(dfs_accumulate_vtbl_inits): Adjust handling of
construction vtables.

* pt.c (tsubst, case TEMPLATE_TEMPLATE_PARM): Handle cv-qualified
types correctly.

From-SVN: r34765

24 years ago* config/alpha/alpha.c (summarize_insn): Ignore SCRATCH.
Richard Henderson [Wed, 28 Jun 2000 20:21:21 +0000 (13:21 -0700)]
* config/alpha/alpha.c (summarize_insn): Ignore SCRATCH.

From-SVN: r34764

24 years agoacker1.c: Report failure.
Zack Weinberg [Wed, 28 Jun 2000 20:20:22 +0000 (20:20 +0000)]
acker1.c: Report failure.

* gcc.misc-tests/acker1.c: Report failure.  Use return from main,
not exit. Include stdio.h.
* gcc.misc-tests/dg-11.c: Remove anchors from regexp.
* gcc.misc-tests/dg-12.c: Likewise.
* gcc.misc-tests/dg-5.c: Likewise.
* gcc.misc-tests/dg-6.c: Likewise.
* gcc.misc-tests/dg-7.c: Prototype abort.
* gcc.misc-tests/dg-9.c: Adjust error-message regexps.
* gcc.misc-tests/dhry.h: Include stdlib.h and string.h.
* gcc.misc-tests/matrix1.c: Report failure.  Use return from main,
not exit.
* gcc.misc-tests/sieve.c: Use return from main, not exit.
* gcc.misc-tests/sort2.c: Use return from main, not exit.

From-SVN: r34763

24 years ago20000628-1.c: New test.
Jakub Jelinek [Wed, 28 Jun 2000 19:34:12 +0000 (21:34 +0200)]
20000628-1.c: New test.

* gcc.dg/cpp/20000628-1.c: New test.
* gcc.dg/cpp/20000628-1.h: New header for above test.
* gcc.dg/cpp/20000628-1a.h: Likewise.

From-SVN: r34762

24 years agocpplex.c (output_line_command): Output correct #line if a header is including itself...
Jakub Jelinek [Wed, 28 Jun 2000 19:16:22 +0000 (21:16 +0200)]
cpplex.c (output_line_command): Output correct #line if a header is including itself and is not protected...

* cpplex.c (output_line_command): Output correct #line if a header
is including itself and is not protected against multiple inclusion.

From-SVN: r34761

24 years agocppfiles.c (open_include_file): If open(2) returns EMFILE or ENFILE...
Zack Weinberg [Wed, 28 Jun 2000 19:03:08 +0000 (19:03 +0000)]
cppfiles.c (open_include_file): If open(2) returns EMFILE or ENFILE...

* cppfiles.c (open_include_file): If open(2) returns EMFILE or
ENFILE, close all cached file descriptors and try again.
(_cpp_execute_include): Keep a count of the number of times
each header is included.
(close_cached_fd): New function.
* cpphash.h (struct include_file): Rename before to
include_count; all users updated.  Make include_count and sysp
unsigned short.
* cppinit.c (cpp_finish): If -H, report headers that could use
reinclude guards.
(report_missing_guard): New function.

From-SVN: r34760

24 years agoUpdate footer.html to force copying-to-web.
Phil Edwards [Wed, 28 Jun 2000 18:57:27 +0000 (18:57 +0000)]
Update footer.html to force copying-to-web.

From-SVN: r34759

24 years agoStart documentation on numerics
Gabriel Dos Reis [Wed, 28 Jun 2000 15:14:39 +0000 (15:14 +0000)]
Start documentation on numerics

From-SVN: r34758

24 years agovalarray_array.h (_Array_default_ctor<>::_S_do_it): Don't forget the sizeof(_Tp)...
Gabriel Dos Reis [Wed, 28 Jun 2000 14:38:39 +0000 (14:38 +0000)]
valarray_array.h (_Array_default_ctor<>::_S_do_it): Don't forget the sizeof(_Tp) factor in call to memset().

2000-06-28  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>

* bits/valarray_array.h (_Array_default_ctor<>::_S_do_it): Don't
forget the sizeof(_Tp) factor in call to memset().
(_Array_copy_ctor<>::_S_do_it): Likewise for memcpy().

From-SVN: r34757

24 years agoi386.md (prologue_set_got): Set length_immediate field.
Jan Hubicka [Wed, 28 Jun 2000 12:55:45 +0000 (12:55 +0000)]
i386.md (prologue_set_got): Set length_immediate field.

* i386.md (prologue_set_got): Set length_immediate field.
(testqi_ccno_1):  Add missing '@' character.

From-SVN: r34756

24 years agore GNATS java.io/203 (File.createTempFile doesn't close descriptor)
Andrew Haley [Wed, 28 Jun 2000 12:24:10 +0000 (12:24 +0000)]
re GNATS java.io/203 (File.createTempFile doesn't close descriptor)

2000-06-27  Andrew Haley  <aph@cygnus.com>

       * java/io/File.java (createTempFile): Close the FileDescriptor
       used to create a temp file.  Fixes some of PR 203.
       * java/io/natFileDescriptorPosix.cc (open): Call garbage
       collection if we run out of file handles.

From-SVN: r34755

24 years agoRemoved extraneous conflict marker.
Warren Levy [Wed, 28 Jun 2000 11:26:42 +0000 (11:26 +0000)]
Removed extraneous conflict marker.

From-SVN: r34754

24 years agoGnu.java: New file.
Warren Levy [Wed, 28 Jun 2000 11:24:05 +0000 (11:24 +0000)]
Gnu.java: New file.

* gnu/java/security/provider/Gnu.java: New file.
* gnu/java/security/provider/SHA.java: New file.
* gnu/java/security/provider/SHA1PRNG.java: New file.
* Makefile.am: Added the above files.
* Makefile.in: Rebuilt.

* java/io/ObjectStreamClass.java (setUID): Use Gnu SHA instead of SHS.

From-SVN: r34753

24 years agoDaily bump.
Jeff Law [Wed, 28 Jun 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r34752

24 years agocp-demangle.c (demangle_special_name): Swap base and derived class when demangling...
Alex Samuel [Wed, 28 Jun 2000 06:08:27 +0000 (06:08 +0000)]
cp-demangle.c (demangle_special_name): Swap base and derived class when demangling construction vtables.

* cp-demangle.c (demangle_special_name): Swap base and derived
class when demangling construction vtables.

From-SVN: r34751

24 years agoThreadGroup.java: Added synchronized flag to many methods.
Bryce McKinlay [Wed, 28 Jun 2000 06:03:11 +0000 (06:03 +0000)]
ThreadGroup.java: Added synchronized flag to many methods.

* ThreadGroup.java: Added synchronized flag to many methods.
(destroyed_flag): Removed.
(isDestroyed, removeGroup, removeThread): Test for parent == null.
(activeCount): Added spec note.

From-SVN: r34750

24 years agoPrincipal.java: New file.
Warren Levy [Wed, 28 Jun 2000 01:31:42 +0000 (01:31 +0000)]
Principal.java: New file.

* java/security/Principal.java: New file.
* Makefile.am: Added Principal.java.
* Makefile.in: Rebuilt.

From-SVN: r34749

24 years agoUpdate to SGI STL 3.3
Benjamin Kosnik [Tue, 27 Jun 2000 23:08:37 +0000 (23:08 +0000)]
Update to SGI STL 3.3

2000-06-27  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

Update to SGI STL 3.3
* ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
ext/stl_rope.h, ext/ropeimpl.h: Update.
* bits/std_bitset.h, bits/std_map, bits/std_memory.h,
bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
bits/stl_uninitialized.h, bits/stl_vectory.h: Update.

* src/Makefile.am (headers): Add new files.
* src/Makefile.in: Regenerate.
* src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
* bits/concept_checks.h: New file.
* bits/container_concepts.h: New file.
* bits/sequence_concepts.h: New file.

From-SVN: r34748

24 years agocpp: New directory.
Zack Weinberg [Tue, 27 Jun 2000 22:26:11 +0000 (22:26 +0000)]
cpp: New directory.

* gcc.dg/cpp: New directory.
* gcc.dg/cpp/cpp.exp: New driver.
* gcc.dg/cpp/20000627-1.c: New test.
* gcc.c-torture/special/special.exp: Remove entry for 921210-1.c.
* gcc.c-torture/special/921210-1.c: Move to gcc.dg/cpp/19921210-1.c
and rewrite as a compilation test.

* gcc.dg: Move many files into the cpp subdirectory, possibly
renaming or editing them as well.
Old name New name
990119-1.c cpp/19990119-1.c
990228-1.c cpp/19990228-1.c
990407-1.c cpp/19990407-1.c
990409-1.c cpp/19990409-1.c
990413-1.c cpp/19990413-1.c
990703-1.c cpp/19990703-1.c
20000127-1.c cpp/20000127-1.c
20000129-1.c cpp/20000129-1.c
20000207-1.c cpp/20000207-1.c
20000207-2.c cpp/20000207-2.c
20000209-1.c cpp/20000209-1.c
20000209-2.c cpp/20000209-2.c
20000301-1.c cpp/20000301-1.c
20000419-1.c cpp/20000419-1.c
20000510-1.S cpp/20000510-1.S
20000519-1.c cpp/20000519-1.c
20000529-1.c cpp/20000529-1.c
20000625-1.c cpp/20000625-1.c
20000625-2.c cpp/20000625-2.c
cpp-as1.c cpp/assert1.c
cpp-as2.c cpp/assert2.c
cxx-comments-1.c cpp/cxxcom1.c
cxx-comments-2.c cpp/cxxcom2.c
endif-label.c cpp/endif.c
cpp-hash1.c cpp/hash1.c
cpp-hash2.c cpp/hash2.c
cpp-if1.c cpp/if-1.c
cpp-if2.c cpp/if-2.c
cpp-if3.c cpp/if-3.c
cpp-if4.c cpp/if-4.c
cpp-if5.c cpp/if-5.c
cpp-cond.c cpp/if-cexp.c
cpp-missingop.c cpp/if-mop.c
cpp-missingparen.c cpp/if-mpar.c
cpp-opprec.c cpp/if-oppr.c
cpp-ifparen.c cpp/if-paren.c
cpp-shortcircuit.c cpp/if-sc.c
cpp-shift.c cpp/if-shift.c
cpp-unary.c cpp/if-unary.c
cpp-li1.c cpp/line1.c
cpp-li2.c cpp/line2.c
lineno.c cpp/line3.c
lineno-2.c cpp/line4.c
cpp-mi.c cpp/mi1.c
cpp-mic.h cpp/mi1c.h
cpp-micc.h cpp/mi1cc.h
cpp-mind.h cpp/mi1nd.h
cpp-mindp.h cpp/mi1ndp.h
cpp-mix.h cpp/mi1x.h
cpp-mi2.c cpp/mi2.c
cpp-mi2a.h cpp/mi2a.h
cpp-mi2b.h cpp/mi2b.h
cpp-mi2c.h cpp/mi2c.h
cpp-mi3.c cpp/mi3.c
cpp-mi3.def cpp/mi3.def
poison-1.c cpp/poison.c
pr-impl.c cpp/prag-imp.c
cpp-redef-2.c cpp/redef1.c
cpp-redef.c cpp/redef2.c
strpaste.c cpp/strp1.c
strpaste-2.c cpp/strp2.c
cpp-tradpaste.c cpp/tr-paste.c
cpp-tradstringify.c cpp/tr-str.c
cpp-tradwarn1.c cpp/tr-warn1.c
cpp-tradwarn2.c cpp/tr-warn2.c
trigraphs.c cpp/trigraphs.c
cpp-unc1.c cpp/unc1.c
cpp-unc2.c cpp/unc2.c
cpp-unc3.c cpp/unc3.c
cpp-unc.c cpp/unc4.c
undef.c cpp/undef1.c
undef-2.c cpp/undef2.c
cpp-wi1.c cpp/widestr1.c

From-SVN: r34747

24 years agoMouseEvent.java: Fixed coordinate space confusion.
Rolf W. Rasmussen [Tue, 27 Jun 2000 21:30:34 +0000 (23:30 +0200)]
MouseEvent.java: Fixed coordinate space confusion.

2000-06-27  Rolf W. Rasmussen  <rolfwr@ii.uib.no>

* java/awt/event/MouseEvent.java: Fixed coordinate space
confusion.

From-SVN: r34746

24 years agoPushbackInputStream.java (read): If there are characters in the buffer, don't also...
Tom Tromey [Tue, 27 Jun 2000 21:27:50 +0000 (21:27 +0000)]
PushbackInputStream.java (read): If there are characters in the buffer, don't also call super.read().

* java/io/PushbackInputStream.java (read): If there are characters
in the buffer, don't also call super.read().
* java/io/PushbackReader.java (read): If there are characters in
the buffer, don't also call super.read().

From-SVN: r34745

24 years agoUpdate to SGI STL 3.3
Benjamin Kosnik [Tue, 27 Jun 2000 21:12:58 +0000 (21:12 +0000)]
Update to SGI STL 3.3

2000-06-27  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

Update to SGI STL 3.3
* ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
ext/stl_rope.h, ext/ropeimpl.h: Update.
* bits/std_bitset.h, bits/std_map, bits/std_memory.h,
bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
bits/stl_uninitialized.h, bits/stl_vectory.h: Update.

* src/Makefile.am (headers): Add new files.
* src/Makefile.in: Regenerate.
* src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
* bits/concept_checks.h: New file.
* bits/container_concepts.h: New file.
* bits/sequence_concepts.h: New file.

From-SVN: r34744

24 years agoUpdate to SGI STL 3.3
Benjamin Kosnik [Tue, 27 Jun 2000 20:57:11 +0000 (20:57 +0000)]
Update to SGI STL 3.3

2000-06-27  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

Update to SGI STL 3.3
* ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
ext/stl_rope.h, ext/ropeimpl.h: Update.
* bits/std_bitset.h, bits/std_map, bits/std_memory.h,
bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
bits/stl_uninitialized.h, bits/stl_vectory.h: Update.

* src/Makefile.am (headers): Add new files.
* src/Makefile.in: Regenerate.
* src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
* bits/concept_checks.h: New file.
* bits/container_concepts.h: New file.
* bits/sequence_concepts.h: New file.

From-SVN: r34743

24 years ago* decl.c (grokfndecl): Set DECL_CONTEXT for static functions too.
Mark Mitchell [Tue, 27 Jun 2000 20:44:36 +0000 (20:44 +0000)]
* decl.c (grokfndecl): Set DECL_CONTEXT for static functions too.

From-SVN: r34742

24 years ago* lib/g++.exp (g++_include_flags): Tweak.
Mark Mitchell [Tue, 27 Jun 2000 20:40:05 +0000 (20:40 +0000)]
* lib/g++.exp (g++_include_flags): Tweak.

From-SVN: r34741

24 years agoPOTFILES.in: Add diagnostic.c .
Philipp Thomas [Tue, 27 Jun 2000 19:27:26 +0000 (19:27 +0000)]
POTFILES.in: Add diagnostic.c .

2000-06-27  Philipp Thomas  <pthomas@suse.de>

* POTFILES.in: Add diagnostic.c .
* gcc.pot: Regenerate.
* cat-id-tbl.c: Regenerate.

From-SVN: r34740

24 years agotweak
Jason Merrill [Tue, 27 Jun 2000 19:09:42 +0000 (15:09 -0400)]
tweak

From-SVN: r34739

24 years agodwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Use DWARF_FRAME_REGNUM.
Jason Merrill [Tue, 27 Jun 2000 19:07:00 +0000 (15:07 -0400)]
dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Use DWARF_FRAME_REGNUM.

        * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Use
        DWARF_FRAME_REGNUM.

        * dwarf2out.c (ASM_OUTPUT_DWARF_DATA2): Provide default when no
        unsigned macros available.

From-SVN: r34738

24 years ago* java/lang/Double.java (valueOf): Call parseDouble().
Tom Tromey [Tue, 27 Jun 2000 18:35:54 +0000 (18:35 +0000)]
* java/lang/Double.java (valueOf): Call parseDouble().

From-SVN: r34737

24 years agomkcheck.in: Add support to print standard flags needed to test g++ in build tree.
Benjamin Kosnik [Tue, 27 Jun 2000 18:01:32 +0000 (18:01 +0000)]
mkcheck.in: Add support to print standard flags needed to test g++ in build tree.

2000-06-27  H.J. Lu  <hjl@gnu.org>
            Loren J. Rittle  <ljrittle@acm.org>

        * mkcheck.in: Add support to print standard flags needed to
        test g++ in build tree.  Enhance command line error checking.

From-SVN: r34736

24 years agog++.exp (g++_include_flags): Override libgloss.exp version with one that knows about...
H.J. Lu [Tue, 27 Jun 2000 18:01:02 +0000 (18:01 +0000)]
g++.exp (g++_include_flags): Override libgloss.exp version with one that knows about the new gcc tree structure.

2000-06-27  H.J. Lu  <hjl@gnu.org>
            Loren J. Rittle  <ljrittle@acm.org>

        * lib/g++.exp (g++_include_flags): Override libgloss.exp
        version with one that knows about the new gcc tree structure.
        (g++_link_flags): Same.

Co-Authored-By: Loren J. Rittle <ljrittle@acm.org>
From-SVN: r34735

24 years agoia64.c (emit_insn_group_barriers): Special case epilogue_deallocate_stack.
Richard Henderson [Tue, 27 Jun 2000 17:36:59 +0000 (10:36 -0700)]
ia64.c (emit_insn_group_barriers): Special case epilogue_deallocate_stack.

        * config/ia64/ia64.c (emit_insn_group_barriers): Special case
        epilogue_deallocate_stack.

        * config/ia64/ia64.c (ia64_print_operand) [case D]: Emit
        completers for UNORDERED and ORDERED as well.
        * config/ia64/ia64.md (bunordered, bordered): New.
        (sunordered, sordered): New.

From-SVN: r34734

24 years agoinstall.html: Fix minor typo as reported.
Phil Edwards [Tue, 27 Jun 2000 15:56:17 +0000 (15:56 +0000)]
install.html: Fix minor typo as reported.

2000-06-27  Phil Edwards  <pme@sourceware.cygnus.com>

* docs/install.html:  Fix minor typo as reported.

From-SVN: r34733

24 years agoparse.y (resolve_field_access): Pass decl, not DECL_INITIAL, to java_complete_tree.
Tom Tromey [Tue, 27 Jun 2000 15:02:48 +0000 (15:02 +0000)]
parse.y (resolve_field_access): Pass decl, not DECL_INITIAL, to java_complete_tree.

* parse.y (resolve_field_access): Pass decl, not DECL_INITIAL, to
java_complete_tree.

From-SVN: r34732

24 years agogenattrtab.c (write_attr_value): Do not abort for CONST_INT operands.
Jan Hubicka [Tue, 27 Jun 2000 10:24:38 +0000 (10:24 +0000)]
genattrtab.c (write_attr_value): Do not abort for CONST_INT operands.

* genattrtab.c (write_attr_value): Do not abort for CONST_INT operands.
* i386.c (ix86_attr_length_default): Kill.
(ix86_attr_length_immediate_default, ix86_attr_length_address_default):
New.
* i386-protos.h (ix86_attr_length_default): Kill
(ix86_attr_length_immediate_default, ix86_attr_length_address_default):
Add prototype
* i386.md (attribute type): Add "test".
(attribute length_prefix): Kill.
(attribute length_opcode): Kill.
(attribute i387, mode, length_immediate, length_address, prefix_data16,
prefix_rep, prefix_0f, modrm): New.
(attribute length): Compute using the new attributes.
(attribute pent_prefix): New.
(attribute pent_pair): Compute using pent_prefix.
(all insn patterns): Set mode,modrm and immediate_length attributes where
needed.
(cmpsi patterns): Compute sizes propertly for test instruction.
(movsi, movhi patterns): Compute sizes propertly for eax shortcuts.
(movstricthi_xor, movstrictqi_xor): New patterns.
(andsi/andhi): Use splitters to generate xor instructions.
(xorqi_ext_1): New pattern.
(movstricthi->movstricthi_xor peep2): New.

From-SVN: r34731

24 years ago* i386.md (addqi_low_1): Remove.
Jan Hubicka [Tue, 27 Jun 2000 10:06:39 +0000 (10:06 +0000)]
* i386.md (addqi_low_1): Remove.

From-SVN: r34730

24 years agoDaily bump.
Jeff Law [Tue, 27 Jun 2000 07:45:10 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r34729

24 years agoCorrect previous botched commit.
Geoffrey Keating [Tue, 27 Jun 2000 07:12:20 +0000 (07:12 +0000)]
Correct previous botched commit.

From-SVN: r34728

24 years agore GNATS gcj/238 (Can't call methods from Object on an inner class)
Bryce McKinlay [Tue, 27 Jun 2000 05:18:56 +0000 (05:18 +0000)]
re GNATS gcj/238 (Can't call methods from Object on an inner class)

2000-06-09  Bryce McKinlay  <bryce@albatross.co.nz>

* parse.y (find_applicable_accessible_methods_list): Use a hashtable
to track searched classes, and do not search the same class more than
once. Call find_applicable_accessible_methods_list on immediate
superclass, instead of search_applicable_method_list on all ancestors.
Fix for PR gcj/238.

(Fix to the Java PR #238:
 http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00206.html)

From-SVN: r34727

24 years agoPropertyChangeEvent.java (oldVal): Renamed to oldValue.
Warren Levy [Tue, 27 Jun 2000 05:10:03 +0000 (05:10 +0000)]
PropertyChangeEvent.java (oldVal): Renamed to oldValue.

* java/beans/PropertyChangeEvent.java (oldVal): Renamed to oldValue.
(newVal): Renamed to newValue.
* java/beans/PropertyVetoException.java (changeEvent): Renamed to evt.
* java/beans/beancontext/BeanContextServiceRevokedEvent.java
(revokeNow): Renamed to invalidateRefs.
* java/io/OptionalDataException.java: Updated FIXME.
(eof): New placeholder field.
(length); Ditto.
* java/io/WriteAbortedException.java (message): Made transient.
* java/lang/ClassNotFoundException.java: Updated comments for JDK 1.2.
* java/lang/Throwable.java (stackTrace): Made transient.
* java/net/InetAddress.java: Made Serializable.
* java/security/KeyPair.java: Made Serializable.
* java/security/Provider.java: Replaced with Classpath version that
implements serialization and proper methods.
* java/text/ChoiceFormat.java (strings): Renamed to choiceFormats.
(limits): Renamed to choiceLimits.

Serialization changes per:
http://java.sun.com/products/jdk/1.2/docs/api/serialized-form.html

From-SVN: r34726

24 years ago[multiple changes]
Alexandre Petit-Bianco [Tue, 27 Jun 2000 04:30:18 +0000 (21:30 -0700)]
[multiple changes]

2000-06-23  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* class.c (set_super_info): Handle ACC_PRIVATE for (inner)
classes.
* java-tree.h (TYPE_PRIVATE_INNER_CLASS): New macro.
(struct lang_type): New field `pic.'
(CLASS_PRIVATE): New macro.
* parse.y (check_inner_class_access): New function.
(jdep_resolve_class): Call it.

2000-06-09  Bryce McKinlay  <bryce@albatross.co.nz>

        * parse.y (register_fields): Permit static fields in inner classes
        if they are final. Fix for PR gcj/255.

(These patches are fixes to the PR #224 and #255:
 http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00158.html
 http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00287.html)

From-SVN: r34725

24 years ago1750a.h: Mark help strings for options/switches for translation.
Philipp Thomas [Tue, 27 Jun 2000 02:26:23 +0000 (02:26 +0000)]
1750a.h: Mark help strings for options/switches for translation.

2000-06-27  Philipp Thomas  <pthomas@suse.de>

* 1750a.h: Mark help strings for options/switches for translation.
* a29k.h: Likewise.
* alpha.h: Likewise.
* arm.h: Likewise.
* pe.h: Likewise.
* riscix.h: Likewise.
* c4x.h: Likewise.
* clipper.h: Likewise.
* convex.h: Likewise.
* elxsi.h: Likewise.
* fr30.h: Likewise.
* fx80.h: Likewise.
* h8300.h: Likewise.
* i370.h: Likewise.
* cygwin.h: Likewise.
* dgux.h: Likewise.
* djgpp.h: Likewise.
* i386.h: Likewise.
* osf1elf.h: Likewise.
* osfrose.h: Likewise.
* sco5.h: Likewise.
* win32.h: Likewise.
* i860.h: Likewise.
* paragon.h: Likewise.
* i960.h: Likewise.
* ia64.h: Likewise.
* m32r.h: Likewise.
* mcore.h: Likewise.
* mips.h: Likewise.
* mn10300.h: Likewise.
* ns32k.h: Likewise.
* pdp11.h: Likewise.
* pj.h: Likewise.
* aix.h: Likewise.
* aix41.h: Likewise.
* aix43.h: Likewise.
* beos.h: Likewise.
* rs6000.h: Likewise.
* sysv4.h: Likewise.
* linux.h: Likewise.
* linux64.h: Likewise.
* sp64-elf.h: Likewise.
* sparc.h: Likewise.
* splet.h: Likewise.
* v850.h: Likewise.
* convex.h (TARGET_SWITCHES): Provide descriptions and mark them
for translation.
* sp86x-aout.h: Remove bogus first definition of SUBTARGET_SWITCHES.
Properly document option and mark for translation.
* sp86x-elf.h: Likewise.

From-SVN: r34724

24 years ago980523-1.c: Add prototype for exit().
Franz Sirl [Mon, 26 Jun 2000 23:11:54 +0000 (23:11 +0000)]
980523-1.c: Add prototype for exit().

2000-06-26  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
* gcc.dg/980523-1.c: Add prototype for exit().
* gcc.dg/980827-1.c: Add prototype for exit() and abort().

From-SVN: r34722

24 years agoAdd MMX and SSE registers to i386 machine description
Bernd Schmidt [Mon, 26 Jun 2000 22:47:37 +0000 (22:47 +0000)]
Add MMX and SSE registers to i386 machine description

From-SVN: r34721

24 years agossa.c (struct rename_set_data): Change the name of field 'set_dest' to 'old_reg'.
Geoff Keating [Mon, 26 Jun 2000 21:36:58 +0000 (21:36 +0000)]
ssa.c (struct rename_set_data): Change the name of field 'set_dest' to 'old_reg'.

* ssa.c (struct rename_set_data): Change the name of field
'set_dest' to 'old_reg'.  Add comments.
(struct rename_context): Change the name of 'set_data' to
'new_renames'.  Add new field 'done_renames'.
(create_delayed_rename): New function.
(apply_delayed_renames): New function.
(rename_insn_1): Use the new functions.  Handle CLOBBERS.  Handle
SUBREGs and similar by emitting a move.
(new_registers_for_updates): Delete, functionality moved to
apply_delayed_renames.
(rename_block): Handle moves emitted by rename_insn_1 by putting
them into a SEQUENCE with the original insn.  Add sanity checks
and comments.
(rename_equivalent_regs_in_insn): Don't handle SUBREGs specially.
(rename_equivalent_regs): Expand SEQUENCEs out to individual insns.

From-SVN: r34720

24 years ago[multiple changes]
Benjamin Kosnik [Mon, 26 Jun 2000 20:22:01 +0000 (20:22 +0000)]
[multiple changes]

2000-06-13  Brent Verner <brent@rcfile.org>

* bits/string.tcc (string::rfind): Fix.
* testsuite/21_strings/rfind.cc: New file.

2000-06-26  Anthony Williams  <anthony@anthonyw.cjb.net>

* testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.

2000-06-26  Branko Cibej  <branko.cibej@hermes.si>

        * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.

        * mkcheck.in: Make the *.txt and *.tst files writable after
  copying them to $TEST_DIR.

        * testsuite/27_io/ostream_inserter_arith.cc: Renamed
          __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE.
        Define TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.

From-SVN: r34719

24 years agostring.tcc (string::rfind): Fix.
Brent Verner [Mon, 26 Jun 2000 20:21:34 +0000 (20:21 +0000)]
string.tcc (string::rfind): Fix.

2000-06-13  Brent Verner <brent@rcfile.org>

* bits/string.tcc (string::rfind): Fix.
* testsuite/21_strings/rfind.cc: New file.

From-SVN: r34718

24 years agodwarf2.h (enum dwarf_call_frame_info): Add DW_CFA_def_cfa_expression.
Andrew Macleod [Mon, 26 Jun 2000 20:15:07 +0000 (16:15 -0400)]
dwarf2.h (enum dwarf_call_frame_info): Add DW_CFA_def_cfa_expression.

        * dwarf2.h (enum dwarf_call_frame_info): Add
        DW_CFA_def_cfa_expression.
        * dwarf2out.c (union dw_cfi_oprnd_struct): Add a pointer to a
        dw_loc_descr_struct entry.
        (struct cfa_loc): New structure to track a CFA location.
        (lookup_cfa): Take a cfa_loc parameter instead of a reg and an offset.
        (lookup_cfa_1): Take a cfa_loc parameter instead of a reg and an
        offset, plus handle DW_CFA_def_cfa_expression.
        (def_cfa_1): Use to be dwarf2out_def_cfa, only now it uses a
        cfa_loc record.
        (dwarf2out_def_cfa): Entry point maintained for compatability.
        (dwarf_cfi_name): Add DW_CFA_def_cfa_expression.
        (cfa_reg, cfa_offset): Replace with cfa_loc record 'cfa'.
        (cfa_store_reg, cfa_store_offset): Replace with cfa_loc 'cfa_store'.
        (initial_return_save, dwarf2out_stack_adjust): Use cfa.reg, not
        cfa_reg.
        (dwarf2out_frame_debug_expr): Use new cfa_loc records. Recognize rtl
        sequences for the new DW_CFA_def_cfa_expression record.
        (dwarf2out_frame_debug): Use new variables/fields.A
        (output_cfi): Handle DW_CFA_def_cfa_expression.
        (output_cfa_loc): New function to generate a CFI record for
        DW_CFA_def_cfa_expression.
        (get_cfa_from_loc_descr): New function to get a cfa_loc record from
        a dw_loc_descr sequeunce.
        (build_loc_descr): Build a dw_loc_descr from a cfa_loc record.
        (dwarf_stack_op_name, new_loc_descr, add_loc_descr, size_of_loc_descr,
        size_of_locs, output_loc_operands, output_loc_sequence): Move into
        unwind info section.
        * frame.h (frame_state): Add base_offset and indirect fields.
        * frame-dwarf2.c (decode_stack_op): New function to interpret a
        dw_loc_descr operation.
        (execute_cfa_insn): Add support for DW_CFA_def_cfa_expression.
        (struct frame_state): Add base offset and indirect fields.
        * libgcc2.c (next_stack_level): Support indirect loading for CFA.

From-SVN: r34717

24 years ago20000419-1.c, [...]: Use "target *-*-*", not "target native", in case we are cross...
Zack Weinberg [Mon, 26 Jun 2000 19:12:53 +0000 (19:12 +0000)]
20000419-1.c, [...]: Use "target *-*-*", not "target native", in case we are cross-compiling.

* gcc.dg/20000419-1.c, gcc.dg/cpp-mi.c, gcc.dg/cpp-tradwarn1.c,
gcc.dg/cpp-unc.c: Use "target *-*-*", not "target native", in
case we are cross-compiling.

From-SVN: r34716

24 years agomkcheck.in: Make the *.txt and *.tst files writable after copying them to $TEST_DIR.
Branko Cibej [Mon, 26 Jun 2000 18:58:19 +0000 (20:58 +0200)]
mkcheck.in: Make the *.txt and *.tst files writable after copying them to $TEST_DIR.

2000-06-26  Branko Cibej  <branko.cibej@hermes.si>

* mkcheck.in:  Make the *.txt and *.tst files writable
  after copying them to $TEST_DIR.

From-SVN: r34715

24 years agoMakefile.in, [...]: Delete.
Zack Weinberg [Mon, 26 Jun 2000 18:56:21 +0000 (18:56 +0000)]
Makefile.in, [...]: Delete.

* g++.old-deja/Makefile.in, g++.old-deja/configure.in,
g++.old-deja/g++.niklas/Makefile.in,
g++.old-deja/g++.niklas/configure.in,
g++.old-deja/g++.other/Makefile.in,
g++.old-deja/g++.other/configure.in,
gcc.c-torture/code_quality/Makefile.in,
gcc.c-torture/code_quality/configure.in,
gcc.c-torture/compat/Makefile.in, gcc.c-torture/compat/configure.in,
gcc.c-torture/compile/Makefile.in, gcc.c-torture/compile/configure.in,
gcc.c-torture/execute/Makefile.in, gcc.c-torture/execute/configure.in,
gcc.c-torture/execute/ieee/Makefile.in,
gcc.c-torture/execute/ieee/configure.in,
gcc.c-torture/noncompile/Makefile.in,
gcc.c-torture/noncompile/configure.in,
gcc.c-torture/special/Makefile.in, gcc.c-torture/special/configure.in,
gcc.c-torture/unsorted/Makefile.in, gcc.c-torture/unsorted/configure.in,
gcc.misc-tests/Makefile.in, gcc.misc-tests/configure.in: Delete.

From-SVN: r34714

24 years ago[multiple changes]
Richard Henderson [Mon, 26 Jun 2000 16:42:23 +0000 (09:42 -0700)]
[multiple changes]

2000-06-26  Joseph S. Myers  <jsm28@cam.ac.uk>

        * c-decl.c (grokdeclarator): Don't warn about `long long' in C99.
        Make warnings about implicit int be pedwarns in C99.  Don't warn
        about duplicate type qualifiers in C99.
        (start_function): Make warning about implict int return type be a
        pedwarn in C99.
        * c-lex.c (yylex): Don't warn about `long long' in C99.
        * c-typeck.c (c_expand_return): In C99, always pedwarn about
        `return' with no value in function returning non-void.

2000-06-26  Richard Henderson  <rth@cygnus.com>

        * c-typeck.c (pedwarn_c99): New.
        * diagnostic.c (verror, vwarning, vpedwarn): Export.
        * toplev.h: Prototype them.

From-SVN: r34713

24 years agore GNATS gcj/268 (Internal compiler error in for-loop test condition)
Tom Tromey [Mon, 26 Jun 2000 16:39:28 +0000 (16:39 +0000)]
re GNATS gcj/268 (Internal compiler error in for-loop test condition)

* parse.y (for_statement): Wrap expression in a WFL if it is a
constant.  For PR gcj/268.

From-SVN: r34712

24 years agoc-typeck.c (digest_init): Return error_mark_node node when TREE_TYPE (init) == error_...
J. David Anglin [Mon, 26 Jun 2000 13:43:22 +0000 (13:43 +0000)]
c-typeck.c (digest_init): Return error_mark_node node when TREE_TYPE (init) == error_mark_node.

2000-06-26  J. David Anglin  <dave@hiauly1.hia.nrc.ca>

* c-typeck.c (digest_init): Return error_mark_node node when
TREE_TYPE (init)  == error_mark_node.

From-SVN: r34711

24 years ago* g++.old-deja/g++.other/ambig3.C: New test.
Nathan Sidwell [Mon, 26 Jun 2000 13:18:05 +0000 (13:18 +0000)]
* g++.old-deja/g++.other/ambig3.C: New test.

From-SVN: r34710

24 years agosearch.c (hides): Remove.
Nathan Sidwell [Mon, 26 Jun 2000 13:16:42 +0000 (13:16 +0000)]
search.c (hides): Remove.

* search.c (hides): Remove.
(is_subobject_of_p): Add most_derived parameter. Use
CANONICAL_BINFO.
(lookup_field_queue_p): Adjust.
(lookup_field_r): Adjust.

From-SVN: r34709

24 years agosyntax1.C: New test.
Nathan Sidwell [Mon, 26 Jun 2000 11:07:20 +0000 (11:07 +0000)]
syntax1.C: New test.

* g++.old-deja/g++.pt/syntax1.C: New test.
* g++.old-deja/g++.pt/syntax2.C: New test.
* g++.old-deja/g++.other/syntax3.C: New test.
* g++.old-deja/g++.other/syntax4.C: New test.

From-SVN: r34708

24 years agodecl2.c (handle_class_head): Bash typedefs to the type's main decl.
Nathan Sidwell [Mon, 26 Jun 2000 11:06:39 +0000 (11:06 +0000)]
decl2.c (handle_class_head): Bash typedefs to the type's main decl.

* decl2.c (handle_class_head): Bash typedefs to the type's main
decl.

From-SVN: r34707

24 years agoDaily bump.
Jeff Law [Mon, 26 Jun 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r34706

24 years agoparse.y (do_resolve_class): Minor optimiztion in the package list search.
Alexandre Petit-Bianco [Mon, 26 Jun 2000 07:26:08 +0000 (07:26 +0000)]
parse.y (do_resolve_class): Minor optimiztion in the package list search.

2000-06-25  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (do_resolve_class): Minor optimiztion in the package
list search. Removed unecessary test and return statement.
(valid_ref_assignconv_cast_p): Order of arguments to
enclosing_context_p fixed.

From-SVN: r34705

24 years agoaclocal.m4 (AM_WITH_NLS): Don't set MSGFMT or GMSGFMT to no, test for msgfmt without...
Philipp Thomas [Mon, 26 Jun 2000 04:47:41 +0000 (04:47 +0000)]
aclocal.m4 (AM_WITH_NLS): Don't set MSGFMT or GMSGFMT to no, test for msgfmt without path instead.

2000-06-26  Philipp Thomas  <pthomas@suse.de>

* aclocal.m4 (AM_WITH_NLS): Don't set MSGFMT or GMSGFMT to no,
test for msgfmt without path instead.
* configure: Rebuilt.

From-SVN: r34704

24 years ago* gcc.dg/20000623-1.c: Prototype exit and abort.
Zack Weinberg [Mon, 26 Jun 2000 03:53:34 +0000 (03:53 +0000)]
* gcc.dg/20000623-1.c: Prototype exit and abort.

From-SVN: r34703

24 years agocp-tree.h (genrtl_begin_stmt_expr): Rename to ...
Mark Mitchell [Mon, 26 Jun 2000 02:18:14 +0000 (02:18 +0000)]
cp-tree.h (genrtl_begin_stmt_expr): Rename to ...

* cp-tree.h (genrtl_begin_stmt_expr): Rename to ...
(begin_global_stmt_expr): ... this.
(genrtl_finish_stmt_expr): Rename to ...
(finish_global_stmt_expr): ... this.
* init.c (begin_init_stmts): Adjust calls.
(finish_init_stmts): Likewise.
* semantics.c (genrtl_begin_stmt_expr): Rename to ...
(begin_global_stmt_expr): ... this.
(genrtl_finish_stmt_expr): Rename to ...
(finish_global_stmt_expr): ... this.

From-SVN: r34702

24 years ago20000625-1.c, [...]: New tests.
Zack Weinberg [Sun, 25 Jun 2000 23:31:02 +0000 (23:31 +0000)]
20000625-1.c, [...]: New tests.

* gcc.dg/20000625-1.c, gcc.dg/20000625-2.c, gcc.dg/cpp-mi3.c:
        New tests.
* gcc.dg/cpp-mi3.def: New file.

* gcc.dg/cpp-as1.c: Also test that macro expansion does not occur
inside assertions.
* gcc.dg/cpp-as2.c: Make error regexps match either old or new
lexer's error messages.
* gcc.dg/cpp-mi.c: Use -H and examine the output, don't try to
divine anything from the linemarkers.
* gcc.dg/cpp-micc.h: Fix typo (declare int b, not int a);
* gcc.dg/poison-1.c: Preprocess only; apply -fno-show-column.

From-SVN: r34701

24 years agogengenrtl.c (special_rtx): Fix typo in comment.
Theodore Papadopoulo [Sun, 25 Jun 2000 23:20:30 +0000 (01:20 +0200)]
gengenrtl.c (special_rtx): Fix typo in comment.

    * gengenrtl.c (special_rtx): Fix typo in comment.

    * search.c (lookup_member): Fix typo in comment.

From-SVN: r34700

24 years ago* mklibgcc.in (LIB2FUNCS): Add missing space.
Michael Hayes [Sun, 25 Jun 2000 22:26:33 +0000 (22:26 +0000)]
* mklibgcc.in (LIB2FUNCS): Add missing space.

From-SVN: r34699

24 years agoexpr.c (lookup_field): Print error and return error_mark_node if field reference...
Tom Tromey [Sun, 25 Jun 2000 17:30:38 +0000 (17:30 +0000)]
expr.c (lookup_field): Print error and return error_mark_node if field reference is ambiguous.

* expr.c (lookup_field): Print error and return error_mark_node if
field reference is ambiguous.

From-SVN: r34698

24 years agoparse.y (check_abstract_method_definitions): Also check if `other_method' is abstract.
Tom Tromey [Sun, 25 Jun 2000 17:28:35 +0000 (17:28 +0000)]
parse.y (check_abstract_method_definitions): Also check if `other_method' is abstract.

* parse.y (check_abstract_method_definitions): Also check if
`other_method' is abstract.

From-SVN: r34697

24 years agoVector support: type node creation & debugging support
Bernd Schmidt [Sun, 25 Jun 2000 17:27:28 +0000 (17:27 +0000)]
Vector support: type node creation & debugging support

From-SVN: r34696

24 years agore GNATS gcj/260 ("Klass.class" expression should cause Klass to be initialized)
Tom Tromey [Sun, 25 Jun 2000 17:25:31 +0000 (17:25 +0000)]
re GNATS gcj/260 ("Klass.class" expression should cause Klass to be initialized)

* parse.y (patch_incomplete_class_ref): Initialize the returned
class.  For PR gcj/260.

From-SVN: r34695

24 years agoFix typos in comments.
Kazu Hirata [Sun, 25 Jun 2000 16:21:08 +0000 (16:21 +0000)]
Fix typos in comments.

From-SVN: r34694

24 years agoDaily bump.
Jeff Law [Sun, 25 Jun 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r34693

24 years agoaclocal.m4 (AM_WITH_NLS): Set create_catalogs=no if no catalog compiler found.
Philipp Thomas [Sun, 25 Jun 2000 02:45:23 +0000 (02:45 +0000)]
aclocal.m4 (AM_WITH_NLS): Set create_catalogs=no if no catalog compiler found.

* aclocal.m4 (AM_WITH_NLS): Set create_catalogs=no if no catalog
compiler found.
AM_GNU_GETTEXT: Don't set CATALOGS if create_catalogs=no.
* configure: Rebuilt.

From-SVN: r34692

24 years agovax.h (TARGET_SWITCHES): Provide descriptions.
John David Anglin [Sat, 24 Jun 2000 23:52:22 +0000 (23:52 +0000)]
vax.h (TARGET_SWITCHES): Provide descriptions.

2000-06-25  John David Anglin  <dave.anglin@nrc.ca>

        * config/vax/vax.h (TARGET_SWITCHES): Provide descriptions.

From-SVN: r34691

24 years agomklibgcc.in: Prefer LIB1ASMFUNCS over LIB2FUNCS when generating libgcc.a.
Herman A.J. ten Brugge [Sat, 24 Jun 2000 23:34:25 +0000 (01:34 +0200)]
mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2FUNCS when generating libgcc.a.

* mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2FUNCS when generating
libgcc.a.

From-SVN: r34690

24 years agoadd XFAIL
Jason Merrill [Sat, 24 Jun 2000 22:28:07 +0000 (18:28 -0400)]
add XFAIL

From-SVN: r34689

24 years agofixed
Jason Merrill [Sat, 24 Jun 2000 22:27:43 +0000 (18:27 -0400)]
fixed

From-SVN: r34688