bryce [Tue, 16 Oct 2001 09:01:40 +0000 (09:01 +0000)]
* Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1
and merged local changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46283
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Tue, 16 Oct 2001 08:35:17 +0000 (08:35 +0000)]
Eliminate use of C++ static constructors.
* interpret.cc: Remove static Utf8Consts. Use namespace gcj.
* jni.cc: Likewise.
* resolve.cc: Likewise.
* defineclass.cc: Likewise.
(_Jv_ClassReader::handleClassBegin): Synchronize call to
_Jv_RegisterClass.
* include/jvm.h (void_signature, clinit_name, init_name, finit_name):
Declare in namespace gcj.
* java/lang/Class.h (Class): Remove initialization for primitive
types.
(friend void _Jv_InitPrimClass): This is in prims.cc.
* prims.cc (_Jv_InitPrimClass): Do primitive type initialization
here instead.
(void_signature, clinit_name, init_name, finit_name): Define in
namespace gcj.
(_Jv_CreateJavaVM): Call _Jv_InitThreads, _Jv_InitGC, and
_Jv_InitializeSyncMutex from here. Initialize Utf8 constants.
Initialize primitive types.
* java/lang/natClassLoader.cc (_Jv_RegisterClasses): Don't call
initialization routines. Don't synchronize.
* java/lang/natRuntime.cc (_load): Synchronize on java.lang.Class
across dlopen call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46282
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Tue, 16 Oct 2001 07:36:12 +0000 (07:36 +0000)]
* name-finder.cc (_Jv_name_finder::lookup): Check for NULL dli_sname.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46280
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 16 Oct 2001 07:16:11 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46278
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Tue, 16 Oct 2001 05:47:01 +0000 (05:47 +0000)]
2001-10-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* java/util/HashMap.java (HashEntry.clone): Removed.
(HashMap(Map)): Use putAllInternal.
(clone): Likewise.
(putAllInternal): New method. Efficient counterpart to putAll which
does not call put().
* java/util/LinkedHashMap.java (rethread): Removed.
(putAllInternal): New method. Clear "head" and "tail".
(addEntry): New argument "callRemove". Don't call removeEldestEntry()
if callRemove == false.
* Makefile.am: Add new classes RandomAccess and LinkedHashMap.
* Makefile.in: Rebuilt.
2001-10-15 Eric Blake <ebb9@email.byu.edu>
* java/util/Collection.java: Updated javadoc.
* java/util/Comparator.java: Updated javadoc.
* java/util/Enumeration.java: Updated javadoc.
* java/util/Iterator.java: Updated javadoc.
* java/util/List.java: Updated javadoc.
* java/util/ListIterator.java: Updated javadoc.
* java/util/Map.java: Updated javadoc.
* java/util/RandomAccess.java: New file.
* java/util/Set.java: Updated javadoc.
* java/util/SortedMap.java: Updated javadoc.
* java/util/SortedSet.java: Updated javadoc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46277
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Tue, 16 Oct 2001 04:19:26 +0000 (04:19 +0000)]
* recog.c: Formatting and comment typo fixes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46276
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Tue, 16 Oct 2001 03:33:48 +0000 (03:33 +0000)]
* configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas
version in single tree build.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46275
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Tue, 16 Oct 2001 02:50:13 +0000 (02:50 +0000)]
* Makefile.in (TEXIFILES): Add fnmatch.txh.
(maint-undoc): New.
maint-tool: Add "undoc" tool.
* alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
documentation.
* fnmatch.txh: New.
* functions.texi: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46274
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 16 Oct 2001 00:43:21 +0000 (00:43 +0000)]
rs6000.md (cr_logical): Swap order of CODE and MODE arguments to
gen_rtx and compare operand with const0_rtx.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46273
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 15 Oct 2001 22:45:03 +0000 (22:45 +0000)]
* java/lang/reflect/AccessibleObject.java (checkPermission):
Implemented.
Updated copyright information.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46272
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 15 Oct 2001 22:42:42 +0000 (22:42 +0000)]
2001-10-15 Hans Boehm <Hans_Boehm@hp.com>
* java/lang/natObject.cc (heavy_lock): Moved fields
old_client_data, old_finalization_proc near beginning.
(heavy_lock_finalization_proc): Now inline; changed type of
argument.
(JV_SYNC_TABLE_SZ): Now 2048.
(mp): New global.
(spin): `mp' now global.
(heavy_lock_obj_finalization_proc): Updated to correctly handle
heavy lock finalization.
(remove_all_heavy): New function.
(maybe_remove_all_heavy): Likewise.
(_Jv_MonitorEnter): Throw exception if object is NULL.
(_Jv_MonitorExit): Likewise. Also, clear long lists of unlocked
heavy locks.
* include/jvm.h (_Jv_AllocTraceTwo): Declare.
* nogc.cc (_Jv_AllocTraceTwo): New function.
* boehm.cc (trace_two_vtable): New global.
(_Jv_AllocTraceTwo): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46271
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Mon, 15 Oct 2001 22:10:56 +0000 (22:10 +0000)]
2001-10-15 Alexandre Petit-Bianco <apbianco@redhat.com>
* lang.c (langhooks.h): Included.
(LANG_HOOKS_INIT): Redefined.
(LANG_HOOKS_INIT_OPTIONS): Likewise.
(LANG_HOOKS_DECODE_OPTION): Likewise.
(struct lang_hooks lang_hooks): New initialization.
( http://gcc.gnu.org/ml/gcc-patches/2001-10/msg00692.html )
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46270
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 15 Oct 2001 20:10:13 +0000 (20:10 +0000)]
* system.h: Poison old unused target macros.
* config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
* config/stormy16/stormy16.c: Update references to obsolete macros.
* config/stormy16/stormy16.h: Similarly.
* config/stormy16/stormy16.md: Similarly.
* config/cris/cris.h: Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46269
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 15 Oct 2001 17:46:06 +0000 (17:46 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new file.
* java/beans/AppletInitializer.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46267
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 15 Oct 2001 16:32:51 +0000 (16:32 +0000)]
* java/net/SocketPermission.java (hostport, actions): Now
private.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46266
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 15 Oct 2001 07:16:13 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46264
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Mon, 15 Oct 2001 06:31:13 +0000 (06:31 +0000)]
* java/lang/Double.java: Partial merge with Classpath
(TYPE): initialized through VMClassLoader.getPrimitiveClass()
(value): made final
(static): new static block to load native libary (not used in libgcj)
(Double (String)): call parseDouble()
(byteValue): removed, already defined in superclass Number
(shortValue): likewise
(valueOf (String)): call new Double(String) directly
(compare (double,double)): new 1.4 method
(compareTo (Double)): call new compare(double,double) method
(initIDs): new private method (not used in libgcj)
* java/lang/Float.java: Partial merge with Classpath
(TYPE): initialized through VMClassLoader.getPrimitiveClass()
(value): made final
(static): new static block to load native libary (not used in libgcj)
(Float (String)): call parseFloat()
(byteValue): removed, already defined in superclass Number
(shortValue): likewise
(valueOf (String)): call new Float(String) directly
(compare (float,float)): new 1.4 method
(compareTo (Float)): call new compare(double,double) method
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46263
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Mon, 15 Oct 2001 04:58:04 +0000 (04:58 +0000)]
This commit was generated by cvs2svn to compensate for changes in r46260,
which included commits to RCS files with non-trunk default branches.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46261
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Mon, 15 Oct 2001 04:57:59 +0000 (04:57 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46258
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 14 Oct 2001 23:04:13 +0000 (23:04 +0000)]
* cpplib.c (struct pragma_entry): Store the name as a hashnode.
(lookup_pragma_entry, insert_pragma_entry, do_pragma,
cpp_register_pragma): Update accordingly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46255
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 14 Oct 2001 17:44:00 +0000 (17:44 +0000)]
* c-pragma.h (cpp_register_pragma_space): Remove.
* cpplib.h (cpp_register_pragma_space): Remove.
* cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
(cpp_register_pragma_space): Remove.
(cpp_register_pragma): Simplify using lookup_pragma_entry,
add sanity checks.
(do_pragma): Similarly.
(_cpp_init_internal_pragmas): Don't register namespaces.
* config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
Don't register namespaces.
* cp/lex.c (init_cp_pragma): Similarly.
* doc/tm.texi: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46254
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 14 Oct 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46252
138bc75d-0d04-0410-961f-
82ee72b054a4
cgf [Sun, 14 Oct 2001 04:24:26 +0000 (04:24 +0000)]
PR c/4157
* config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46250
138bc75d-0d04-0410-961f-
82ee72b054a4
collison [Sun, 14 Oct 2001 02:16:53 +0000 (02:16 +0000)]
Added changes for dsp16xx port.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46249
138bc75d-0d04-0410-961f-
82ee72b054a4
collison [Sun, 14 Oct 2001 02:14:28 +0000 (02:14 +0000)]
* config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
add scheduling support.
* config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
* config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
* config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46248
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 13 Oct 2001 23:23:50 +0000 (23:23 +0000)]
* java/lang/SecurityManager.java (SecurityManager): Now public.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46247
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 13 Oct 2001 23:21:07 +0000 (23:21 +0000)]
* java/security/AccessController.java (checkPermission): Now
throws AccessControlException.
* java/security/AllPermission.java: Class now final.
* java/security/Permission.java (getName): Now final.
(name): Now private.
(equals): New abstract method.
* java/security/PermissionCollection.java (linesep): Now private.
* java/security/Permissions.java: Class now final.
* java/security/Security.java (Security): New private
constructor.
* java/security/UnresolvedPermission.java: Import
java.security.cert.Certificate. Class now final.
* java/security/acl/Group.java: Now extends Principal.
(isMember): Added Principal argument.
* java/security/spec/X509EncodedKeySpec.java (getFormat): Now
final.
* java/security/spec/PKCS8EncodedKeySpec.java (getFormat): Now
final.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46246
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Sat, 13 Oct 2001 15:00:44 +0000 (15:00 +0000)]
* pt.c (lookup_template_class): Build complete template arguments
for BOUND_TEMPLATE_TEMPLATE_PARM.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46245
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Sat, 13 Oct 2001 13:24:34 +0000 (13:24 +0000)]
* cp-tree.h (TYPE_BINFO): Update comment.
(BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK): New macro.
(TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO): Use template_info.
(TYPENAME_TYPE_FULLNAME): Use TYPE_FIELDS.
(copy_type): Prototype new function.
* lex.c (copy_lang_decl): Gather tree node statistics.
(copy_lang_type): New function.
(copy_type): Likewise.
(cp_make_lang_type): Create lang_type for
BOUND_TEMPLATE_TEMPLATE_PARM. Set TYPE_BINFO for TYPENAME_TYPE
and BOUND_TEMPLATE_TEMPLATE_PARM.
* pt.c (tsubst): Use copy_type instead of copy_node.
* search.c (lookup_field_1): Ignore TYPENAME_TYPE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46244
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Sat, 13 Oct 2001 13:11:09 +0000 (13:11 +0000)]
* pt.c (determine_specialization): Ignore functions without
DECL_TEMPLATE_INFO.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46243
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 13 Oct 2001 07:17:10 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46242
138bc75d-0d04-0410-961f-
82ee72b054a4
trix [Sat, 13 Oct 2001 06:16:29 +0000 (06:16 +0000)]
XFAIL these tests on AIX when using -msoft-float
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46240
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sat, 13 Oct 2001 01:54:37 +0000 (01:54 +0000)]
* config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
missing CONSTANT_P test in core GCC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46239
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Sat, 13 Oct 2001 00:06:21 +0000 (00:06 +0000)]
* docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
based on Nathan's review. Use Nathan's words.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46238
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 12 Oct 2001 22:31:04 +0000 (22:31 +0000)]
* cppmain.c (struct printer): New member source.
(scan_translation_unit): Fix spacing at start of lines.
(cb_line_change): Update.
* gcc.dg/cpp/spacing2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46237
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 12 Oct 2001 22:04:07 +0000 (22:04 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (rmi_java_source_files): Added new files.
* gnu/java/rmi/rmic/RMIC.java (compile): Uncommented; fixed to use
new Compiler class.
* gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Updated.
* gnu/java/rmi/rmic/Compile_gcj.java: New file.
* gnu/java/rmi/rmic/CompilerProcess.java: New file.
* gnu/java/rmi/rmic/Compiler.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46235
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 12 Oct 2001 19:44:38 +0000 (19:44 +0000)]
* config/cris/arit.c: Use __builtin_labs, not abs.
* config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
* config/cris/cris.c (cris_target_asm_function_epilogue): Move
misplaced sprintf and fprintf argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46234
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 12 Oct 2001 17:24:30 +0000 (17:24 +0000)]
top:
* ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
* configure.in, Makefile.in: Take out obsolete check-po logic.
* configure, config.in: Regenerate.
intl:
* Update entire directory from gettext 0.10.40.
* cat-compat.c, linux-msg.sed, po2tbl.sed.in, xopen-msg.sed:
Removed.
* config.charset, dcigettext.c, dcngettext.c, libgnuintl.h,
localcharset.c, locale.alias, ngettext.c, plural.c, plural.y,
ref-add.sin, ref-del.sin: New.
po:
* Makefile.in.in: Upgrade to gettext-0.10.40.
* cat-id-tbl.c: Remove file.
* stamp-cat-id: Remove file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46233
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Fri, 12 Oct 2001 16:01:16 +0000 (16:01 +0000)]
2001-10-12 Ziemowit Laski <zlaski@apple.com>
* objc/objc-act.c (finish_objc): Correct precondition for emitting
symtab declarations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46232
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Fri, 12 Oct 2001 13:46:50 +0000 (13:46 +0000)]
* config/rs6000/rs6000.c: Remove uses of "register" specifier in
declarations of arguments and local variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46231
138bc75d-0d04-0410-961f-
82ee72b054a4
cgf [Fri, 12 Oct 2001 13:15:34 +0000 (13:15 +0000)]
* config/i386/cygwin.h: Revert erroneous checkin of crtbegin and ENDFILE_SPEC
definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46230
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 12 Oct 2001 13:10:33 +0000 (13:10 +0000)]
* gthr-dce.h: Fix comment formatting.
* gthr-posix.h: Likewise.
* gthr-single.h: Likewise.
* gthr-solaris.h: Likewise.
* gthr-vxworks.h: Likewise.
* gthr-win32.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46229
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 12 Oct 2001 10:51:17 +0000 (10:51 +0000)]
* final.c (output_asm_insn): Make sure assembly dialects are
terminated, not nested. Output `|' and `}' characters if they
don't appear inside assembly dialect selection.
* config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
strsetsi_rex_1): Add {} braces.
* testsuite/gcc.dg/
20011009-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46227
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Fri, 12 Oct 2001 09:06:32 +0000 (09:06 +0000)]
cp:
PR g++/4476
* typeck2.c (abstract_virtuals_error): Ignore incomplete classes.
testsuite:
PR g++/4476
* g++.dg/other/friend1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46226
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 12 Oct 2001 07:41:11 +0000 (07:41 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46224
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 12 Oct 2001 03:34:39 +0000 (03:34 +0000)]
* toplev.c (compile_file): Ignore return value from yyparse.
Always pop any nested binding levels after yyparse returns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46223
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Fri, 12 Oct 2001 01:11:33 +0000 (01:11 +0000)]
* exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
renaming of discriminant for mutable record type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46222
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Fri, 12 Oct 2001 00:59:14 +0000 (00:59 +0000)]
* validsw.adb: Properly save -gnatVn status.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46221
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Fri, 12 Oct 2001 00:49:42 +0000 (00:49 +0000)]
* jatool.c (extract_jar): Account for null termination when
determining whether to expand "filename".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46220
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Fri, 12 Oct 2001 00:46:56 +0000 (00:46 +0000)]
* usage.adb: Add lines for V switch.
* gnatcmd.adb (COMPILE): Revise translations for -gnatV
(/VALIDITY_CHECKING).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46219
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 12 Oct 2001 00:38:08 +0000 (00:38 +0000)]
* doc/c-tree.texi (Expression trees): Add VTABLE_REF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46218
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Fri, 12 Oct 2001 00:35:43 +0000 (00:35 +0000)]
* sem_type.adb (Add_One_Interp): an operator for a type declared in
an extension of System is known to be visible.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46217
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Fri, 12 Oct 2001 00:32:42 +0000 (00:32 +0000)]
* sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
properly. Fixes regression on ACATS C34005G.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46216
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Fri, 12 Oct 2001 00:28:21 +0000 (00:28 +0000)]
* sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
loop in generic instance, since this is likely not very useful.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46215
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Fri, 12 Oct 2001 00:21:40 +0000 (00:21 +0000)]
* restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
the error message for high integrity mode.
* rtsfind.adb (RTE): Give message if we try to find an entity that
is not available in high integrity mode.
* rtsfind.ads:
(OK_To_Use_In_HIE_Mode): New array.
(RTE): May return Empty in high integrity mode.
* rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
* sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
unit if not inlined always and in no runtime mode. Fixes problem
caused by new Rtsfind changes.
* sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
body is deleted.
* rtsfind.adb (RTE): Make sure we do not try to load unit after
giving message for entity not available in high integrity mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46214
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Fri, 12 Oct 2001 00:11:48 +0000 (00:11 +0000)]
* impunit.adb: Add GNAT.CRC32.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46213
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 12 Oct 2001 00:10:34 +0000 (00:10 +0000)]
New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46212
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Fri, 12 Oct 2001 00:05:45 +0000 (00:05 +0000)]
* exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
properly the case where one universal operand in a non-static
exponentiation of a real literal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46211
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Thu, 11 Oct 2001 23:54:52 +0000 (23:54 +0000)]
* exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
clause, return the gobal finalization list, for lack of anthing else.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46210
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 11 Oct 2001 23:50:49 +0000 (23:50 +0000)]
* parse.y (patch_synchronized_statement): Use a TRY_FINALLY_EXPR
rather than a CLEANUP_POINT_EXPR/WITH_CLEANUP_EXPR pair.
The former is simpler, and jcf-write.c handles it better.
(java_complete_lhs): No longer need to handle CLEANUP_POINT_EXPR
or WITH_CLEANUP_EXPR.
* jcf-write.c: Revert Alex's change from 2000-10-18. It is no
longer needed, as we already handle empty TRY_FINALLY_EXPR bodies fine.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46209
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Thu, 11 Oct 2001 23:50:31 +0000 (23:50 +0000)]
* exp_ch7.adb (Make_Transient_Block): if statement is within
exception handler, always use new transient scope to place Clean
procedure.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46208
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 11 Oct 2001 23:34:03 +0000 (23:34 +0000)]
* parse.y (patch_if_else_statement): If the condition is constant,
optimize away the test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46207
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Thu, 11 Oct 2001 23:28:47 +0000 (23:28 +0000)]
* Makefile.in:
(GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
(GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
(GNATLS_RTL_OBJS): add g-crc32.o
(GNATMAKE_RTL_OBJS): add g-crc32.o
* ali-util.adb:
(CRC_Match): new function.
(Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
instead of the previous simple checksum algorithm.
(Time_Stamp_Mismatch): use CRC_Match for comparison.
(Set_Source_Table): idem.
* ali-util.ads:
(Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
instead of simple checksum.
(CRC_Match): new function.
(CRC_Error): new constant.
* ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
a CRC now and not a simple checksum. A CRC uses lower-case hex
letters, fixes ambiguity in parsing.
* ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
is what this variable will store.
* bcheck.adb: Change reference to chechsum in comments by CRC.
(Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
rename All_Checksum_Match to All_CRC_Match. Change due to API
renaming since now GNAT does not use a simple checksum but a
CRC using GNAT.CRC32.
* gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
now and not anymore a simple checksum.
* lib-load.adb: Use Source_CRC instead of Source_Checksum in many
places.
* lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
* scans.adb:
(Restore_Scan_State): rename Checksum to CRC.
(Save_Scan_State): idem.
* scans.ads:
With GNAT.CRC32.
(Checksum): rename to CRC.
(Saved_Scan_State): Save_Checksum field renamed to Save_CRC
* scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
GNAT.CRC32). Update copyright notice.
* scn-slit.adb: Rename many Accumulate_Checksum to Update (from
GNAT.CRC32). Update copyright notice.
* scn.adb:
(Accumulate_Checksum): removed.
(Update): new procedure. Add a wide-character into the CRC.
* sinput-l.adb:
(Complete_Source_File_Entry): use CRC32 instead of simple checksum.
(Load_File): fix initialization of S (change Source_Checksum to
Source_CRC)
* sinput-p.adb (Load_Project_File): rename Source_Checksum to
Source_CRC in S initialization.
* sinput.adb (Source_Checksum): renamed to Source_CRC.
* sinput.ads (Source_Checksum): renamed to Source_CRC.
Update comments for the CRC.
* types.adb (Hex): Use lowercase for the letter part.
* types.ads (Get_Hex_String): Returns the hexadecimal representation
for a word. This is currently used only for CRC. In previous version,
the checksum was using a representation with all letter being
upper-case. With the new implementation (using CRC) we do not remove
the 32th bit of the CRC, so we can have an upper-case starting letter
in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
It is ambigous since the CRC was optional and could be followed by
options like EB, EE. So now this routines uses lower-case letter for
the hexadecimal representation. Strange enough only lower case letters
where checked in Scan_ALI (even if this was not a possible case).
* gnatvsn.ads (Library_Version): changed to 3.15a.
* s-crc32.ads: Initial version from GNAT.CRC32. This is the version
for the compiler.
* s-crc32.adb: Initial version from GNAT.CRC32. This is the version
for the compiler.
* ali-util.adb: Redo previous change to avoid using word CRC everywhere
Add 2001 to copyright notice
(Accumulate_Checksum): Modify to use System.CRC32.
* ali-util.ads: Redo changes of previous revision to continue to use
the word Checksum. Add 2001 to copyright notice.
* ali.adb: Undo some of previous changes, not needed.
Keep the change for lower case letters in the checksum.
* ali.ads: Undo previous change not needed.
* bcheck.adb: Undo most of previous change, not needed.
But do use Checksums_Match for checksum comparison.
* gnatls.adb: Undo most of previous change, not needed.
But do use Checksums_Match for comparing checksums.
* lib-load.adb: Undo previous change, not needed.
* lib-writ.adb: Undo previous change, not needed.
* lib-writ.ads: Document that checksums use lower case,
not upper case letters.
* scans.adb: Undo previous change, not needed
* scans.ads: Undo previous change, not needed.
* scn-nlit.adb: Undo previous changes, not needed.
* scn-slit.adb: Undo previous change, not needed. Fix header format.
* scn.adb:
(Accumulate_Checksum): Use System.CRC32.
(Initialize_Checksum): New procedure.
Remove other changes of previous revision.
* sinput-p.adb: Undo previous change, not needed.
* sinput.adb: Undo previous change, not needed.
* sinput-l.adb: Undo previous change, not needed.
* sinput.ads: Undo previous change, not needed. Keep only comment
on new checksum algorithm
* Makefile.in: Add s-crc32 as needed, remove g-crc32.
Also remove a-tags and a-stream from GNAT sources.
* ali.adb (Scan_ALI): fix typo introduce in latest check-in.
* Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46206
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 11 Oct 2001 23:26:08 +0000 (23:26 +0000)]
Tidy last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46205
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 11 Oct 2001 23:20:54 +0000 (23:20 +0000)]
* dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
fall back to add_AT_long_long for large CONST_INT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46204
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 11 Oct 2001 21:49:36 +0000 (21:49 +0000)]
* config/i386/i386.md (setcc splitters): Add four splitters to
simplify compound compares that simplify_comparison can't handle.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46203
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 11 Oct 2001 21:33:09 +0000 (21:33 +0000)]
* typeck2.c (store_init_value): Don't re-digest a bracketed
initializer.
* class.c (finish_struct_anon): Use TYPE_ANONYMOUS_P instead of
ANON_AGGR_TYPE_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46202
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 11 Oct 2001 21:21:57 +0000 (21:21 +0000)]
* cpplex.c (digraph_spellings, token_spellings): Make static.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46201
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Thu, 11 Oct 2001 20:56:56 +0000 (20:56 +0000)]
* einfo.h: Regenerate.
* nmake.ads: Regenerate.
* nmake.adb: Regenerate.
* sinfo.h: Regenerate.
* treeprs.adb: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46200
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 11 Oct 2001 20:52:37 +0000 (20:52 +0000)]
* MAINTAINERS: Update my email address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46199
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Thu, 11 Oct 2001 20:01:11 +0000 (20:01 +0000)]
* gnat-style.texi: New file describing coding guidelines for Ada.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46198
138bc75d-0d04-0410-961f-
82ee72b054a4
sirl [Thu, 11 Oct 2001 19:43:39 +0000 (19:43 +0000)]
2001-10-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* unroll.c (loop_iterations): Fixup last patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46197
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 11 Oct 2001 18:48:42 +0000 (18:48 +0000)]
* rtl.h (REG_VTABLE_REF): New.
* rtl.c (reg_note_name): Add it.
* combine.c (distribute_notes): Handle it.
* final.c (final_scan_insn): Handle it.
* tree.def (VTABLE_REF): New.
* expr.c (expand_expr): Handle it.
* varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New.
* output.h: Declare them.
cp/
* class.c (build_vtable_entry_ref): Create a VTABLE_REF instead
of an asm statement.
(build_vtbl_ref_1): Split out from build_vtbl_ref.
(build_vfn_ref): Use it to handle vtable descriptors before
calling build_vtable_entry_ref.
* decl2.c (output_vtable_inherit): Use assemble_vtable_inherit.
testsuite/
* g++.old-deja/g++.other/crash18.C: Add -S to options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46195
138bc75d-0d04-0410-961f-
82ee72b054a4
kraai [Thu, 11 Oct 2001 18:41:47 +0000 (18:41 +0000)]
* docs/html/configopts.html: Quote StyleSheet attribute values.
* docs/html/documentation.html: Likewise.
* docs/html/explanations.html: Likewise.
* docs/html/install.html: Likewise.
* docs/html/17_intro/howto.html: Likewise.
* docs/html/17_intro/license.html: Likewise.
* docs/html/18_support/howto.html: Likewise.
* docs/html/19_diagnostics/howto.html: Likewise.
* docs/html/20_util/howto.html: Likewise.
* docs/html/21_strings/howto.html: Likewise.
* docs/html/22_locale/howto.html: Likewise.
* docs/html/23_containers/howto.html: Likewise.
* docs/html/24_iterators/howto.html: Likewise.
* docs/html/25_algorithms/howto.html: Likewise.
* docs/html/26_numerics/howto.html: Likewise.
* docs/html/27_io/howto.html: Likewise.
* docs/html/ext/howto.html: Likewise.
* docs/html/ext/sgiexts.html: Likewise.
* docs/html/faq/index.html: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46194
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 11 Oct 2001 17:46:53 +0000 (17:46 +0000)]
* dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look
for a DECL_INITIAL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46193
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 11 Oct 2001 17:37:21 +0000 (17:37 +0000)]
* config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
available in 64-bit mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46192
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 11 Oct 2001 17:02:36 +0000 (17:02 +0000)]
* config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
cris-*-linux* cases.
* config/cris/cris-protos.h: New file.
* config/cris/cris.c: New file.
* config/cris/cris.h: New file.
* config/cris/cris.md: New file.
* config/cris/linux.h: New file.
* config/cris/aout.h: New file.
* config/cris/arit.c: New file.
* config/cris/cris_abi_symbol.c: New file.
* config/cris/mulsi3.asm: New file.
* config/cris/t-aout: New file.
* config/cris/t-cris: New file.
* config/cris/t-elfmulti: New file.
* config/cris/t-linux: New file.
* doc/invoke.texi: Add CRIS options.
* doc/install.texi (Specific): Add blurb for CRIS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46191
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 11 Oct 2001 16:50:21 +0000 (16:50 +0000)]
Correct last entry
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46190
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 11 Oct 2001 16:40:29 +0000 (16:40 +0000)]
* configure.in (noconfigdirs) [cris-*-*]: Disable libgcj.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46189
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 11 Oct 2001 15:53:57 +0000 (15:53 +0000)]
* config/float-i128.h: Make sure __STDC__VERSION__ is defined
before using it.
* config/float/i32.h: Likewise.
* config/float-i386.h: Likewise.
* config/float-i64.h: Likewise.
* config/float-m68k.h: Likewise.
* config/float-sh.h: Likewise.
* config/float-sparc.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46187
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 11 Oct 2001 15:52:39 +0000 (15:52 +0000)]
* configure: Rebuilt.
* configure.in: Recognize --disable-java-awt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46186
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 11 Oct 2001 13:12:11 +0000 (13:12 +0000)]
Tweak last entry to reflect what was actually posted to gcc-patches
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46185
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 11 Oct 2001 13:06:44 +0000 (13:06 +0000)]
* doc/contrib.texi: Add note about CRIS port to my entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46184
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 11 Oct 2001 13:04:28 +0000 (13:04 +0000)]
* MAINTAINERS: Add self as CRIS maintainer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46183
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 11 Oct 2001 12:43:43 +0000 (12:43 +0000)]
* calls.c: Fix formatting.
* c-decl.c: Likewise.
* cfgcleanup.c: Likewise.
* combine.c: Likewise.
* cppfiles.c: Likewise.
* cpplib.c: Likewise.
* cppmacro.c: Likewise.
* crtstuff.c: Likewise.
* cse.c: Likewise.
* dwarf2out.c: Likewise.
* expmed.c: Likewise.
* expr.c: Likewise.
* fold-const.c: Likewise.
* function.c: Likewise.
* gcse.c: Likewise.
* genattrtab.c: Likewise.
* ggc-page.c: Likewise.
* integrate.c: Likewise.
* libgcc2.c: Likewise.
* loop.c: Likewise.
* optabs.c: Likewise.
* profile.c: Likewise.
* protoize.c: Likewise.
* real.c: Likewise.
* recog.c: Likewise.
* reload1.c: Likewise.
* reload.c: Likewise.
* reorg.c: Likewise.
* resource.c: Likewise.
* sched-rgn.c: Likewise.
* sdbout.c: Likewise.
* stmt.c: Likewise.
* toplev.c: Likewise.
* varasm.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46182
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 11 Oct 2001 07:16:20 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46180
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 11 Oct 2001 07:07:30 +0000 (07:07 +0000)]
* c-parse.in (asm_operand): Allow named operands.
* genconfig.c (max_recog_operands): Set to 29.
* local-alloc.c (requires_inout): Skip multiple digits.
* recog.c (asm_operand_ok): Likewise.
(preprocess_constraints): Use strtoul for matching constraints.
(constrain_operands): Likewise.
* regmove.c (find_matches): Likewise.
* reload.c (find_reloads): Likewise.
* stmt.c (parse_output_constraint): Don't reject in-out
constraint on operands > 9. Reject '[' in constraint.
(expand_asm_operands): Handle named operands. Use strtoul
for matching constraints.
(check_operand_nalternatives): Split out from expand_asm_operands.
(check_unique_operand_names): New.
(resolve_operand_names, resolve_operand_name_1): New.
* doc/extend.texi (Extended Asm): Document named operands.
* doc/md.texi (Simple Constraints): Document matching constraints
on operands > 9.
* parse.y (asm_operand): Allow named operands.
* semantics.c (finish_asm_stmt): Tweek for changed location
of the operand constrant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46179
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 11 Oct 2001 06:56:22 +0000 (06:56 +0000)]
* i386.c (test splitter): Narrow tests vs paradoxical subregs.
(jcc splitters): Add two splitters to simplify compound compares
that simplify_comparison can't handle.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46178
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 11 Oct 2001 06:55:16 +0000 (06:55 +0000)]
* combine.c (try_combine): Handle a SEQUENCE of one insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46177
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 11 Oct 2001 06:50:50 +0000 (06:50 +0000)]
* langhooks.c: Include langhooks.h.
* Makefile.in (langhooks.o): Depend on it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46176
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Thu, 11 Oct 2001 06:07:50 +0000 (06:07 +0000)]
* docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
* docs/html/23_containers/howto.html (Containers and multithreading):
Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46175
138bc75d-0d04-0410-961f-
82ee72b054a4
wehle [Thu, 11 Oct 2001 03:51:24 +0000 (03:51 +0000)]
* rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
should not be considered as a no-op.
* flow.c (delete_noop_moves): Handle REG_LIBCALL notes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46174
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Thu, 11 Oct 2001 03:16:15 +0000 (03:16 +0000)]
2001-10-10 Stan Shebs <shebs@apple.com>
* alias.c: Remove uses of "register" specifier in declarations
of arguments and local variables.
* c-common.c: Ditto.
* c-convert.c: Ditto.
* c-decl.c: Ditto.
* c-format.c: Ditto.
* c-semantics.c: Ditto.
* c-typeck.c: Ditto.
* caller-save.c: Ditto.
* calls.c: Ditto.
* cfg.c: Ditto.
* cfgbuild.c: Ditto.
* cfgrtl.c: Ditto.
* collect2.c: Ditto.
* combine.c: Ditto.
* convert.c: Ditto.
* cppexp.c: Ditto.
* cppfiles.c: Ditto.
* cse.c: Ditto.
* dbxout.c: Ditto.
* defaults.h: Ditto.
* df.c: Ditto.
* dwarf2out.c: Ditto.
* dwarfout.c: Ditto.
* emit-rtl.c: Ditto.
* explow.c: Ditto.
* expmed.c: Ditto.
* expr.c: Ditto.
* final.c: Ditto.
* fix-header.c: Ditto.
* floatlib.c: Ditto.
* flow.c: Ditto.
* fold-const.c: Ditto.
* function.c: Ditto.
* gcc.c: Ditto.
* gcse.c: Ditto.
* gen-protos.c: Ditto.
* genattrtab.c: Ditto.
* gencheck.c: Ditto.
* genconfig.c: Ditto.
* genemit.c: Ditto.
* genextract.c: Ditto.
* genflags.c: Ditto.
* gengenrtl.c: Ditto.
* genoutput.c: Ditto.
* genpeep.c: Ditto.
* genrecog.c: Ditto.
* gensupport.c: Ditto.
* global.c: Ditto.
* gmon.c: Ditto.
* graph.c: Ditto.
* haifa-sched.c: Ditto.
* hard-reg-set.h: Ditto.
* hash.c: Ditto.
* integrate.c: Ditto.
* jump.c: Ditto.
* lists.c: Ditto.
* local-alloc.c: Ditto.
* loop.c: Ditto.
* mips-tdump.c: Ditto.
* mips-tfile.c: Ditto.
* optabs.c: Ditto.
* prefix.c: Ditto.
* print-rtl.c: Ditto.
* read-rtl.c: Ditto.
* real.c: Ditto.
* recog.c: Ditto.
* reg-stack.c: Ditto.
* regclass.c: Ditto.
* regmove.c: Ditto.
* reload.c: Ditto.
* reload1.c: Ditto.
* reorg.c: Ditto.
* resource.c: Ditto.
* rtl.c: Ditto.
* rtlanal.c: Ditto.
* scan.c: Ditto.
* sched-deps.c: Ditto.
* sched-rgn.c: Ditto.
* sdbout.c: Ditto.
* simplify-rtx.c: Ditto.
* stmt.c: Ditto.
* stor-layout.c: Ditto.
* toplev.c: Ditto.
* tradcif.y: Ditto.
* tradcpp.c: Ditto.
* tree.c: Ditto.
* unroll.c: Ditto.
* varasm.c: Ditto.
* xcoffout.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46173
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Thu, 11 Oct 2001 01:24:00 +0000 (01:24 +0000)]
* einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
is Flag174.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46172
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Thu, 11 Oct 2001 01:14:10 +0000 (01:14 +0000)]
* snames.ads: Add new names for project facility.
* snames.adb: Update to reflect snames.ads changes.
* snames.h: Update to reflect snames.ads changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46171
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 11 Oct 2001 01:09:45 +0000 (01:09 +0000)]
* rtl.h (can_reverse_comparison_p): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46170
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Thu, 11 Oct 2001 01:02:03 +0000 (01:02 +0000)]
* make.adb:
(Add_Switches): reflect the changes for the switches attributes
Default_Switches indexed by the programming language,
Switches indexed by the file name.
(Collect_Arguments_And_Compile): Idem.
Reflect the attribute name changes.
* prj-attr.adb:
(Initialisation_Data): Change the names of some packages and
attributes.
(Initialize): process case insensitive associative arrays.
* prj-attr.ads:
(Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
* prj-dect.adb:
(Parse_Attribute_Declaration): For case insensitive associative
arrays, set the index string to lower case.
* prj-env.adb:
Reflect the changes of the project attributes.
* prj-nmsc.adb:
Replace Check_Naming_Scheme by Ada_Check and
Language_Independent_Check.
* prj-nmsc.ads:
Replaced Check_Naming_Scheme by 2 procedures:
Ada_Check and Language_Independent_Check.
* prj-proc.adb:
(Process_Declarative_Items): For case-insensitive associative
arrays, set the index string to lower case.
(Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
Prj.Nmsc.Check_Naming_Scheme.
* prj-tree.adb:
(Case_Insensitive): New function
(Set_Case_Insensitive): New procedure
* prj-tree.ads:
(Case_Insensitive): New function
(Set_Case_Insensitive): New procedure
(Project_Node_Record): New flag Case_Insensitive.
* prj-util.adb:
(Value_Of): new function to get the string value of a single
string variable or attribute.
* prj-util.ads:
(Value_Of): new function to get the string value of a single
string variable or attribute.
* prj.adb:
(Ada_Default_Spec_Suffix): New function
(Ada_Default_Impl_Suffix): New function
Change definitions of several constants to reflect
new components of record types.
* prj.ads:
(Naming_Data): Change several components to reflect new
elements of naming schemes.
(Project_Data): New flags Sources_Present and
Language_Independent_Checked.
(Ada_Default_Spec_Suffix): New function.
(Ada_Default_Impl_Suffix): New function.
* snames.ads:
Modification of predefined names for project manager: added
Implementation, Specification_Exceptions, Implementation_Exceptions,
Specification_Suffix, Implementation_Suffix, Separate_Suffix,
Default_Switches, _Languages, Builder, Cross_Reference,
Finder. Removed Body_Part, Specification_Append, Body_Append,
Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
Gnatlink.
* prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
Add comments.
* prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
not that it is Nil_Variable_Value.
* prj.ads: Add ??? for uncommented declarations
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46169
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Thu, 11 Oct 2001 00:19:12 +0000 (00:19 +0000)]
* sem_prag.adb: (Analyze_Pragma, case External): If entity is a
constant, do not indicate possible modification, so that gigi can
treat it as a bona fide constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46168
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Thu, 11 Oct 2001 00:00:06 +0000 (00:00 +0000)]
* sem_prag.adb: Add processing for pragma External.
* snames.ads: Add entry for pragma External.
* par-prag.adb: Add pragma External.
* snames.adb: Updated to match snames.ads.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46167
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Wed, 10 Oct 2001 23:03:17 +0000 (23:03 +0000)]
* exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
a dynamic task if the allocator appears in an indexed assignment
or selected component assignment.
* exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
For a dynamic task in an assignment statement, use target of
assignment to generate meaningful name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46166
138bc75d-0d04-0410-961f-
82ee72b054a4