]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
23 years agoaclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
Zack Weinberg [Tue, 6 Mar 2001 09:52:35 +0000 (09:52 +0000)] 
aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.

libiberty:
* aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
* configure.in: Replace all alloca logic with a simple use of
the above new macro.
* config.table: Kill *-*-beos* entry.
* config/mh-beos: Delete.
* configure, config.in: Regenerate.

* Makefile.in (ALLOCA, HFILES): Kill.
(REQUIRED_OFILES): Add alloca.o.
(alloca.o): Depend on libiberty.h.
(argv.o): Don't depend on alloca-conf.h.
* alloca-conf.h: Delete.
* alloca.c: Include libiberty.h.  Kill all #ifdef emacs
blocks.  Provide the C alloca unconditionally.  Use PTR where
appropriate.  Make i00afunc static.
* argv.c: Don't include alloca-conf.h.

include:
* libiberty.h: Prototype C_alloca; define alloca to either
__builtin_alloca or C_alloca as appropriate.

gcc:
* aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE
AC_FUNC_ALLOCA.
* configure, config.in: Regenerate.
* config.gcc: Remove references to deleted files.

* genattr.c, genattrtab.c, genextract.c, genoutput.c,
genrecog.c, rtl.c: Do not use alloca anywhere.

* Makefile.in, build-make, system.h, config/x-interix,
config/x-svr4, config/xm-interix.h, config/xm-openbsd.h,
config/alpha/xm-alpha.h, config/alpha/xm-vms.h,
config/arc/xm-arc.h, config/arm/xm-arm.h,
config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
config/h8300/xm-h8300.h, config/i370/x-oe,
config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos,
config/i386/x-ncr3000, config/i386/x-sco5,
config/i386/xm-dgux.h, config/i860/x-sysv4,
config/i960/xm-i960.h, config/m32r/xm-m32r.h,
config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320,
config/m68k/x-hp320g, config/m69k/x-mot3300,
config/m68k/x-mot3300-gas, config/m68k/xm-amix.h,
config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h,
config/m68k/xm-mot3300.h, config/m88k/x-dolph,
config/m88k/x-sysv4, config/m88k/x-tekXD88,
config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
config/mips/x-iris, config/mips/x-iris3,
config/mips/x-sni-svr4, config/mips/x-sysv,
config/mips/xm-iris6.h, config/mips/xm-mips.h,
config/mips/xm-nws3250v4.h, config/pa/x-hpux,
config/pa/x-pa-mpeix, config/pa/xm-pa.h,
config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
config/pa/xm-papro.h, config/romp/xm-romp.h,
config/rs6000/x-aix31, config/rs6000/x-aix41,
config/rs6000/x-beos, config/rs6000/x-lynx,
config/rs6000/x-mach, config/rs6000/x-rs6000,
config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h,
config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
config/sparc/x-sysv4, config/sparc/xm-linux.h,
config/sparc/xm-pbd.h, config/sparc/xm-sparc.h,
config/vax/xm-vms.h: Eradicate all references to alloca and
related stuff.

* config/xm-alloca.h, config/clipper/x-clix,
config/i386/xm-sysv4.h, config/i860/x-fx2800,
config/i860/x-sysv3, config/m88k/x-sysv3,
config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete
(contained only alloca related hacks).

* config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define
USE_C_ALLOCA.

From-SVN: r40259

23 years agoDaily bump.
GCC Administrator [Tue, 6 Mar 2001 08:16:39 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r40258

23 years agoFix a problem where rest_of_decl_compilation applied to class_dtable_decl causes...
Per Bothner [Tue, 6 Mar 2001 07:29:31 +0000 (23:29 -0800)] 
Fix a problem where rest_of_decl_compilation applied to class_dtable_decl causes problems because it was done too early...

Fix a problem where rest_of_decl_compilation applied to
class_dtable_decl causes problems because it was done too early,
before output file was opened.
* decl.c (init_decl_processing):  Remove init of class_dtable_decl.
* class.c (class_dtable_decl):  Add macro - element of class_roots.
(make_class_data):  Define class_dtable_decl.
* java-tree.h (JTI_CLASS_DTABLE_DECL, class_dtable_decl):  Removed.

From-SVN: r40256

23 years agostd_cmath.h: Move abs(long), div(long,long) from here...
Scott Snyder [Tue, 6 Mar 2001 02:51:15 +0000 (02:51 +0000)] 
std_cmath.h: Move abs(long), div(long,long) from here...

2001-03-05  scott snyder  <snyder@fnal.gov>

libstdc++/2190
        * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
        from here...
        * include/c_std/bits/std_cstdlib.h: ... to here.
* testsuite/17_intro/header_cstdlib.cc: Add test.

From-SVN: r40254

23 years agovec.cc (__cxxa_vec_new2): Qualify size_t.
Stephen M. Webb [Tue, 6 Mar 2001 01:31:09 +0000 (01:31 +0000)] 
vec.cc (__cxxa_vec_new2): Qualify size_t.

2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>

* libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.

From-SVN: r40253

23 years agoTreeSet.java (writeObject): Use a for-loop instead of Iterator.hasNext().
Bryce McKinlay [Tue, 6 Mar 2001 01:04:28 +0000 (01:04 +0000)] 
TreeSet.java (writeObject): Use a for-loop instead of Iterator.hasNext().

2001-03-06  Bryce McKinlay  <bryce@albatross.co.nz>

* java/util/TreeSet.java (writeObject): Use a for-loop instead of
Iterator.hasNext().

2001-03-05  Jochen Hoenicke  <jochen@gnu.org>

* java/util/TreeMap.java (writeObject): Use defaultWriteObject()
instead of the new JDK1.2 API.  This is simpler and makes
back-porting the classes to JDK1.1 trivial.
(readObject): likewise.

From-SVN: r40252

23 years ago* invoke.texi: Document __FAST_MATH__.
Brad Lucier [Mon, 5 Mar 2001 23:50:06 +0000 (23:50 +0000)] 
* invoke.texi: Document __FAST_MATH__.

From-SVN: r40249

23 years ago* crtstuff.c: Restore include of auto-host.h.
Kaveh R. Ghazi [Mon, 5 Mar 2001 21:05:49 +0000 (21:05 +0000)] 
* crtstuff.c: Restore include of auto-host.h.

From-SVN: r40248

23 years agoPut main() in a separate file, so that the language
Fergus Henderson [Mon, 5 Mar 2001 12:17:45 +0000 (12:17 +0000)] 
Put main() in a separate file, so that the language
front-end can use a different main().

* main.c: New.
* toplev.c: (main): Rename as toplev_main.
* toplev.h: Declare toplev_main.
* Makefile.in (OBJS): add toplev.o.
  (BACKEND): remove toplev.o, add main.o.

From-SVN: r40247

23 years agoDaily bump.
GCC Administrator [Mon, 5 Mar 2001 08:16:41 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r40246

23 years agoctype_base.h (ctype_base): fix __to_type definition.
Laurynas Biveinis [Mon, 5 Mar 2001 04:44:16 +0000 (04:44 +0000)] 
ctype_base.h (ctype_base): fix __to_type definition.

        * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
        definition. Replace enum with static const variables.

        * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
        throw specification, fix typos, use <static_cast>.
        (ctype<char>::scan_is): remove throw specification.
        (ctype<char>::scan_not): likewise.

        * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
        (ctype<char>::do_toupper(char)): use <static_cast>.
        (ctype<char>::do_toupper(char *, const char *)): likewise.
        (ctype<char>::do_tolower(char)): likewise.
        (ctype<char>::do_tolower(char *, const char *)): likewise.

From-SVN: r40243

23 years ago* cplus-dem.c (main): Cast enum style to int.
John David Anglin [Mon, 5 Mar 2001 02:43:27 +0000 (02:43 +0000)] 
* cplus-dem.c (main): Cast enum style to int.

From-SVN: r40242

23 years agoalgo.h: Use std not __STD.
Phil Edwards [Sun, 4 Mar 2001 21:34:02 +0000 (21:34 +0000)] 
algo.h: Use std not __STD.

2001-03-04  Phil Edwards  <pme@sources.redhat.com>

http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
* include/backward/algo.h:  Use std not __STD.  Remove unneeded
macros and "never happens" code.  Adjust to C++STYLE guidelines.
* include/backward/algobase.h:  Likewise.
* include/backward/alloc.h:  Likewise.
* include/backward/bvector.h:  Likewise.
* include/backward/deque.h:  Likewise.
* include/backward/function.h:  Likewise.
* include/backward/hash_map.h:  Likewise.
* include/backward/hash_set.h:  Likewise.
* include/backward/hashtable.h:  Likewise.
* include/backward/heap.h:  Likewise.
* include/backward/iterator.h:  Likewise.
* include/backward/list.h:  Likewise.
* include/backward/map.h:  Likewise.
* include/backward/multimap.h:  Likewise.
* include/backward/multiset.h:  Likewise.
* include/backward/pair.h:  Likewise.
* include/backward/rope.h:  Likewise.
* include/backward/set.h:  Likewise.
* include/backward/slist.h:  Likewise.
* include/backward/stack.h:  Likewise.
* include/backward/strstream:  Likewise.
* include/backward/tempbuf.h:  Likewise.
* include/backward/tree.h:  Likewise.
* include/backward/vector.h:  Likewise.
* include/bits/basic_ios.h:  Likewise.
* include/bits/basic_ios.tcc:  Likewise.
* include/bits/basic_string.h:  Likewise.
* include/bits/c++config:  Likewise.
* include/bits/concept_checks.h:  Likewise.
* include/bits/fpos.h:  Likewise.
* include/bits/fstream.tcc:  Likewise.
* include/bits/functexcept.h:  Likewise.
* include/bits/ios_base.h:  Likewise.
* include/bits/istream.tcc:  Likewise.
* include/bits/mask_array.h:  Likewise.
* include/bits/ostream.tcc:  Likewise.
* include/bits/pthread_allocimpl.h:  Likewise.
* include/bits/sbuf_iter.h:  Likewise.
* include/bits/slice.h:  Likewise.
* include/bits/slice_array.h:  Likewise.
* include/bits/sstream.tcc:  Likewise.
* include/bits/std_bitset.h:  Likewise.
* include/bits/std_fstream.h:  Likewise.
* include/bits/std_iomanip.h:  Likewise.
* include/bits/std_ios.h:  Likewise.
* include/bits/std_istream.h:  Likewise.
* include/bits/std_iterator.h:  Likewise.
* include/bits/std_memory.h:  Likewise.
* include/bits/std_ostream.h:  Likewise.
* include/bits/std_sstream.h:  Likewise.
* include/bits/std_streambuf.h:  Likewise.
* include/bits/std_string.h:  Likewise.
* include/bits/std_valarray.h:  Likewise.
* include/bits/stl_algo.h:  Likewise.
* include/bits/stl_algobase.h:  Likewise.
* include/bits/stl_alloc.h:  Likewise.
* include/bits/stl_construct.h:  Likewise.
* include/bits/stl_deque.h:  Likewise.
* include/bits/stl_function.h:  Likewise.
* include/bits/stl_heap.h:  Likewise.
* include/bits/stl_iterator.h:  Likewise.
* include/bits/stl_iterator_base.h:  Likewise.
* include/bits/stl_list.h:  Likewise.
* include/bits/stl_map.h:  Likewise.
* include/bits/stl_multimap.h:  Likewise.
* include/bits/stl_multiset.h:  Likewise.
* include/bits/stl_numeric.h:  Likewise.
* include/bits/stl_pair.h:  Likewise.
* include/bits/stl_pthread_alloc.h:  Likewise.
* include/bits/stl_queue.h:  Likewise.
* include/bits/stl_raw_storage_iter.h:  Likewise.
* include/bits/stl_relops.h:  Likewise.
* include/bits/stl_set.h:  Likewise.
* include/bits/stl_stack.h:  Likewise.
* include/bits/stl_tempbuf.h:  Likewise.
* include/bits/stl_threads.h:  Likewise.
* include/bits/stl_tree.h:  Likewise.
* include/bits/stl_uninitialized.h:  Likewise.
* include/bits/stl_vector.h:  Likewise.
* include/bits/streambuf.tcc:  Likewise.
* include/bits/type_traits.h:  Likewise.
* include/bits/valarray_meta.h:  Likewise.
* include/ext/bvector:  Likewise.
* include/ext/hash_map:  Likewise.
* include/ext/hash_set:  Likewise.
* include/ext/ropeimpl.h:  Likewise.
* include/ext/slist:  Likewise.
* include/ext/stl_bvector.h:  Likewise.
* include/ext/stl_hash_fun.h:  Likewise.
* include/ext/stl_hashtable.h:  Likewise.
* include/ext/stl_rope.h:  Likewise.
* src/complex_io.cc:  Likewise.
* src/ios.cc:  Likewise.
* src/locale-inst.cc:  Likewise.
* src/locale.cc:  Likewise.
* src/localename.cc:  Likewise.
* src/misc-inst.cc:  Likewise.
* src/stdexcept.cc:  Likewise.
* src/stl-inst.cc:  Likewise.
* src/strstream.cc:  Likewise.
* src/valarray-inst.cc:  Likewise.

From-SVN: r40239

23 years ago* cppfiles.c (search_from): Special case the empty string.
Neil Booth [Sun, 4 Mar 2001 15:10:46 +0000 (15:10 +0000)] 
* cppfiles.c (search_from): Special case the empty string.

From-SVN: r40236

23 years agocppfiles.c (_cpp_execute_include): Don't make a null-terminated copy of the filename.
Neil Booth [Sun, 4 Mar 2001 12:02:02 +0000 (12:02 +0000)] 
cppfiles.c (_cpp_execute_include): Don't make a null-terminated copy of the filename.

* cppfiles.c (_cpp_execute_include): Don't make a null-terminated
copy of the filename.  Don't use CPP_PREV_BUFFER.  Don't call
strlen or strcpy; we already know the length.
(_cpp_compare_file_date): Similarly.
* cpphash.h (struct cpp_reader): Delete done_initialising.
(CPP_PREV_BUFFER): Delete.
* cppinit.c (cpp_start_read): Don't set done_initialising.
* cpplex.c (parse_string): Guarantee null-termination.
(_cpp_equiv_toklists): Remove.
* cpplib.c (glue_header_name): Null-terminate.
(do_line): Don't leak memory.
* cpplib.h (BT_WEAK): Delete.
* cppmain.c (cb_ident): Strings are now null-terminated.

From-SVN: r40233

23 years agogcc.c (convert_filename): Append executable suffix if NO_AUTO_EXE_SUFFIX is not defined.
Laurynas Biveinis [Sun, 4 Mar 2001 09:08:25 +0000 (09:08 +0000)] 
gcc.c (convert_filename): Append executable suffix if NO_AUTO_EXE_SUFFIX is not defined.

        * gcc.c (convert_filename): Append executable suffix
        if NO_AUTO_EXE_SUFFIX is not defined.
        * gcc.texi: Document NO_AUTO_EXE_SUFFIX.
        * config/i386/djgpp.h: Define NO_AUTO_EXE_SUFFIX.

From-SVN: r40229

23 years agoDaily bump.
GCC Administrator [Sun, 4 Mar 2001 08:16:08 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r40226

23 years agoRe-remove c-gperf.h.
David O'Brien [Sun, 4 Mar 2001 00:29:59 +0000 (00:29 +0000)] 
Re-remove c-gperf.h.

Approved by:  Jeffrey A Law <law@redhat.com>
              <6253.979532098@upchuck.cygnus.com>
              Tom Tromey <tromey@redhat.com>
              <87d7ce8gcz.fsf@creche.redhat.com>

From-SVN: r40225

23 years agocpplex.c (_cpp_lex_token): Don't warn about directives in macro arguments when lookin...
Neil Booth [Sat, 3 Mar 2001 22:14:08 +0000 (22:14 +0000)] 
cpplex.c (_cpp_lex_token): Don't warn about directives in macro arguments when looking for the '('.

* cpplex.c (_cpp_lex_token): Don't warn about directives in
macro arguments when looking for the '('.
* cppmacro.c (funlike_invocation_p): Set parsing_args to
2 when really parsing arguments; 1 when looking for '('.
Always restore the lexer position.
* gcc.dg/cpp/cppmacro7.c: New test.

From-SVN: r40223

23 years agoUnder the "obviously correct" rule, fix the formatting breakage of people using 8...
David O'Brien [Sat, 3 Mar 2001 19:41:07 +0000 (19:41 +0000)] 
Under the "obviously correct" rule, fix the formatting breakage of people using 8-space indents vs.

Under the "obviously correct" rule, fix the formatting breakage of people
using 8-space indents vs. a single <tab> character.

From-SVN: r40221

23 years ago* longlong.h (umul_ppmm): Don't use a multiline string.
Neil Booth [Sat, 3 Mar 2001 19:38:14 +0000 (19:38 +0000)] 
* longlong.h (umul_ppmm): Don't use a multiline string.

From-SVN: r40219

23 years agofixlib.h (t_bool): Add identifier `t_bool' in typedef.
John David Anglin [Sat, 3 Mar 2001 19:05:00 +0000 (19:05 +0000)] 
fixlib.h (t_bool): Add identifier `t_bool' in typedef.

* fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef.
* fixinc/server.c (read_pipe_timeout): Use enum t_bool instead of
t_bool in declaration because pcc can't combine volatile with typedef
types.

From-SVN: r40217

23 years agoi386.c (ix86_expand_fp_compare): Delay creating of scratch register until when it...
Jan Hubicka [Sat, 3 Mar 2001 18:49:05 +0000 (19:49 +0100)] 
i386.c (ix86_expand_fp_compare): Delay creating of scratch register until when it is really needed.

* i386.c (ix86_expand_fp_compare): Delay creating of scratch register
until when it is really needed.
(ix86_expand_compare): Update call of ix86_expand_fp_compare.
* i386.h (PREDICATE_CODES): Add all codes for sse_comparison_operator
* i386.md (float?i?f splitter): Don't force source operand to memory
for SSE.
(sse_movdfcc): Fix constraint.
(sse_movdfcc splitter): Handle properly the second alternative.

From-SVN: r40216

23 years ago* gcc.dg/cpp/multiline.c: Update.
Neil Booth [Sat, 3 Mar 2001 18:10:34 +0000 (18:10 +0000)] 
* gcc.dg/cpp/multiline.c: Update.

From-SVN: r40215

23 years ago* cpplex.c (parse_string): Unconditionally pedwarn.
Neil Booth [Sat, 3 Mar 2001 14:50:20 +0000 (14:50 +0000)] 
* cpplex.c (parse_string): Unconditionally pedwarn.

From-SVN: r40214

23 years agocpp.texi: Update.
Neil Booth [Sat, 3 Mar 2001 11:32:32 +0000 (11:32 +0000)] 
cpp.texi: Update.

        * cpp.texi: Update.
        * cppexp.c (parse_number): Update.
        * cpplex.c (parse_string): Pedwarn if multiline string does not
        result from a system header's macro.
        * cpplib.h (sys_objmacro_p): Rename sys_macro_p.
        * cppmacro.c (sys_objmacro_p): Rename sys_macro_p.  Return true
        for function-like macros too.
* c-lex.c (parse_number): Update.

From-SVN: r40211

23 years agomisc-inst.cc (__copy_streambufs): Fix typo for alpha.
Benjamin Kosnik [Sat, 3 Mar 2001 10:42:05 +0000 (10:42 +0000)] 
misc-inst.cc (__copy_streambufs): Fix typo for alpha.

2001-03-03  Benjamin Kosnik  <bkoz@redhat.com>

* src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.

From-SVN: r40208

23 years ago* dwarf2out.c (output_call_frame_info): Fix augmentation length.
Richard Henderson [Sat, 3 Mar 2001 10:08:14 +0000 (02:08 -0800)] 
* dwarf2out.c (output_call_frame_info): Fix augmentation length.

From-SVN: r40207

23 years agoDaily bump.
GCC Administrator [Sat, 3 Mar 2001 08:16:38 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r40204

23 years agocombine.c (try_combine): If split with mode-changed scratch register didn't work...
J"orn Rennecke [Sat, 3 Mar 2001 04:19:50 +0000 (04:19 +0000)] 
combine.c (try_combine): If split with mode-changed scratch register didn't work, try the original mode.

* combine.c (try_combine): If split with mode-changed scratch
register didn't work, try the original mode.

From-SVN: r40201

23 years agotm.texi: Change STRUCT_FORCE_BLK to MEMBER_TYPE_FORCES_BLK.
J"orn Rennecke [Sat, 3 Mar 2001 03:53:44 +0000 (03:53 +0000)] 
tm.texi: Change STRUCT_FORCE_BLK to MEMBER_TYPE_FORCES_BLK.

* tm.texi: Change STRUCT_FORCE_BLK to MEMBER_TYPE_FORCES_BLK.
* config/c4x/c4x.h: Likewise.
* stor-layout.c (compute_record_mode): Likewise.
(layout_type, case ARRAY_TYPE): Use MEMBER_TYPE_FORCES_BLK.

From-SVN: r40200

23 years agoconfigure.in: Kill tm.h.
Zack Weinberg [Sat, 3 Mar 2001 03:32:55 +0000 (03:32 +0000)] 
configure.in: Kill tm.h.

* configure.in: Kill tm.h.  Include the files in the $tm_file
list in all three of config.h, hconfig.h, tconfig.h, after the
relevant set of xm_files.  Put TARGET_CPU_DEFAULT in all
three, include insn-codes.h in all three (#ifndef GENERATOR_FILE).
* configure: Regenerate.
* Makefile.in (clean): Don't delete tm.h.

* system.h: If SUCCESS_EXIT_CODE and FATAL_EXIT_CODE are not
defined, set them from EXIT_SUCCESS and EXIT_FAILURE.  If
those are not defined, set SEC and FEC to 0 and 1.
* gcc.texi: Update to match.

* crtstuff.c: Include tconfig.h, not auto-host.h and tm.h.
* config/fp-bit.c, config/m68k/aux-crt2.asm,
config/m68k/aux-crtn.asm, config/m68k/aux-mcount.c:
Include tconfig.h, not tm.h.

* config/xm-lynx.h, config/xm-std32.h,
config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
config/alpha/xm-alpha.h, config/arc/xm-arc.h,
config/avr/xm-avr.h, config/c4x/xm-c4x.h,
config/clipper/xm-clix.h, config/convex/xm-convex.h,
config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
config/h8300/xm-h8300.h, config/i370/xm-linux.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/ia64/xm-ia64.h,
config/m32r/xm-m32r.h, config/m68hc11/xm-m68hc11.h,
config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pa/xm-linux.h, config/pa/xm-pa.h,
config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
config/pa/xm-papro.h, config/pdp11/xm-pdp11.h,
config/pj/xm-pj.h, config/romp/xm-romp.h,
config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
config/v850/xm-v850.h, config/vax/xm-vax.h,
config/we32k/xm-we32k.h:
Don't include tm.h.
Don't define SUCCESS_EXIT_CODE or FATAL_EXIT_CODE.

* config/i370/xm-i370.h, config/i370/xm-mvs.h,
config/i370/xm-oe.h: Don't include tm.h.  Don't define
SUCCESS_EXIT_CODE.
* config/vax/xm-vms.h: Don't include tm.h.

* config/xm-lynx.h, config/avr/xm-avr.h,
config/fr30/xm-fr30.h, config/pdp11/xm-pdp11.h,
Delete; made empty by above changes.
* config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
config/rs6000/xm-lynx.h, config/sparc/xm-lynx.h:
Don't include config/xm-lynx.h or tm.h.

* config/xm-gnu.h: Don't include fcntl.h.
* config/sparc/xm-lynx.h: Don't include sys/types.h and
sys/wait.h.
* config/clipper/xm-clix.h, config/vax/xm-vax.h: Don't define isinf.

From-SVN: r40199

23 years agotm.texi (File Framework): Document UNALIGNED_SHORT_ASM_OP...
Richard Henderson [Sat, 3 Mar 2001 02:44:19 +0000 (18:44 -0800)] 
tm.texi (File Framework): Document UNALIGNED_SHORT_ASM_OP...

        * tm.texi (File Framework): Document UNALIGNED_SHORT_ASM_OP,
        UNALIGNED_INT_ASM_OP, and UNALIGNED_DOUBLE_INT_ASM_OP.

From-SVN: r40198

23 years agoMakefile.in (OBJS): Add dwarf2asm.o.
Richard Henderson [Sat, 3 Mar 2001 02:17:07 +0000 (18:17 -0800)] 
Makefile.in (OBJS): Add dwarf2asm.o.

* Makefile.in (OBJS): Add dwarf2asm.o.
* dwarf2asm.c, dwarf2asm.h: New files.
* dwarf2out.c (*): Use them.
(size_of_uleb128, size_of_sleb128): Remove.
(output_uleb128, output_sleb128): Remove.
(UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Remove.
(UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Remove.
(UNALIGNED_OFFSET_ASM_OP, UNALIGNED_WORD_ASM_OP): Remove.
(FDE_LABEL, LINE_NUMBER_BEGIN_LABEL, LINE_NUMBER_END_LABEL): New.
(ASM_OUTPUT_DWARF_DATA1, ASM_OUTPUT_DWARF_DELTA1): Remove.
(ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_DELTA2): Remove.
(ASM_OUTPUT_DWARF_DATA4, ASM_OUTPUT_DWARF_DELTA4): Remove.
(ASM_OUTPUT_DWARF_DATA, ASM_OUTPUT_DWARF_DELTA): Remove.
(ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_ADDR_DATA): Remove.
(ASM_OUTPUT_DWARF_ADDR_DELTA, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
(ASM_OUTPUT_DWARF_OFFSET4, ASM_OUTPUT_DWARF_OFFSET): Remove.
(ASM_OUTPUT_DWARF_CONST_DOUBLE): Remove.
(ASM_OUTPUT_DWARF_NSTRING, ASM_OUTPUT_DWARF_STRING): Remove.
(dwarf2out_frame_debug): Remove unused variables.
(output_loc_operands): Don't abort on 8 byte constants if
host integers are wide enough.
(output_symbolic_ref): Remove.
(size_of_die): Don't assume 4 byte host integers.
(output_line_info): Use ASM_GENERATE_INTERNAL_LABEL for begin
and end labels.
(add_const_value_attribute) [CONST_INT]: Verify we're not doing
something stupid with HOST_WIDE_INT to long truncation.
[CONST_DOUBLE]: Likewise.

* config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Remove.
(ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
* config/arm/unknown-elf.h: Likewise.
* config/rs6000/aix.h (UNALIGNED_SHORT_ASM_OP): New.
(UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): New.
(ASM_OUTPUT_DWARF_ADDR_VAR, ASM_OUTPUT_DWARF_DELTA_VAR): Remove.
(ASM_OUTPUT_DWARF_DELTA2, ASM_OUTPUT_DWARF_DELTA4): Remove.
(ASM_OUTPUT_DWARF_DELTA, ASM_OUTPUT_DWARF_ADDR_DELTA): Remove.
(ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_DATA4): Remove.
(ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_OFFSET4): Remove.
(ASM_OUTPUT_DWARF_OFFSET): Remove.
* config/rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Remove.
* config/sparc/sp64-elf.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
(UNALIGNED_LONGLONG_ASM_OP, ASM_OUTPUT_DWARF_ADDR): Remove.
(ASM_OUTPUT_DWARF_ADDR_CONST, ASM_OUTPUT_DWARF_REF): Remove.

From-SVN: r40197

23 years ago* cselib.c (hash_rtx): Cast enums to unsigned int.
John David Anglin [Fri, 2 Mar 2001 23:15:32 +0000 (23:15 +0000)] 
* cselib.c (hash_rtx): Cast enums to unsigned int.

From-SVN: r40196

23 years agoRemove RCS ident strings to allow comparisions with multiple source checkouts to...
Nick Clifton [Fri, 2 Mar 2001 22:21:24 +0000 (22:21 +0000)] 
Remove RCS ident strings to allow comparisions with multiple source checkouts to work

From-SVN: r40195

23 years agoremove spurious code
Nick Clifton [Fri, 2 Mar 2001 21:55:29 +0000 (21:55 +0000)] 
remove spurious code

From-SVN: r40194

23 years agoprint-rtl.c (print_rtx): Cast enums to int for comparison.
John David Anglin [Fri, 2 Mar 2001 21:41:37 +0000 (21:41 +0000)] 
print-rtl.c (print_rtx): Cast enums to int for comparison.

* print-rtl.c (print_rtx): Cast enums to int for comparison.
* c-decl.c (grokdeclarator): Cast enums to int for comparison and
shifts.
* c-format.c (C_STD_VER): Cast to int for comparisons.
(check_function_format): Cast various enums to int for &.
(maybe_read_dollar_number): Likewise.
(check_format_info): Likewise.
(check_format_info_main): Likewise.
* expr.c (emit_move_insn_1): Cast enums to unsigned int for comparison.
(safe_from_p): Likewise.
* varasm.c (const_hash): Cast enum to int for %.
* emit-rtl.c (init_emit_once): Use int loop variable to work around
pcc enum problems with < and ++ operators.
* regclass.c (init_reg_sets_1): Cast enums for comparison.
(choose_hard_reg_mode): Use unsigned int to iterate over CCmodes.
(regclass_init): Change enum class to int to iterate over reg_classes.
* genrecog.c (merge_trees): Cast enums for comparison.
* rtl.h (GET_CODE): Cast to enum rtx_code.
(PUT_CODE): Cast to ENUM_BITFIELD(rtx_code).
(GET_MODE): Cast to enum machine_mode.
(PUT_MODE): Cast to ENUM_BITFIELD(machine_mode).
(GET_NOTE_INSN_NAME): Cast enum to int.
* tree.h (TREE_CODE): Cast to enum tree_code.
(TREE_SET_CODE): Cast VALUE to ENUM_BITFIELD(tree_code).
        * timevar.c (timevar_print): Change loop variable id from enum to
unsigned int.
* fixinc/fixincl.c (VLEVEL): Cast enums in comparison to unsigned int.
* config/i386/i386.md: Use PUT_MODE for mode assignment.
* toplev.c (compile_file): Cast enum DFI to int.
(decode_d_option): Likewise.

From-SVN: r40193

23 years ago[multiple changes]
Benjamin Kosnik [Fri, 2 Mar 2001 21:38:26 +0000 (21:38 +0000)] 
[multiple changes]

2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

        * include/bits/istream.tcc: change type of __extracted to __size_type

2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>

* src/wstring-inst.cc: New file.
* src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
(libinst_wstring_la_SOURCES): Remove.
(libstdc___la_LIBADD): Remove libinst_wstring_la.
(sources): Add wstring-inst.cc
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
libinst_wstring_la.

From-SVN: r40192

23 years agocppinit.c (append_include_chain): Mark "after" include file name list as a system...
Christopher Faylor [Fri, 2 Mar 2001 17:20:30 +0000 (17:20 +0000)] 
cppinit.c (append_include_chain): Mark "after" include file name list as a system directory.

* cppinit.c (append_include_chain): Mark "after" include file name list as a
system directory.
* cpp.texi: Document new behavior.

From-SVN: r40189

23 years agolocale.cc: initialise __ret with zero
Peter Schmid [Fri, 2 Mar 2001 17:18:54 +0000 (17:18 +0000)] 
locale.cc: initialise __ret with zero

2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

        * src/locale.cc: initialise __ret with zero
        * src/strstream.cc:cast gptr to int_type

From-SVN: r40188

23 years agotypeck.c (build_static_cast): Allow enum to enum conversions as per DR 128.
Nathan Sidwell [Fri, 2 Mar 2001 11:48:38 +0000 (11:48 +0000)] 
typeck.c (build_static_cast): Allow enum to enum conversions as per DR 128.

cp:
* typeck.c (build_static_cast): Allow enum to enum conversions
as per DR 128.
testsuite:
* g++.old-deja/g++.other/enum3.C: New test.

From-SVN: r40187

23 years agoclass.c (check_field_decls): Pointers to member do not a non-pod struct make, as...
Nathan Sidwell [Fri, 2 Mar 2001 11:44:57 +0000 (11:44 +0000)] 
class.c (check_field_decls): Pointers to member do not a non-pod struct make, as per DR 148.

cp:
* class.c (check_field_decls): Pointers to member do not a
non-pod struct make, as per DR 148.
testsuite:
* g++.old-deja/g++.other/pod1.C: New test.

From-SVN: r40186

23 years agocall.c (joust): cp_pedwarn when using gnu extension concerning worst conversion seque...
Nathan Sidwell [Fri, 2 Mar 2001 11:32:45 +0000 (11:32 +0000)] 
call.c (joust): cp_pedwarn when using gnu extension concerning worst conversion sequences.

cp:
* call.c (joust): cp_pedwarn when using gnu extension concerning
worst conversion sequences.
testsuite:
* g++.old-deja/g++.ext/overload1.C: New test.

From-SVN: r40182

23 years ago* ifcvt.c (noce_operand_ok): Handle properly unarry operations.
Jan Hubicka [Fri, 2 Mar 2001 11:00:29 +0000 (12:00 +0100)] 
* ifcvt.c (noce_operand_ok): Handle properly unarry operations.

From-SVN: r40181

23 years agoDaily bump.
GCC Administrator [Fri, 2 Mar 2001 08:16:18 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r40179

23 years agocppfiles.c (struct include_file): Update.
Neil Booth [Fri, 2 Mar 2001 07:35:12 +0000 (07:35 +0000)] 
cppfiles.c (struct include_file): Update.

        * cppfiles.c (struct include_file): Update.
        (stack_include_file): Use search_from.
        (cpp_included, find_include_file): Update.
        (cpp_execute_include): Update.  ptr->name may not be
        null terminated.  Use the new search_from member variable
        of cpp_buffer.
        (_cpp_compare_file_date): Similarly.
        (search_from): New function, similiar to actual_directory.
        (actual_directory): Delete.
        (remap_filename): Update.  loc->name may not be null terminated.
        (struct file_name_list): Rename search_path.  Update.
        * cpphash.h (struct cpp_buffer): Delete actual_dir.  New members
        search_from and dir.
        (struct cpp_reader): Remove actual_dirs.
        * cppinit.c (struct cpp_pending): Update for renamed objects.
        (append_include_chain, remove_dup_dir, remove_dup_dirs,
        merge_include_chains, cpp_destroy, cpp_start_read): Similarly.
        * cpplib.h (struct cpp_options): Similarly.

From-SVN: r40178

23 years agoChanges merged from Kawa's gnu.math.
Per Bothner [Fri, 2 Mar 2001 06:55:33 +0000 (22:55 -0800)] 
Changes merged from Kawa's gnu.math.

* java/math/BigInteger.java
* gnu/gcj/math/MPN.java (rshift0): New method handles zero shift count.
(rshift(int[],int[],int,int):  Removed - not needed.
(gcd):  Use rshift0 rather than rshift.
* java/math/BigInteger.java (setShiftRight):  Likewise.
(divide):  Simplify by using rshift0.
(divide):  Zero-extend results if high-order bit set.

From-SVN: r40177

23 years agoxm-lynx.h, [...]: Do not define TRUE or FALSE.
Zack Weinberg [Fri, 2 Mar 2001 01:51:02 +0000 (01:51 +0000)] 
xm-lynx.h, [...]: Do not define TRUE or FALSE.

* config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h,
config/a29k/xm-unix.h, config/alpha/xm-alpha.h,
config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h,
config/clipper/xm-clix.h, config/convex/xm-convex.h,
config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
config/h8300/xm-h8300.h, config/i370/xm-i370.h,
config/i370/xm-linux.h, config/i370/xm-mvs.h,
config/i370/xm-oe.h, config/i386/xm-aix.h,
config/i386/xm-i386.h, config/i386/xm-osf.h,
config/i860/xm-i860.h, config/i960/xm-i960.h,
config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
config/m68k/xm-m68k.h, config/m88k/xm-m88k.h,
config/mcore/xm-mcore.h, config/mips/xm-mips.h,
config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h,
config/ns32k/xm-ns32k.h, config/pa/xm-linux.h,
config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
config/pa/xm-pahpux.h, config/pa/xm-papro.h,
config/pj/xm-pj.h, config/romp/xm-romp.h,
config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
config/v850/xm-v850.h, config/vax/xm-vax.h,
config/vax/xm-vms.h, config/we32k/xm-we32k.h:
Do not define TRUE or FALSE.

* config/i386/xm-aix.h, config/i386/xm-osf.h: Delete; made
empty by above change.
* config.gcc: Remove references to these files.

* configure.in: Detect stdbool.h.
* configure, config.in: Regenerate.
* system.h: Include stddef.h here if available.  Set
HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__.  Then
set up a sensible boolean type at the very end.

* combine.c, cse.c, expr.c, fold-const.c, gensupport.c,
f/com.c, config/mcore/mcore.c:
Rename variables named 'true' and/or 'false'.

* hash.h: Delete 'boolean' typedef and related #undefs.
* f/proj.h: Delete 'bool' type.  Don't include stddef.h here.

* function.c, ggc-common.c, hash.h, hash.c, tlink.c, cp/decl.c,
java/class.c, java/decl.c, java/java-tree.h:
Replace all uses of 'boolean' with 'bool'.

From-SVN: r40176

23 years agosafe-ctype.h (_sch_test): Cast enum bit to unsigned short int for pcc compatibility.
John David Anglin [Fri, 2 Mar 2001 01:17:23 +0000 (01:17 +0000)] 
safe-ctype.h (_sch_test): Cast enum bit to unsigned short int for pcc compatibility.

* safe-ctype.h (_sch_test): Cast enum bit to unsigned short int for pcc
compatibility.

From-SVN: r40175

23 years agocpplib.c (_cpp_init_stacks): Cast enum for comparison.
John David Anglin [Fri, 2 Mar 2001 01:11:50 +0000 (01:11 +0000)] 
cpplib.c (_cpp_init_stacks): Cast enum for comparison.

* cpplib.c (_cpp_init_stacks): Cast enum for comparison.
* cppexp.c (lex): Cast enums for comparison.
* cppinit.c (parse_option): Cast enum for comparison.
* cpplex.c (cpp_spell_token): Cast enums to int for minus.
(cpp_output_token): Likewise.
(cpp_can_paste): Cast enums for comparsion and plus/minus.
(cpp_avoid_paste): Cast enums for minus and comparison.

From-SVN: r40174

23 years agogcc.c, [...]: Add zero initializer for cpp_spec field to all array elements.
Zack Weinberg [Fri, 2 Mar 2001 01:03:47 +0000 (01:03 +0000)] 
gcc.c, [...]: Add zero initializer for cpp_spec field to all array elements.

* gcc.c, cp/lang-specs.h, f/lang-specs.h, java/lang-specs.h,
objc/lang-specs.h: Add zero initializer for cpp_spec field to
all array elements.
* cp/lang-specs.h: Don't put an #ifdef inside the initializer
list; set a default for CPLUSPLUS_CPP_SPEC and use it.

From-SVN: r40173

23 years agocpphash.h (struct cpp_reader): Add print_version field.
Zack Weinberg [Fri, 2 Mar 2001 00:42:28 +0000 (00:42 +0000)] 
cpphash.h (struct cpp_reader): Add print_version field.

* cpphash.h (struct cpp_reader): Add print_version field.
* cppinit.c (cpp_handle_option): For -v, -version, and --version,
just set print_version and other flags as appropriate.
(cpp_post_options): Print version here if print_version is set.

* toplev.c (exit_after_options): New flag.
(independent_decode_option): Don't exit here; just set
exit_after_options.
(main): Exit after calling lang_hooks.post_options if
exit_after_options is true.

* cppinit.c (append_include_chain): Drop never-used case QUOTE.
(merge_include_chains): Adjust comment to match code.

From-SVN: r40171

23 years agostringpool.c (set_identifier): New function.
Zack Weinberg [Fri, 2 Mar 2001 00:40:00 +0000 (00:40 +0000)] 
stringpool.c (set_identifier): New function.

* stringpool.c (set_identifier): New function.
* tree.h: Prototype it.

* c-parse.in: Kill D_YES. If compiled for objc, call
save_and_forget_protocol_qualifiers from init_reswords.
* objc/objc-act.c (remember_protocol_qualifiers,
forget_protocol_qualifiers): Don't diddle C_IS_RESERVED_WORD.
Swap out the non-keyword IDENTIFIER_NODEs for keyword ones, or
vice versa.
(save_and_forget_protocol_qualifiers): New function.
* c-lex.h: Prototype save_and_forget_protocol_qualifiers.

From-SVN: r40170

23 years agoc-semantics.c (prune_unused_decls): Return error_mark_node instead of (tree) 1 to...
Diego Novillo [Thu, 1 Mar 2001 23:11:05 +0000 (23:11 +0000)] 
c-semantics.c (prune_unused_decls): Return error_mark_node instead of (tree) 1 to stop traversing the tree chain.

2001-03-01  Diego Novillo  <dnovillo@redhat.com>

* c-semantics.c (prune_unused_decls): Return error_mark_node
instead of (tree) 1 to stop traversing the tree chain.

From-SVN: r40166

23 years agoindex.html: Update broken links.
Phil Edwards [Thu, 1 Mar 2001 22:32:23 +0000 (22:32 +0000)] 
index.html: Update broken links.

2001-03-01  Phil Edwards  <pme@sources.redhat.com>

* docs/html/faq/index.html:  Update broken links.
* docs/html/faq/index.txt:  Regenerated.

From-SVN: r40165

23 years agosom.h (ASM_IDENTIFY_GCC): Define.
Jeffrey A Law [Thu, 1 Mar 2001 18:47:26 +0000 (18:47 +0000)] 
som.h (ASM_IDENTIFY_GCC): Define.

        * config/pa/som.h  (ASM_IDENTIFY_GCC): Define.
        (ASM_IDENTIFY_GCC_AFTER_SOURCE): Likewise.

From-SVN: r40164

23 years agoUndo some breakage introduced Feb 18
Bernd Schmidt [Thu, 1 Mar 2001 17:51:18 +0000 (17:51 +0000)] 
Undo some breakage introduced Feb 18

From-SVN: r40162

23 years agopa.c (emit_move_sequence): Verify operand0 is a hard register before determining...
Jeffrey A Law [Thu, 1 Mar 2001 16:48:44 +0000 (16:48 +0000)] 
pa.c (emit_move_sequence): Verify operand0 is a hard register before determining its register class.

        * pa.c (emit_move_sequence): Verify operand0 is a hard register
        before determining its register class.

From-SVN: r40160

23 years agoRotate bundles earlier in ia64_sched_reorder
Bernd Schmidt [Thu, 1 Mar 2001 14:25:30 +0000 (14:25 +0000)] 
Rotate bundles earlier in ia64_sched_reorder

From-SVN: r40157

23 years agoEmit NOPs in the assembly output.
Bernd Schmidt [Thu, 1 Mar 2001 14:20:17 +0000 (14:20 +0000)] 
Emit NOPs in the assembly output.

From-SVN: r40156

23 years agoFix register renaming problem
Bernd Schmidt [Thu, 1 Mar 2001 14:04:23 +0000 (14:04 +0000)] 
Fix register renaming problem

From-SVN: r40152

23 years agoImplement using decls inside template functions.
Nathan Sidwell [Thu, 1 Mar 2001 14:01:39 +0000 (14:01 +0000)] 
Implement using decls inside template functions.

cp:
Implement using decls inside template functions.
* decl2.c (validate_nonmember_using_decl): Don't special case
fake_std_node in the global namespace. Don't reject early when
processing a template.
(do_local_using_decl): Add to statement tree. Don't do further
processing when building a template.
* pt.c (tsubst_expr, DECL_STMT case): Deal with USING_DECLs.
testsuite:
* g++.old-deja/g++.pt/using1.C: New test.

From-SVN: r40151

23 years agodecl2.c (do_nonmember_using_decl): Don't complain if we find same function.
Nathan Sidwell [Thu, 1 Mar 2001 13:51:00 +0000 (13:51 +0000)] 
decl2.c (do_nonmember_using_decl): Don't complain if we find same function.

cp:
* decl2.c (do_nonmember_using_decl): Don't complain if we find
same function. Do complain about ambiguating extern "C"
declarations.
testsuite:
* g++.old-deja/g++.other/using9.C: New test.

From-SVN: r40148

23 years agoFix register elimination problem
Bernd Schmidt [Thu, 1 Mar 2001 13:35:13 +0000 (13:35 +0000)] 
Fix register elimination problem

From-SVN: r40147

23 years agoAvoid exponential runtime
Bernd Schmidt [Thu, 1 Mar 2001 13:21:30 +0000 (13:21 +0000)] 
Avoid exponential runtime

From-SVN: r40145

23 years agoDaily bump.
GCC Administrator [Thu, 1 Mar 2001 08:16:44 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r40143

23 years agoconfigure.target: Change irix* to irix6.5* in target_os table.
Benjamin Kosnik [Thu, 1 Mar 2001 01:19:21 +0000 (01:19 +0000)] 
configure.target: Change irix* to irix6.5* in target_os table.

q
2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2064
* configure.target: Change irix* to irix6.5* in target_os table.

From-SVN: r40141

23 years agoc++config (__GLIBCPP__): Bump number in anticipation of 2.92.
Benjamin Kosnik [Thu, 1 Mar 2001 00:37:18 +0000 (00:37 +0000)] 
c++config (__GLIBCPP__): Bump number in anticipation of 2.92.

2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2103
* include/bits/c++config (__GLIBCPP__): Bump number in
anticipation of 2.92.

* include/bits/codecvt.h: Fix typo.
* include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
stdio model.
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
instantiations for stdio model.

From-SVN: r40140

23 years agoMakefile.in (check-c++): Use tabs, not spaces.
Benjamin Kosnik [Wed, 28 Feb 2001 23:30:26 +0000 (23:30 +0000)] 
Makefile.in (check-c++): Use tabs, not spaces.

2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
            Alexandre Oliva  <aoliva@redhat.com>

* Makefile.in (check-c++): Use tabs, not spaces.

Co-Authored-By: Alexandre Oliva <aoliva@redhat.com>
From-SVN: r40139

23 years agom68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes, since that doesn't work the way gcc...
DJ Delorie [Wed, 28 Feb 2001 22:54:22 +0000 (17:54 -0500)] 
m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes, since that doesn't work the way gcc wants on a generic m68k.

* config/m68k/m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes,
since that doesn't work the way gcc wants on a generic m68k.

From-SVN: r40138

23 years agocaller-save.c (save_call_clobbered_regs): Fix typo in comparison last change.
Richard Henderson [Wed, 28 Feb 2001 21:32:54 +0000 (13:32 -0800)] 
caller-save.c (save_call_clobbered_regs): Fix typo in comparison last change.

        * caller-save.c (save_call_clobbered_regs): Fix typo in
        comparison last change.

From-SVN: r40136

23 years agoacinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS and GLIBCPP_CXXFLAGS as unuse...
Phil Edwards [Wed, 28 Feb 2001 18:42:47 +0000 (18:42 +0000)] 
acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS and GLIBCPP_CXXFLAGS as unused variables.

2001-02-28  Phil Edwards  <pme@sources.redhat.com>

* acinclude.m4 (GLIBCPP_CONFIGURE):  Remove GLIBCPP_CFLAGS
  and GLIBCPP_CXXFLAGS as unused variables.
* configure.host:  Likewise.
* configure.target:  Likewise.
* aclocal.m4:  Regenerated.
* configure:  Regenerated.
* Makefile.in:  Regenerated.
* libio/Makefile.in:  Regenerated.
* libmath/Makefile.in:  Regenerated.
* libsupc++/Makefile.in:  Regenerated.
* src/Makefile.in:  Regenerated.

From-SVN: r40135

23 years agoi386.c (pentium4_cost): New.
Jan Hubicka [Wed, 28 Feb 2001 18:34:35 +0000 (19:34 +0100)] 
i386.c (pentium4_cost): New.

* i386.c (pentium4_cost): New.
(m_PENT4): New macro.
(x86_push_memory, x86_movx,x86_cmove, x86_deep_branch, x86_use_sahf
x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8
x86_integer_DFmode_moves, x86_partial_reg_dependency,
x86_memory_mismatch_stall): Add Pentium4
(x86_use_q_reg, x86_use_any_reg): Kill.
(override_options): Add pentium4.
(incdec_operand): Return 0 for pentium4.
(ix86_issue_rate): Add PROCESSOR_PENTIUM4 and PROCESSOR_ATHLON.
* i386.h (x86_use_q_reg, x86_use_any_reg): Kill.
(TARGET_PENTIUM4): Define.
(enum processor_type): Add PROCESSOR_PENTIUM4.
(CPP_CPU_DEFAULT_SPEC): Add pentium4 support.
* i386.md (attribute "cpu"): Add pentium4.
* invoke.texi (march): Add pentium4.

From-SVN: r40134

23 years agoi386.md (sse_mov?fcc*): New patterns and splitters.
Jan Hubicka [Wed, 28 Feb 2001 18:29:14 +0000 (19:29 +0100)] 
i386.md (sse_mov?fcc*): New patterns and splitters.

* i386.md (sse_mov?fcc*): New patterns and splitters.
* i386.c (ix86_expand_movcc): Work post-reload; recognize
the SSE based conditional moves.

From-SVN: r40133

23 years agoi386.md (attribute mode): Add "TI".
Jan Hubicka [Wed, 28 Feb 2001 18:19:23 +0000 (19:19 +0100)] 
i386.md (attribute mode): Add "TI".

* i386.md (attribute mode): Add "TI".
(movsf_1): Add pxor support; remove constant propagation splitter.
(movdf_integer): Likewise.
(movdf_nointeger): Likewise.
(movxf constant prop splitter): Handle all modes; update for SSE.
* i386.h (CONST_DOUBLE_OK_FOR_LETTER): Add 'H' for SSE constants.
* i386.c (standard_80387_constant_p): Rewrite.
(standard_sse_constant_p): New.
* i386-protos.h (standard_sse_constant_p): New.

From-SVN: r40132

23 years agoi386.md (sse_setccsf, [...]): New.
Jan Hubicka [Wed, 28 Feb 2001 18:07:05 +0000 (19:07 +0100)] 
i386.md (sse_setccsf, [...]): New.

* i386.md (sse_setccsf, sse_setccdf): New.
(sse_cmp* patterns): Use '%D' instead of outputtting condition
flag directly.
* i386.c (sse_comparison_operator): Accept the supported unordered
comparses; be ready for fast_math.
(print_operand): Support 'D'.

From-SVN: r40131

23 years ago* jump.c (reversed_comparison_code): Kill.
Jan Hubicka [Wed, 28 Feb 2001 17:55:53 +0000 (17:55 +0000)] 
* jump.c (reversed_comparison_code): Kill.

From-SVN: r40130

23 years agoUndo the accidental checkin :(
Jan Hubicka [Wed, 28 Feb 2001 17:53:35 +0000 (17:53 +0000)] 
Undo the accidental checkin :(

From-SVN: r40129

23 years agotoplev.c (rest_of_compilation): Do post-reload splitting unconditionally for STACK_REGS
Jan Hubicka [Wed, 28 Feb 2001 17:52:30 +0000 (17:52 +0000)] 
toplev.c (rest_of_compilation): Do post-reload splitting unconditionally for STACK_REGS

* toplev.c (rest_of_compilation): Do post-reload splitting unconditionally
for STACK_REGS

From-SVN: r40128

23 years agoi386.md (sse_andti3, [...]): Add SSE2 versions; add missing '%' in constraints.
Jan Hubicka [Wed, 28 Feb 2001 17:49:37 +0000 (18:49 +0100)] 
i386.md (sse_andti3, [...]): Add SSE2 versions; add missing '%' in constraints.

* i386.md (sse_andti3, sse_nandti_3, sse_xorti3): Add SSE2 versions;
add missing '%' in constraints.

From-SVN: r40127

23 years agoobjc-features.texi: Document the @compatibility_alias compiler directive (description...
Ovidiu Predescu [Wed, 28 Feb 2001 17:17:09 +0000 (17:17 +0000)] 
objc-features.texi: Document the @compatibility_alias compiler directive (description from Nicola...

2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>

* objc-features.texi: Document the @compatibility_alias compiler
directive (description from Nicola Pero <n.pero@mi.flashnet.it>).

From-SVN: r40126

23 years agoDocument the @compatibility_alias compiler directive (description from
Ovidiu Predescu [Wed, 28 Feb 2001 17:16:17 +0000 (17:16 +0000)] 
Document the @compatibility_alias compiler directive (description from
Nicola Pero <n.pero@mi.flashnet.it>).

From-SVN: r40125

23 years agobycopy-3.m: Added new test from Nicola Pero.
Ovidiu Predescu [Wed, 28 Feb 2001 17:08:09 +0000 (17:08 +0000)] 
bycopy-3.m: Added new test from Nicola Pero.

2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>

* objc/execute/bycopy-3.m: Added new test from Nicola Pero.

* objc/execute/protocol.m (main): Added patch from Nicola Pero.

From-SVN: r40124

23 years agoAdded new test from Nicola Pero.
Ovidiu Predescu [Wed, 28 Feb 2001 17:05:10 +0000 (17:05 +0000)] 
Added new test from Nicola Pero.

From-SVN: r40123

23 years agoAdded.
Ovidiu Predescu [Wed, 28 Feb 2001 16:58:04 +0000 (16:58 +0000)] 
Added.

From-SVN: r40122

23 years agoc-common.c (build_common_tree_nodes): Build intTI_type_nodes for HOST_BITS_PER_WIDE_I...
Jan Hubicka [Wed, 28 Feb 2001 16:25:05 +0000 (17:25 +0100)] 
c-common.c (build_common_tree_nodes): Build intTI_type_nodes for HOST_BITS_PER_WIDE_INT == 32 too.

* c-common.c (build_common_tree_nodes): Build intTI_type_nodes
for HOST_BITS_PER_WIDE_INT == 32 too.

From-SVN: r40121

23 years agocaller-save.c (reg_save_code, [...]): Index by mode, not NREGS.
Jan Hubicka [Wed, 28 Feb 2001 16:24:00 +0000 (17:24 +0100)] 
caller-save.c (reg_save_code, [...]): Index by mode, not NREGS.

* caller-save.c (reg_save_code, reg_restore_code):  Index by mode, not
NREGS.
(insert_save, insert_restore): New parameter save_mode.
(init_caller_save): Update initialization of reg_save_code
and reg_restore_code.
(save_call_clobbered_regs):  Compute save_modes and update calls to
reg_save_code and reg_restore_code.
(insert_restore):  Unsignetize numbers; use save_modes to choose mode
of spill; update use of reg_restore_code.
(insert_save):  Likewise.
* i386.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
* c4x.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
* regs.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise.

From-SVN: r40120

23 years agoifcvt.c (noce_emit_store_flag, [...]): Use reversed_comparison_code instead of revers...
Jan Hubicka [Wed, 28 Feb 2001 16:20:43 +0000 (16:20 +0000)] 
ifcvt.c (noce_emit_store_flag, [...]): Use reversed_comparison_code instead of reverse_comparison and...

* ifcvt.c (noce_emit_store_flag, noce_try_store_flag_constants,
noce_try_store_flag_inc, noce_try_store_flag_mask,
noce_try_cmove_arith):
Use reversed_comparison_code instead of reverse_comparison and
can_reverse_comparison_p.

From-SVN: r40119

23 years agojump.c (reversed_comparison_code_parts): Allow reversal of unordered compares in...
Jan Hubicka [Wed, 28 Feb 2001 16:19:16 +0000 (17:19 +0100)] 
jump.c (reversed_comparison_code_parts): Allow reversal of unordered compares in -ffast-math mode...

* jump.c (reversed_comparison_code_parts): Allow reversal of
unordered compares in -ffast-math mode; reverse ordered compares
for FP even w/o -ffast-math.

From-SVN: r40118

23 years agoRemove floating point and complex type template constant parms.
Nathan Sidwell [Wed, 28 Feb 2001 10:44:05 +0000 (10:44 +0000)] 
Remove floating point and complex type template constant parms.

cp:
Remove floating point and complex type template constant parms.
* pt.c (convert_nontype_argument): Remove REAL_TYPE and
COMPLEX_TYPE extensions.
(invalid_nontype_parm_type_p): Likewise.
testuite:
* g++.old-deja/g++.ext/realpt1.C: Remove.

From-SVN: r40117

23 years agoDaily bump.
GCC Administrator [Wed, 28 Feb 2001 08:16:08 +0000 (08:16 +0000)] 
Daily bump.

From-SVN: r40113

23 years agoprint-rtl.c (print_rtx): Don't print field five on NOTEs other than NOTE_INSN_DELETED...
Richard Henderson [Wed, 28 Feb 2001 04:26:57 +0000 (20:26 -0800)] 
print-rtl.c (print_rtx): Don't print field five on NOTEs other than NOTE_INSN_DELETED_LABEL.

        * print-rtl.c (print_rtx) [i]: Don't print field five on
        NOTEs other than NOTE_INSN_DELETED_LABEL.

From-SVN: r40110

23 years agobasic_file.h: Include basic_file_model.h.
Benjamin Kosnik [Wed, 28 Feb 2001 03:26:44 +0000 (03:26 +0000)] 
basic_file.h: Include basic_file_model.h.

2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/1886
* include/bits/basic_file.h: Include basic_file_model.h.
* config/c_io_libio.cc: Move to...
* config/basic_file_libio.cc: Here.
* config/basic_file_libio.h: New file.
* config/c_io_stdio.cc: Move to...
* config/basic_file_stdio.cc: Here.
* config/basic_file_stdio.h: New file.
* config/c_io_libio.h: Tweak.
* config/c_io_stdio.h: Tweak.
* src/Makefile.am (build_headers): Add basic_file_model.h.
(sources): Add basic_file.cc, remove c++io.cc.
* src/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
basic_file_model.h and basic_file.cc.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/27_io/filebuf.cc (test05): Add regression.

From-SVN: r40109

23 years agobasic_file.h: Include basic_file_model.h.
Benjamin Kosnik [Wed, 28 Feb 2001 03:20:36 +0000 (03:20 +0000)] 
basic_file.h: Include basic_file_model.h.

2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/1886
* include/bits/basic_file.h: Include basic_file_model.h.
* config/c_io_libio.cc: Move to...
* config/basic_file_libio.cc: Here.
* config/basic_file_libio.h: New file.
* config/c_io_stdio.cc: Move to...
* config/basic_file_stdio.cc: Here.
* config/basic_file_stdio.h: New file.
* config/c_io_libio.h: Tweak.
* config/c_io_stdio.h: Tweak.
* src/Makefile.am (build_headers): Add basic_file_model.h.
(sources): Add basic_file.cc, remove c++io.cc.
* src/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
basic_file_model.h and basic_file.cc.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/27_io/filebuf.cc (test05): Add regression.

From-SVN: r40108

23 years agoxm-iris4.h: Delete #if 0 block (there since before 1997).
Zack Weinberg [Wed, 28 Feb 2001 02:53:45 +0000 (02:53 +0000)] 
xm-iris4.h: Delete #if 0 block (there since before 1997).

* mips/xm-iris4.h: Delete #if 0 block (there since before 1997).
* pa/xm-linux.h, pa/xm-pa.h, pa/xm-papro.h: Don't declare errno.

From-SVN: r40107

23 years agoc-common.c (walk_stmt_tree): Visit the chain of the current tree even if walk_subtree...
Diego Novillo [Wed, 28 Feb 2001 01:25:42 +0000 (01:25 +0000)] 
c-common.c (walk_stmt_tree): Visit the chain of the current tree even if walk_subtrees is 0.

2001-02-27  Diego Novillo  <dnovillo@redhat.com>

* c-common.c (walk_stmt_tree): Visit the chain of the current tree
even if walk_subtrees is 0.
* c-semantics.c (prune_unused_decls): Return a non-null value to
stop traversing the tree chain.

From-SVN: r40106

23 years agom68k.c (output_function_prologue): Save the new CFA register, *then* define it as...
DJ Delorie [Wed, 28 Feb 2001 00:29:02 +0000 (19:29 -0500)] 
m68k.c (output_function_prologue): Save the new CFA register, *then* define it as the new CFA.

* config/m68k/m68k.c (output_function_prologue): Save the new CFA
register, *then* define it as the new CFA.

From-SVN: r40104

23 years agoCorrect license.
Benjamin Kosnik [Wed, 28 Feb 2001 00:14:16 +0000 (00:14 +0000)] 
Correct license.

2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>

Correct license.
* config/cpu/alpha/bits/atomicity.h: Change.
* config/cpu/arm/bits/atomicity.h
* config/cpu/generic/bits/atomicity.h
* config/cpu/i386/bits/atomicity.h
* config/cpu/i486/bits/atomicity.h
* config/cpu/ia64/bits/atomicity.h
* config/cpu/powerpc/bits/atomicity.h
* config/cpu/sparc/sparc32/bits/atomicity.h
* config/cpu/sparc/sparc64/bits/atomicity.h
* config/os/aix/bits/atomicity.h
* config/os/irix/bits/atomicity.h

From-SVN: r40103

23 years agopa.c (override_options): Promote -fpic to -fPIC.
Jeffrey A Law [Tue, 27 Feb 2001 23:48:38 +0000 (23:48 +0000)] 
pa.c (override_options): Promote -fpic to -fPIC.

        * pa.c (override_options): Promote -fpic to -fPIC.
        (legitimize_pic_address): Simplify due to removal of
        small PIC as a code generation option.
        (secondary_reload_class): Similarly.
        * pa.h (GO_IF_LEGITIMATE_ADDRESS): Similarly.
        (PRINT_OPERAND_ADDRESS): Similarly.
        * pa.md (various patterns): Similarly.
        (small pic lo_sum pattern): Remove.

From-SVN: r40101