OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
bosch [Thu, 25 Oct 2001 23:53:04 +0000 (23:53 +0000)]
* restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
in no run time mode.

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

22 years ago * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
bosch [Thu, 25 Oct 2001 23:49:27 +0000 (23:49 +0000)]
* gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
        mode case for ALLOC case.

* gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
        all platforms. Improvement of last change.

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

22 years ago * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
bosch [Thu, 25 Oct 2001 23:43:49 +0000 (23:43 +0000)]
* exp_ch4.adb (Expand_N_Allocator): Minor reformatting.

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

22 years ago * osint.adb (Is_Relative): Remove duplicate.
bosch [Thu, 25 Oct 2001 23:38:15 +0000 (23:38 +0000)]
* osint.adb (Is_Relative): Remove duplicate.

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

22 years ago * osint.adb (Read_Default_Search_Dirs): correctly detect relative
bosch [Thu, 25 Oct 2001 23:23:44 +0000 (23:23 +0000)]
* osint.adb (Read_Default_Search_Dirs): correctly detect relative
        pathnames in UNIX and DOS style with drive letter.
(Is_Relative): new routine.

* osint.adb: Minor reformatting

* osint.adb (Is_Relative): implementation using
        GNAT.OS_Lib.Is_Absolute_Path. Better fix for 8121-009.

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

22 years ago * g-dirope.adb (Basename): correctly compute offset between the
bosch [Thu, 25 Oct 2001 23:12:24 +0000 (23:12 +0000)]
* g-dirope.adb (Basename): correctly compute offset between the
        original Path and the translated one.

* g-dirope.adb: (Base_Name): add some comments.

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

22 years ago * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
bosch [Thu, 25 Oct 2001 23:03:11 +0000 (23:03 +0000)]
* exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
        in HIE mode, avoids compilation abandoned message

* exp_imgv.adb: Correct typo in previous change

* exp_imgv.adb: Correct typo in previous change (not my day!)

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

22 years ago2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 25 Oct 2001 22:56:07 +0000 (22:56 +0000)]
2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.tcc (collate::do_transform): Fix.

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

22 years ago * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
bosch [Thu, 25 Oct 2001 22:51:49 +0000 (22:51 +0000)]
* s-tpinop.ads: Add 2001 to copyright notice. Fix header format.

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

22 years ago2001-10-24 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Thu, 25 Oct 2001 21:37:44 +0000 (21:37 +0000)]
2001-10-24  Alexandre Petit-Bianco  <apbianco@redhat.com>

* mangle.c (static tree compression_table): Fixed leading comment.
* parse.h (struct parser_ctxt): Fixed field comment.
* parse.y (check_pkg_class_access): New prototype, fixed leading
comment, new parameter used to emit error only if passed as true.
(parse_check_super): Pass extra argument to check_pkg_class_access.
(do_resolve_class): Likewise.
(process_imports): Likewise.
(read_import_dir): Fixed indentation.
(find_in_imports_on_demand): New local class_type_name. Local
node_to_use deleted. while loop changed into for loop. Report
multiple definition only for accessible classes. Improved error
message.
(start_complete_expand_method): Local `ptr' removed. DECL_ARGUMENTS
assigned to parameter list, fixed indentation. while loop changed
into for loop, restore TREE_CHAIN on local `tem' before the next
iteration.

( http://gcc.gnu.org/ml/gcc-patches/2001-10/msg01323.html )

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

22 years ago2001-10-25 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 25 Oct 2001 21:17:34 +0000 (21:17 +0000)]
2001-10-25  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/documentation.html:  Fix typo.

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

22 years ago2001-10-04 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Thu, 25 Oct 2001 21:13:18 +0000 (21:13 +0000)]
2001-10-04  Alexandre Petit-Bianco  <apbianco@redhat.com>

* libjava.lang/PR3096.java: New file.
* libjava.lang/PR3096.out: Likewise.

( http://gcc.gnu.org/ml/java-patches/2001-q4/msg00165.html )

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

22 years ago * g-awk.ads: Move all pragma inlines next to the routine
bosch [Thu, 25 Oct 2001 19:56:43 +0000 (19:56 +0000)]
* g-awk.ads: Move all pragma inlines next to the routine
 declarations. This is more uniform with other GNAT spec.

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

22 years ago * doc/md.texi (movMM): Clarify semantics of storing into a
law [Thu, 25 Oct 2001 18:25:08 +0000 (18:25 +0000)]
    * doc/md.texi (movMM): Clarify semantics of storing into a
        non-paradoxical SUBREG.

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

22 years ago * langhooks.c (lang_hook_default_clear_binding_stack): New.
zack [Thu, 25 Oct 2001 17:57:03 +0000 (17:57 +0000)]
* langhooks.c (lang_hook_default_clear_binding_stack): New.
(lang_hook_default_get_alias_set): Move next to other alias
hooks.
* langhooks.h: Prototype lang_hook_default_clear_binding_stack.
(LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
(LANG_HOOKS_INITIALIZER): Add it.
* toplev.h (struct lang_hooks): Add clear_binding_stack.
* toplev.c (compile_file):  Call lang_hooks.clear_binding_stack
instead of a loop calling poplevel.
cp:
* cp-lang.c: Redefine LANG_HOOKS_CLEAR_BINDING_STACK to
pop_everything.

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

22 years ago * gcc.misc-tests/msgs.exp: Delete.
zack [Thu, 25 Oct 2001 17:38:14 +0000 (17:38 +0000)]
* gcc.misc-tests/msgs.exp: Delete.
* gcc.misc-tests/m-un-1.c: Move to gcc.dg.
* gcc.misc-tests/m-un-2.c: Move to gcc.dg.  Update expected
error set to match recent changes.

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

22 years ago * include/boehm-gc.h: Call thread local allocation functions
hboehm [Thu, 25 Oct 2001 17:29:41 +0000 (17:29 +0000)]
* include/boehm-gc.h: Call thread local allocation functions
if THREAD_LOCAL_ALLOC is defined.

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

22 years agoReplace occurrences of #elif with #if...#endif.
nickc [Thu, 25 Oct 2001 13:20:59 +0000 (13:20 +0000)]
Replace occurrences of #elif with #if...#endif.

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

22 years ago * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
ghazi [Thu, 25 Oct 2001 13:08:45 +0000 (13:08 +0000)]
* cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.

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

22 years ago * alias.c (can_address_p): No longer static.
kenner [Thu, 25 Oct 2001 12:55:16 +0000 (12:55 +0000)]
* alias.c (can_address_p): No longer static.
* emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
Return 0 if all parameters are default values.
(set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
(adjust_address_1): Try harder to compute a size.
* expr.c (expand_assignment, store_constructor): If can't address,
set MEM_KEEP_ALIAS_SET_P.
(store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
(store_field): Likewise.
(store_constructor): Simplify call to store_constructor_field.
* expr.h (can_address_p): New declaration.
* gensupport.c (gen_rtx_CONST_INT): New function.
* rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
(MEM_SIZE): Get size from mode, if not set and not BLKmode.
(MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.

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

22 years ago * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
kenner [Thu, 25 Oct 2001 12:42:15 +0000 (12:42 +0000)]
* stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.

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

22 years agoRestore ChangeLog entries which vanished with last commit.
jakub [Thu, 25 Oct 2001 08:40:40 +0000 (08:40 +0000)]
Restore ChangeLog entries which vanished with last commit.

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

22 years agoDaily bump.
gccadmin [Thu, 25 Oct 2001 07:16:42 +0000 (07:16 +0000)]
Daily bump.

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

22 years agoDaily bump.
gccadmin [Thu, 25 Oct 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago2001-10-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
bryce [Thu, 25 Oct 2001 03:15:37 +0000 (03:15 +0000)]
2001-10-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

* java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault): Use
snprintf, not asprintf.

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

22 years ago* config/i386/cygwin.h: Use proper path for mingw crt files when -mno-cygwin.
cgf [Thu, 25 Oct 2001 03:14:05 +0000 (03:14 +0000)]
* config/i386/cygwin.h: Use proper path for mingw crt files when -mno-cygwin.

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

22 years ago * dwarf2out.c (file_info_cmp): Always return consistent results.
kenner [Wed, 24 Oct 2001 22:44:47 +0000 (22:44 +0000)]
* dwarf2out.c (file_info_cmp): Always return consistent results.

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

22 years ago * doc/gcc.texi (G++ and GCC): Mention Ada front end.
bosch [Wed, 24 Oct 2001 22:31:17 +0000 (22:31 +0000)]
* doc/gcc.texi (G++ and GCC): Mention Ada front end.
(Standards): Refer to GNAT Reference Manual.

* doc/install.texi (Configuration): Mention Ada front end.
(Building): Add build instructions for the Ada front end.

* doc/invoke.texi (Overall Options): Document Ada file types.
Add "ada" to "-x LANGUAGE" option parameters.

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

22 years ago * stmt.c (expand_end_case): Index jumptables from zero for
rth [Wed, 24 Oct 2001 22:11:40 +0000 (22:11 +0000)]
    * stmt.c (expand_end_case): Index jumptables from zero for
        suitably small values of minval.

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

22 years agoCorrect date.
ljrittle [Wed, 24 Oct 2001 22:03:30 +0000 (22:03 +0000)]
Correct date.

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

22 years ago * configure.in (case $THREADS): Add *-*-freebsd* configuration.
ljrittle [Wed, 24 Oct 2001 21:57:08 +0000 (21:57 +0000)]
* configure.in (case $THREADS): Add *-*-freebsd* configuration.
(HAVE_GETHOSTBYADDR_R): Create a valid, non-optimal
configuration when gethostbyaddr_r exists yet no prototype
exists in netdb.h.
* configure: Rebuilt.
* posix-threads.cc (INTR): Reuse path for LINUX_THREADS
with FREEBSD_THREADS.  However, comment different reason.

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

22 years ago * stor-layout.c (place_union_field): If any field was aligned with
jakub [Wed, 24 Oct 2001 21:47:23 +0000 (21:47 +0000)]
* stor-layout.c (place_union_field): If any field was aligned with
attribute aligned, set record type's TYPE_USER_ALIGN.
(place_field): Likewise.
(finalize_record_size): Don't clear TYPE_USER_ALIGN.
(layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.

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

22 years ago2001-10-24 Tom Tromey <tromey@redhat.com>
tromey [Wed, 24 Oct 2001 21:39:24 +0000 (21:39 +0000)]
2001-10-24  Tom Tromey  <tromey@redhat.com>
            Warren Levy  <warrenl@redhat.com>

* Makefile.in: Rebuilt.
* Makefile.am (javax_source_files): New macro.
(ordinary_java_source_files): Added javax_source_files.
(libgcj.jar): Search javax for class files.
* javax/naming/LinkException.java (toString): Wrote.
(toString(boolean)): Likewise.
* javax/naming/ldap/InitialLdapContext.java: New file.
* javax/naming/directory/InitialDirContext.java: Wrote.
* javax/naming/spi/NamingManager.java (getPlusPath): Now has
package-private protection.
(getURLContext): Likewise.
(NamingManager): Likewise.
* javax/naming/spi/DirectoryManager.java: New file.
* javax/naming/directory/BasicAttributes.java: New file.
* javax/naming/directory/BasicAttribute.java: New file.
* javax/naming/spi/ResolveResult.java
(ResolveResult(Object,String)): Wrote.
(appendRemainingName): Uncommented body.
(appendRemainingComponent): Likewise.
* javax/naming/ldap/ControlFactory.java: New file.
* javax/naming/directory/AttributeModificationException.java
(toString): Wrote.
* javax/naming/spi/NamingManager.java (NamingManager): New
constructor.
(setInitialContextFactoryBuilder): Wrote.
(getInitialContext): Look in system properties for class name as
well.  Use Class.forName().
(getURLContext): Wrote.
(ofb): New field.
(setObjectFactoryBuilder): Wrote.
(getObjectInstance): Wrote.
(getContinuationContext): Wrote.
(getPlusPath): New private method.
(getStateToBind): Wrote.
* javax/naming/CannotProceedException.java: Added missing methods &
fields.
* javax/naming/LinkException.java: Added missing methods & fields.
* javax/naming/ReferralException.java (ReferralException): Made
constructor protected per spec.
Added missing abstract methods.
* javax/naming/directory/Attribute.java: Updated copyright.
* javax/naming/directory/AttributeModificationException.java: Ditto.
* javax/naming/directory/Attributes.java: Ditto.
* javax/naming/directory/DirContext.java: Ditto.
* javax/naming/spi/NamingManager.java: Ditto.
* javax/naming/spi/ResolveResult.java: Added comment.
* javax/naming/directory/Attribute.java: Added missing interface
methods.
* javax/naming/directory/AttributeModificationException.java:
Added missing methods & fields.
* javax/naming/directory/directory/Attributes.java: Added missing
interface methods.
* javax/naming/directory/SearchControls.java: Maded serialized fields
private.
* javax/naming/event/NamingEvent.java: Added comment.
* javax/naming/event/NamingExceptionEvent.java: Maded serialized field
private.
* javax/naming/ldap/UnsolicitedNotificationEvent.java: Maded
serialized field private.
* javax/naming/spi/NamingManager.java: Added missing field and stubbed
missing methods.
* javax/naming/directory/DirContext.java: Added missing interface
fields & methods.
* javax/naming/directory/InitialDirContext.java: Stubbed missing
methods.
* javax/naming/directory/ModificationItem.java: New class.
* javax/naming/directory/SearchResult.java: New class.
* javax/naming/directory/SearchControls.java: New class.
* javax/naming/event/EventContext.java: New class.
* javax/naming/event/EventDirContext.java: New class.
* javax/naming/event/NamespaceChangeListener.java: New class.
* javax/naming/event/NamingEvent.java: New class.
* javax/naming/event/NamingExceptionEvent.java: New class.
* javax/naming/event/NamingListener.java: New class.
* javax/naming/event/ObjectChangeListener.java: New class.
* javax/naming/ldap/Control.java: New class.
* javax/naming/ldap/ExtendedRequest.java: New class.
* javax/naming/ldap/ExtendedResponse.java: New class.
* javax/naming/ldap/HasControls.java: New class.
* javax/naming/ldap/LdapContext.java: New class.
* javax/naming/ldap/LdapReferralException.java: New class.
* javax/naming/ldap/UnsolicitedNotification.java: New class.
* javax/naming/ldap/UnsolicitedNotificationEvent.java: New class.
* javax/naming/ldap/UnsolicitedNotificationListener.java: New class.
* javax/naming/spi/DirObjectFactory.java: New class.
* javax/naming/spi/DirStateFactory.java: New class.
* javax/naming/spi/ObjectFactoryBuilder.java: New class.
* javax/naming/spi/ResolveResult.java: New class.
* javax/naming/spi/Resolver.java: New class.
* javax/naming/spi/StateFactory.java: New class.
* javax/naming/spi/ObjectFactory.java: Made an interface per spec.
* java/rmi/RemoteException.java: New class.
* javax/transaction/HeuristicCommitException.java: New class.
* javax/transaction/HeuristicMixedException.java: New class.
* javax/transaction/HeuristicRollbackException.java: New class.
* javax/transaction/NotSupportedException.java: New class.
* javax/transaction/RollbackException.java: New class.
* javax/transaction/Status.java: New class.
* javax/transaction/Synchronization.java: New class.
* javax/transaction/SystemException.java: New class.
* javax/transaction/Transaction.java: New class.
* javax/transaction/TransactionManager.java: New class.
* javax/transaction/UserTransaction.java: New class.
* javax/transaction/xa/XAException.java: Added public static fields.
* javax/transaction/xa/XAResource.java: New class.
* javax/transaction/xa/Xid.java: New class.
* javax/naming/CompoundName.java (CompoundName(String)): Reverse
elements if required.  Handle case where quote is at end of
string.
* javax/naming/CompoundName.java (CompoundName(String)): Handle
text left at end of parsing.
(toString): Handle empty element at beginning.
* javax/naming/CompositeName.java (toString): Handle empty element
at beginning.
(CompositeName(String)): Handle text left at end of parsing.
Correctly compute boundary condition for quoting.
* javax/naming/CompoundName.java: New file.
* javax/naming/CompositeName.java: New file.
* javax/naming/Binding.java: New file.
* javax/naming/LinkRef.java: New file.
* javax/naming/NameClassPair.java: New file.
* javax/naming/Reference.java (addrs, classFactory,
classFactoryLocation): New fields.
(className): Now protected.
(Reference): New constructors.
(add): Now public.  Implemented.
(get(String)): Likewise.
(add(int,RefAddr)): New method.
(clear): Likewise.
(clone): Likewise.
(equals): Likewise.
(get(int)): Likewise.
(getAll): Likewise.
(getFactoryClassLocation): Likewise.
(getFactoryClassName): Likewise.
(hashCode): Likewise.
(remove): Likewise.
(size): Likewise.
(toString): Likewise.
* javax/transaction/xa/XAException.java: New file.
* javax/transaction/TransactionRolledbackException.java: New file.
* javax/transaction/TransactionRequiredException.java: New file.
* javax/transaction/InvalidTransactionException.java: New file.
* javax/naming/directory/SchemaViolationException.java: Use
correct package.  Import NamingException.
* javax/naming/directory/NoSuchAttributeException.java,
javax/naming/directory/InvalidSearchFilterException.java,
javax/naming/directory/InvalidSearchControlsException.java,
javax/naming/directory/InvalidAttributesException.java,
javax/naming/directory/InvalidAttributeValueException.java,
javax/naming/directory/InvalidAttributeIdentifierException.java,
javax/naming/directory/AttributeModificationException.java,
javax/naming/directory/AttributeInUseException.java: Likewise.
* javax/naming/directory/InitialDirContext.java (getAttributes):
Stub implementation.
* javax/naming/RefAddr.java (RefAddr): Reindented.
(equals): Renamed and reindented.
* javax/naming/BinaryRefAddr.java (equals): Renamed and
reindented.

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

22 years ago2001-10-24 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 24 Oct 2001 20:32:34 +0000 (20:32 +0000)]
2001-10-24  Toon Moene  <toon@moene.indiv.nluug.nl>

* com.c (ffecom_check_size_overflow_): Only check for TREE_OVERFLOW.

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

22 years ago * c-common.h (struct c_common_identifier): Remove rid_code field.
zack [Wed, 24 Oct 2001 20:10:53 +0000 (20:10 +0000)]
* c-common.h (struct c_common_identifier): Remove rid_code field.
(C_RID_CODE): Use ->node.rid_code instead of ->rid_code.

* c-typeck.c (constructor_designated): New local flag.
(struct constructor_stack): Add "designated" field to match.
(start_init): Clear it.
(really_start_incremental_init, push_init_level): Push and
clear it.
(pop_init_level): Pop it.
(set_designator): Set it.

(pop_init_level): Suppress "missing initializer" warnings if
constructor_designated is true.
(process_init_element): Suppress warning about union
initialization under traditional C, if constructor_designated
is true.

* intl/loadmsgcat.c (INTTYPE_SIGNED, INTTYPE_MINIMUM,
INTTYPE_MAXIMUM): Clone from system.h.
(_nl_load_domain): Use them when testing for overflow of size_t.
Cast result of sizeof to off_t to compare to st_size value.
Move side effects out of conditional for comprehensibility.

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

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

22 years ago * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
kenner [Wed, 24 Oct 2001 19:36:36 +0000 (19:36 +0000)]
* integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
change.

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

22 years ago * include/safe-ctype.h (_sch_isbasic, IS_ISOBASIC): New.
neil [Wed, 24 Oct 2001 19:29:16 +0000 (19:29 +0000)]
* include/safe-ctype.h (_sch_isbasic, IS_ISOBASIC): New.

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

22 years ago * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
law [Wed, 24 Oct 2001 19:24:44 +0000 (19:24 +0000)]
    * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.

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

22 years ago * ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
law [Wed, 24 Oct 2001 18:58:15 +0000 (18:58 +0000)]
* ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
the node was already a set to a constant.

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

22 years ago * java/lang/reflect/Field.java: Made many methods private.
tromey [Wed, 24 Oct 2001 18:06:48 +0000 (18:06 +0000)]
* java/lang/reflect/Field.java: Made many methods private.

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

22 years ago * java/sql/Types.java (Types): New constructor.
tromey [Wed, 24 Oct 2001 18:04:23 +0000 (18:04 +0000)]
* java/sql/Types.java (Types): New constructor.

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

22 years ago * emit-rtl.c (set_mem_attributes): Fix typo in last change.
kenner [Wed, 24 Oct 2001 16:38:51 +0000 (16:38 +0000)]
* emit-rtl.c (set_mem_attributes): Fix typo in last change.
* print-rtl.c (print_rtx, case MEM): Improve display of MEM_DECL.

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

22 years ago * s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
ghazi [Wed, 24 Oct 2001 16:12:36 +0000 (16:12 +0000)]
* s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
(ASM_OUTPUT_ASCII): Const-ify.  Fix signed/unsigned warning.
(ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
* s390.c (s390_final_chunkify): Don't use string concatenation.
(s390_function_prologue, s390_function_epilogue): Const-ify.
* s390.h (FUNCTION_PROFILER): Remove unused variable.

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

22 years ago * c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
jakub [Wed, 24 Oct 2001 14:46:44 +0000 (14:46 +0000)]
* c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
prototypes.

* gcc.c-torture/compile/20011023-1.c: New test.

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

22 years agoDaily bump.
gccadmin [Wed, 24 Oct 2001 07:16:53 +0000 (07:16 +0000)]
Daily bump.

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

22 years agoDaily bump.
gccadmin [Wed, 24 Oct 2001 07:16:46 +0000 (07:16 +0000)]
Daily bump.

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

22 years agofix include problem
green [Wed, 24 Oct 2001 07:00:19 +0000 (07:00 +0000)]
fix include problem

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

22 years ago * java/lang/reflect/Field.java (Field): New constructor.
tromey [Wed, 24 Oct 2001 04:38:08 +0000 (04:38 +0000)]
* java/lang/reflect/Field.java (Field): New constructor.
* java/lang/ClassLoader.java (defineClass(String,byte[],int,int)):
Throw ClassFormatError.

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

22 years ago * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
shebs [Wed, 24 Oct 2001 03:43:02 +0000 (03:43 +0000)]
    * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
        -traditional-cpp in first-stage compilation.

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

22 years ago * gcc_release: Build snapshots from mainline. Generate Ada and
jsm28 [Wed, 24 Oct 2001 03:15:38 +0000 (03:15 +0000)]
* gcc_release: Build snapshots from mainline.  Generate Ada and
Chill tarballs.  Correct error check when building diffs.  Check
for errors when building bzip2 files.
* crontab: Use /sourceware/snapshot-tmp for building snapshots.

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

22 years ago2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 24 Oct 2001 02:37:56 +0000 (02:37 +0000)]
2001-10-23  Benjamin Kosnik  <bkoz@redhat.com>

Make -fno-exceptions work.
* config/locale/c_locale_gnu.cc: Use functexcept.
* include/bits/c++config (__stl_assert): Remove.
(__STL_USE_EXCEPTIONS): Same.
(__STL_TRY): Same.
(__STL_CATCH_ALL): Same.
(__STL_THROW): Same.
(__STL_RETHROW): Same.
(__STL_NOTHROW): Same.
(__STL_UNWIND): Same.
* include/bits/pthread_allocimpl.h: Fix.
* include/bits/std_bitset.h: Same.
* include/bits/std_list.h: Same.
* include/bits/std_memory.h: Same.
* include/bits/std_queue.h: Same.
* include/bits/stl_alloc.h: Same.
* include/bits/stl_deque.h: Same.
* include/bits/stl_list.h: Same.
* include/bits/stl_queue.h: Same.
* include/bits/stl_tempbuf.h: Same.
* include/bits/stl_tree.h: Same.
* include/bits/stl_uninitialized.h: Same.
* include/bits/stl_vector.h: Same.
* include/ext/ropeimpl.h: Same.
* include/ext/slist: Same.
* include/ext/stl_hashtable.h: Same.
* include/ext/stl_rope.h: Same.
* libsupc++/new_op.cc: Include cstdlib.
* libsupc++/eh_personality.cc: Add exception_defines include. Use
__throw_exception_again, tweak.
* libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
* libsupc++/vec.cc: Tweak.
* src/functexcept.cc: Remove unused arguments.
* testsuite/23_containers/bitset_members.cc: Tweak.

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

22 years ago * gensupport.c (target_flags): Add.
kenner [Wed, 24 Oct 2001 01:46:50 +0000 (01:46 +0000)]
* gensupport.c (target_flags): Add.

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

22 years ago * java/util/PropertyResourceBundle.java (handleGetObject): Now
tromey [Wed, 24 Oct 2001 00:01:15 +0000 (00:01 +0000)]
* java/util/PropertyResourceBundle.java (handleGetObject): Now
public.
* java/util/ListResourceBundle.java (handleGetObject): Now public
and final, per spec.

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

22 years ago * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.
ljrittle [Tue, 23 Oct 2001 23:21:39 +0000 (23:21 +0000)]
    * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.

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

22 years agoRemove Craig Burley.
law [Tue, 23 Oct 2001 23:04:53 +0000 (23:04 +0000)]
Remove Craig Burley.

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

22 years ago * misc.c (gnat_init, gnat_init_options, gnat_decode_option):
kenner [Tue, 23 Oct 2001 22:59:52 +0000 (22:59 +0000)]
* misc.c (gnat_init, gnat_init_options, gnat_decode_option):
Now static.
(LANG_HOOKS_GET_ALIAS_SET): New macro.
(gnat_expand_expr, case NULL_EXPR): Always call set_mem_attributes.
(gnat_get_alias_set): Renamed from lang_get_alias_set.
* gigi.h (gnat_decode_option, gnat_init_option, gnat_init):
Delete declarations.
(gnat_get_alias_set): Likewise.

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

22 years ago * builtins.c (expand_builtin_setjmp): Only call convert_memory_address
kenner [Tue, 23 Oct 2001 22:59:15 +0000 (22:59 +0000)]
* builtins.c (expand_builtin_setjmp): Only call convert_memory_address
if needed.
(expand_builtin_longjmp, expand_builtin_alloca): Likewise.
* except.c (expand_builtin_frob_return_addr): Likewise.
(expand_builtin_eh_return): Likewise.
* stmt.c (expand_computed_goto): Likewise.
* explow.c (memory_address): Likewise.
(allocate_dynamic_stack_space): Clean up predicate testing.
(probe_stack_range): Convert SIZE to Pmode.
* calls.c (rtx_for_function_call): Only call convert_memory_address
if needed.
Pass function call operand as ptr_mode, not Pmode.
* expr.c (expand_assignment): Clean up calls to convert_memory
address by only doing so when needed and making offsets Pmode.
(store_constructor, expand_expr, expand_expr_unaligned): Likewise.
* function.c (assign_parms): Ensure address in MEM for RESULT_DECL
is in Pmode, not ptr_mode.

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

22 years ago * darwin-protos.h (constructor_section, destructor_section,
ghazi [Tue, 23 Oct 2001 22:39:06 +0000 (22:39 +0000)]
* darwin-protos.h (constructor_section, destructor_section,
mod_init_section, mod_term_section): Prototype.
* darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
Const-ify.
* darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
Likewise.
(SECTION_FUNCTION): Prototype `FUNCTION'.  Delete
objc_section_init declaration.
(EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
(objc_section_init, try_section_alias): Make static.
(alias_section): Make static and hide unused function.
(ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.

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

22 years agowhitespace changes
kenner [Tue, 23 Oct 2001 21:50:37 +0000 (21:50 +0000)]
whitespace changes

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

22 years ago2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 23 Oct 2001 21:40:31 +0000 (21:40 +0000)]
2001-10-22  Benjamin Kosnik  <bkoz@redhat.com>

* config/cpu/i386/bits/limits.h: Move to...
* config/cpu/i386/bits/cpu_limits.h: ...here.
* config/cpu/cris/bits/cpu_limits.h: Same.
* config/cpu/powerpc/bits/cpu_limits.h: Same.
* config/cpu/x86-64/bits/cpu_limits.h: Same.
* config/cpu/alpha/bits/cpu_limits.h: New.
* config/cpu/m68k/bits/cpu_limits.h: New.
* config/cpu/s390/bits/cpu_limits.h: New.
* config/os/aix/bits/os_defines.h: Tweaks.
* config/os/bsd/freebsd/bits/os_defines.h: Same.
* config/os/bsd/netbsd/bits/os_defines.h: Same.
* config/os/djgpp/bits/os_defines.h: Same.
* config/os/generic/bits/os_defines.h: Same.
* config/os/gnu-linux/bits/os_defines.h: Same.
* config/os/hpux/bits/os_defines.h: Same.
* config/os/irix/irix5.2/bits/os_defines.h: Same.
* config/os/irix/irix6.5/bits/os_defines.h: Same.
* config/os/newlib/bits/os_defines.h: Same.
* config/os/solaris/solaris2.5/bits/os_defines.h: Same.
* config/os/solaris/solaris2.6/bits/os_defines.h: Same.
* config/os/solaris/solaris2.7/bits/os_defines.h: Same.

* include/bits/c++config: Remove include.
* include/bits/limits_generic.h: Remove.
* include/bits/std_limits.h: Include cpu_limits.h.
* include/Makefile.am: Fixup.
* src/limits.cc: Tweak.
* src/limits_generic.cc: Remove.
* src/gen-num-limits.cc: Remove.
* mknumeric_limits: Remove.

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

22 years ago * lib/g77.exp: Rewrite based on lib/g++.exp.
geoffk [Tue, 23 Oct 2001 21:39:47 +0000 (21:39 +0000)]
* lib/g77.exp: Rewrite based on lib/g++.exp.

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

22 years ago * alias.c (can_address_p): Compnonents are not addressable if
kenner [Tue, 23 Oct 2001 20:46:41 +0000 (20:46 +0000)]
* alias.c (can_address_p): Compnonents are not addressable if
the containing type has alias set 0.
(get_alias_set): Rework to use STRIP_NOPS.
Only call front-end routine on object, type, or object with
NOPs stripped, not inner values.
Use language hook to call front-end routine.
* builtins.c (get_memory_rtx): Always call set_mem_attributes.
(expand_builtin_apply): Call set_mem_align on MEMs we make.
Don't pass alignment to emit_block_move.
(expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
(expand_builtin_memset): Likewise, but for clear_storage.
* c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
and remove C++ specific parts.
* c-common.h (c_common_get_alias_set): Add declaration.
* c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
* calls.c (emit_call_1): Fix typo in sibcall_pop case.
(save_fixed_argument_area): Call set_mem_align.
Remove alignment in call to emit_block_move.
(emit_library_call_value_1, store_one_arg): Likewise.
(target_for_arg): Remove; disabled long ago.
* emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
once and similar cleanups.
(offset_address): Use proper introductory comment.
* expr.c (emit_block_move): Use alignment from that of MEM args, not
from explicit operand; all callers changed.
(clear_storage): Likewise.
(expand_assignment): Don't call set_mem_alias_set on to_rtx.
(store_field): Remove kludge on alias set used for to_rtx.
(highest_pow2_factor, case *_DIV_EXPR): Never return 0.
(expand_expr_unaligned): Call set_mem_attributes instead of
set_mem_alias_set.
* expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
* function.c (assign_stack_temp_for_type): Set MEM alignment.
(expand_function_end): Track MEM attributes of trampolines.
* ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
* integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
attributes from original.
* langhooks.c (lang_hook_default_get_alias_set): New function.
(hook_get_alias_set_0): New function.
* langhooks.h (hook_get_alias_set_0): New declaration.
(lang_hook_default_get_alias_set): Likewise.
(LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
* reload1.c (alter_reg): Use adjust_address_nv.
* rtl.c (get_mode_alignment): Moved to here.
* rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
change default if unknown from 1 to BITS_PER_UNIT.
* stor-layout.c (get_mode_alignment): Remove from here.
* toplev.h (struct lang_hoks): Add get_alias_set field.
* tree.h (lang_get_alias_set): Delete declaration.
* config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
* config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
(ix86_va_arg): Likewise.
* config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
* config/pa/pa.c (hppa_builtin_saveregs): Likewise.
* config/sparc/sparc.c (sparc_va_arg): Likewise.
* config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
(expand_block_move_mem): Remove dead code.
* cp/cp-lang.c (cxx_get_alias_set): New function.
Point LANG_HOOKS_GET_ALIAS_SET to it.
* f/com.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
(lang_get_alias_set): Delete.
* java/lang.c (lang_get_alias_set): Deleted.

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

22 years ago * alias.c (can_address_p): Compnonents are not addressable if
kenner [Tue, 23 Oct 2001 20:41:59 +0000 (20:41 +0000)]
* alias.c (can_address_p): Compnonents are not addressable if
the containing type has alias set 0.
(get_alias_set): Rework to use STRIP_NOPS.
Only call front-end routine on object, type, or object with
NOPs stripped, not inner values.
Use language hook to call front-end routine.
* builtins.c (get_memory_rtx): Always call set_mem_attributes.
(expand_builtin_apply): Call set_mem_align on MEMs we make.
Don't pass alignment to emit_block_move.
(expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
(expand_builtin_memset): Likewise, but for clear_storage.
* c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
and remove C++ specific parts.
* c-common.h (c_common_get_alias_set): Add declaration.
* c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
* calls.c (emit_call_1): Fix typo in sibcall_pop case.
(save_fixed_argument_area): Call set_mem_align.
Remove alignment in call to emit_block_move.
(emit_library_call_value_1, store_one_arg): Likewise.
(target_for_arg): Remove; disabled long ago.
* emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
once and similar cleanups.
(offset_address): Use proper introductory comment.
* expr.c (emit_block_move): Use alignment from that of MEM args, not
from explicit operand; all callers changed.
(clear_storage): Likewise.
(expand_assignment): Don't call set_mem_alias_set on to_rtx.
(store_field): Remove kludge on alias set used for to_rtx.
(highest_pow2_factor, case *_DIV_EXPR): Never return 0.
(expand_expr_unaligned): Call set_mem_attributes instead of
set_mem_alias_set.
* expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
* function.c (assign_stack_temp_for_type): Set MEM alignment.
(expand_function_end): Track MEM attributes of trampolines.
* ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
* integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
attributes from original.
* langhooks.c (lang_hook_default_get_alias_set): New function.
(hook_get_alias_set_0): New function.
* langhooks.h (hook_get_alias_set_0): New declaration.
(lang_hook_default_get_alias_set): Likewise.
(LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
* reload1.c (alter_reg): Use adjust_address_nv.
* rtl.c (get_mode_alignment): Moved to here.
* rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
change default if unknown from 1 to BITS_PER_UNIT.
* stor-layout.c (get_mode_alignment): Remove from here.
* toplev.h (struct lang_hoks): Add get_alias_set field.
* tree.h (lang_get_alias_set): Delete declaration.
* config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
* config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
(ix86_va_arg): Likewise.
* config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
* config/pa/pa.c (hppa_builtin_saveregs): Likewise.
* config/sparc/sparc.c (sparc_va_arg): Likewise.
* config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
(expand_block_move_mem): Remove dead code.
* cp/cp-lang.c (cxx_get_alias_set): New function.
Point LANG_HOOKS_GET_ALIAS_SET to it.
* f/com.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
(lang_get_alias_set): Delete.
* java/lang.c (lang_get_alias_set): Deleted.

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

22 years agoCorrect typo in last change
kenner [Tue, 23 Oct 2001 19:11:48 +0000 (19:11 +0000)]
Correct typo in last change

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

22 years ago * alias.c (can_address_p): Compnonents are not addressable if
kenner [Tue, 23 Oct 2001 18:51:18 +0000 (18:51 +0000)]
* alias.c (can_address_p): Compnonents are not addressable if
the containing type has alias set 0.
(get_alias_set): Rework to use STRIP_NOPS.
Only call front-end routine on object, type, or object with
NOPs stripped, not inner values.
Use language hook to call front-end routine.
* builtins.c (get_memory_rtx): Always call set_mem_attributes.
(expand_builtin_apply): Call set_mem_align on MEMs we make.
Don't pass alignment to emit_block_move.
(expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
(expand_builtin_memset): Likewise, but for clear_storage.
* c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
and remove C++ specific parts.
* c-common.h (c_common_get_alias_set): Add declaration.
* c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
* calls.c (emit_call_1): Fix typo in sibcall_pop case.
(save_fixed_argument_area): Call set_mem_align.
Remove alignment in call to emit_block_move.
(emit_library_call_value_1, store_one_arg): Likewise.
(target_for_arg): Remove; disabled long ago.
* emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
once and similar cleanups.
(offset_address): Use proper introductory comment.
* expr.c (emit_block_move): Use alignment from that of MEM args, not
from explicit operand; all callers changed.
(clear_storage): Likewise.
(expand_assignment): Don't call set_mem_alias_set on to_rtx.
(store_field): Remove kludge on alias set used for to_rtx.
(highest_pow2_factor, case *_DIV_EXPR): Never return 0.
(expand_expr_unaligned): Call set_mem_attributes instead of
set_mem_alias_set.
* expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
* function.c (assign_stack_temp_for_type): Set MEM alignment.
(expand_function_end): Track MEM attributes of trampolines.
* ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
* integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
attributes from original.
* langhooks.c (lang_hook_default_get_alias_set): New function.
(hook_get_alias_set_0): New function.
* langhooks.h (hook_get_alias_set_0): New declaration.
(lang_hook_default_get_alias_set): Likewise.
(LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
* reload1.c (alter_reg): Use adjust_address_nv.
* rtl.c (get_mode_alignment): Moved to here.
* rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
change default if unknown from 1 to BITS_PER_UNIT.
* stor-layout.c (get_mode_alignment): Remove from here.
* toplev.h (struct lang_hoks): Add get_alias_set field.
* tree.h (lang_get_alias_set): Delete declaration.
* config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
* config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
(ix86_va_arg): Likewise.
* config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
* config/pa/pa.c (hppa_builtin_saveregs): Likewise.
* config/sparc/sparc.c (sparc_va_arg): Likewise.
* config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
(expand_block_move_mem): Remove dead code.
* cp/cp-lang.c (cxx_get_alias_set): New function.
Point LANG_HOOKS_GET_ALIAS_SET to it.
* f/com.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
(lang_get_alias_set): Delete.
* java/lang.c (lang_get_alias_set): Deleted.

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

22 years ago * c-common.c (warn_div_by_zero): New.
neil [Tue, 23 Oct 2001 18:14:31 +0000 (18:14 +0000)]
* c-common.c (warn_div_by_zero): New.
* c-common.h (warn_div_by_zero): New.
* c-decl.c (c_decode_option): Take it on the command line.
  * c-typeck.c (build_binary_op): Warn about division by zero.
* doc/invoke.texi: Document the new command line option, fix
documentation of -Wmultichar.
  * testsuite/gcc.dg/divbyzero.c: New tests.
  * testsuite/gcc.dg/noncompile/20010524-1.c: Update.

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

22 years ago * java/io/BufferedWriter.java (localFlush): Don't synchronize.
tromey [Tue, 23 Oct 2001 16:18:44 +0000 (16:18 +0000)]
* java/io/BufferedWriter.java (localFlush): Don't synchronize.

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

22 years ago * i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
hubicka [Tue, 23 Oct 2001 13:34:33 +0000 (13:34 +0000)]
* i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.

* toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
to avoid update_life_info call.
* basic-block.h (CLEANUP_UPATE_LIFE): Define.
* cfgcleanup.c (bb_flags): New enum.
(BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
(notice_new_block, update_forwarder_flag): New functions.
(try_simplify_condjump): Use FORWARDER_BLOCK_P.
(try_forward_edges): Likewise; update flags.
(merge_blocks): Likewise.
(outgoing_edges_match): Likewise.
(try_crossjump_to_edge): Likewise.
(try_optimize_cfg): Likewise; initialize and clear the flags;
recompute life info if needed.
(cleanup_cfg): No need to clear aux pointers.

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

22 years ago* config/i386/i386.c (override_options): Default to minimum
aoliva [Tue, 23 Oct 2001 11:50:50 +0000 (11:50 +0000)]
* config/i386/i386.c (override_options): Default to minimum
stack alignment when optimizing for code size.
* doc/invoke.texi (-mpreferred-stack-boundary): Document the
change.

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

22 years ago* config/i386/i386.c (override_options): Set upper limit of
aoliva [Tue, 23 Oct 2001 11:47:23 +0000 (11:47 +0000)]
* config/i386/i386.c (override_options): Set upper limit of
-mpreferred-stack-boundary to 12.

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

22 years agoFix date in ChangeLog
lerdsuwa [Tue, 23 Oct 2001 09:20:55 +0000 (09:20 +0000)]
Fix date in ChangeLog

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

22 years ago * cp-tree.def (UNBOUND_CLASS_TEMPLATE): New tree node.
lerdsuwa [Tue, 23 Oct 2001 09:14:15 +0000 (09:14 +0000)]
* cp-tree.def (UNBOUND_CLASS_TEMPLATE): New tree node.
* cp-tree.h (make_unbound_class_template): Prototype new function.
* decl.c (make_unbound_class_template): New function.
* decl2.c (arg_assoc_template_arg): Handle UNBOUND_CLASS_TEMPLATE.
* error.c (dump_type): Likewise.
* mangle.c (write_type): Likewise.
* parse.y (template_parm): Likewise.
(template_argument): Use make_unbound_class_template.
* pt.c (convert_template_argument): Handle UNBOUND_CLASS_TEMPLATE.
(tsubst): Likewise.
(tsubst_copy): Likewise.
(unify): Likewise.
* tree.c (walk_tree): Likewise.
* typeck.c (comptypes): Likewise.

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

22 years agoDaily bump.
gccadmin [Tue, 23 Oct 2001 07:18:01 +0000 (07:18 +0000)]
Daily bump.

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

22 years ago * java/io/BufferedWriter (write (String, int, int)): Remove
bryce [Tue, 23 Oct 2001 06:04:58 +0000 (06:04 +0000)]
* java/io/BufferedWriter (write (String, int, int)): Remove
redundant bounds checks.
(write (char[], int, int)): Likewise.

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

22 years agoFix typos.
bryce [Tue, 23 Oct 2001 05:43:49 +0000 (05:43 +0000)]
Fix typos.

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

22 years ago * prims.cc (_Jv_Abort): Always print error message using fprintf,
bryce [Tue, 23 Oct 2001 05:42:03 +0000 (05:42 +0000)]
    * prims.cc (_Jv_Abort): Always print error message using fprintf,
        don't try to allocate.
        (_Jv_CreateJavaVM): Set gcj::runTimeInitialized.
        * include/jvm.h (gcj::runTimeInitialized): New variable declaration.
        * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault): Handle
        duplicate class registration with JvFail if the runtime hasn't been
        initialized yet.

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

22 years ago * java/util/GregorianCalendar.java (getGregorianChange): Removed
tromey [Tue, 23 Oct 2001 04:16:13 +0000 (04:16 +0000)]
* java/util/GregorianCalendar.java (getGregorianChange): Removed
`date' argument.

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

22 years ago * recog.c (peephole2_optimize): Add default case to switch.
zack [Tue, 23 Oct 2001 04:09:05 +0000 (04:09 +0000)]
 * recog.c (peephole2_optimize): Add default case to switch.

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

22 years agoinclude:
ghazi [Tue, 23 Oct 2001 03:17:29 +0000 (03:17 +0000)]
include:
* libiberty.h (hex_init): Revert delete.

libiberty:
* hex.c (hex_init): Provide empty stub.

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

22 years ago * linux_threads.c (GC_init_parallel): Do not declare as a static
bryce [Tue, 23 Oct 2001 00:28:56 +0000 (00:28 +0000)]
* linux_threads.c (GC_init_parallel): Do not declare as a static
constructor.
* include/gc.h (GC_init): Declare here. Add description.
* include/private/gc_priv.h (GC_init): Remove declaration.

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

22 years ago * doc/gcc.texi (Sending Patches): Remove.
jsm28 [Tue, 23 Oct 2001 00:18:25 +0000 (00:18 +0000)]
* doc/gcc.texi (Sending Patches): Remove.

f:
* g77.texi (Sending Patches): Remove.

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

22 years agoinclude:
ghazi [Mon, 22 Oct 2001 22:32:57 +0000 (22:32 +0000)]
include:
* libiberty.h (_hex_value): Const-ify.
(hex_init): Delete.

libiberty:
* hex.c (hex_init): Delete.
(_hex_value): Const-ify and initialize at compile-time.

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

22 years agotweak
jason [Mon, 22 Oct 2001 21:56:40 +0000 (21:56 +0000)]
tweak

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

22 years ago * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
bosch [Mon, 22 Oct 2001 20:39:56 +0000 (20:39 +0000)]
* Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.

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

22 years ago * unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
hp [Mon, 22 Oct 2001 20:33:13 +0000 (20:33 +0000)]
* unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
fields when comparing.

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

22 years ago * arm.h (HOST_INT, HOST_UINT): Delete. Remove all uses.
ghazi [Mon, 22 Oct 2001 19:36:24 +0000 (19:36 +0000)]
* arm.h (HOST_INT, HOST_UINT): Delete.  Remove all uses.
* arm.c (HOST_INT, HOST_UINT): Likewise.

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

22 years ago * config/darwin-protos.h (darwin_exception_section): Declare.
shebs [Mon, 22 Oct 2001 19:11:55 +0000 (19:11 +0000)]
    * config/darwin-protos.h (darwin_exception_section): Declare.
        (darwin_eh_frame_section): Declare.

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

22 years ago * i386.md (movti_rex64): Fix mode.
hubicka [Mon, 22 Oct 2001 16:22:31 +0000 (16:22 +0000)]
* i386.md (movti_rex64): Fix mode.

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

22 years ago * Make-lang.in (f/intdoc): Depend on safe-ctype.o.
zack [Mon, 22 Oct 2001 15:49:40 +0000 (15:49 +0000)]
* Make-lang.in (f/intdoc): Depend on safe-ctype.o.

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

22 years ago * target.h (struct gcc_target): Add asm_out.exception_section,
shebs [Mon, 22 Oct 2001 14:43:31 +0000 (14:43 +0000)]
    * target.h (struct gcc_target): Add asm_out.exception_section,
        asm_out.eh_frame_section.
        * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
        (TARGET_ASM_EH_FRAME_SECTION): New.
        (TARGET_INITIALIZER): Update.
        * output.h (default_exception_section): Declare.
        (default_eh_frame_section): Declare.
        * dwarf2out.c: Include target.h.
        (output_call_frame_info): Call target hook for eh frames.
        (default_eh_frame_section): New function.
        * except.c: Include target.h.
        (output_function_exception_table): Call target hook for exception
        section.
        * varasm.c (default_exception_section): Rename from
        exception_section, remove EXCEPTION_SECTION macro.

        * config/darwin.h (darwin_eh_frame_section): New function.
        (EXCEPTION_SECTION): Remove.
        (TARGET_ASM_EXCEPTION_SECTION): Define.
        * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
        (nextstep_exception_section): New function.
        (nextstep_eh_frame_section): New function.
        (TARGET_ASM_EXCEPTION_SECTION): Define.
        (TARGET_ASM_EH_FRAME_SECTION): Define.

        * config/pa/som.h (EXCEPTION_SECTION): Remove.
        (TARGET_ASM_EXCEPTION_SECTION): Define.
        * config/rs6000/sysv4.h, config/rs6000/xcoff.h
        (EXCEPTION_SECTION): Remove.
        (TARGET_ASM_EXCEPTION_SECTION): Define.
        * config/stormy16/stormy16.h: Remove comments referencing
        EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.

        * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
        TARGET_ASM_EH_FRAME_SECTION.

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

22 years agoFix precedence of conditional terms
nickc [Mon, 22 Oct 2001 09:18:19 +0000 (09:18 +0000)]
Fix precedence of conditional terms

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

22 years agofix spelling typo in comment
nickc [Mon, 22 Oct 2001 09:10:04 +0000 (09:10 +0000)]
fix spelling typo in comment

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

22 years agoFix typo
nickc [Mon, 22 Oct 2001 09:06:34 +0000 (09:06 +0000)]
Fix typo

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

22 years ago PR debug/4252
gerald [Mon, 22 Oct 2001 07:42:23 +0000 (07:42 +0000)]
PR debug/4252
* doc/invoke.texi: Remove references to -fdump-translation-unit.

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

22 years ago * config/i386/i386.c (ix86_expand_clear): New.
rth [Mon, 22 Oct 2001 07:19:01 +0000 (07:19 +0000)]
    * config/i386/i386.c (ix86_expand_clear): New.
        * config/i386/i386-protos.h: Declare it.
        * config/i386/i386.md (setcc peep2s): Use it.
        (movsi_xor): Unexport.

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

22 years agoDaily bump.
gccadmin [Mon, 22 Oct 2001 07:18:17 +0000 (07:18 +0000)]
Daily bump.

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

22 years ago * flow.c (clear_log_links): Use free_INSN_LIST_list, not
rth [Mon, 22 Oct 2001 07:09:53 +0000 (07:09 +0000)]
    * flow.c (clear_log_links): Use free_INSN_LIST_list, not
        free_EXPR_LIST_list for LOG_LINKS.

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

22 years ago * gnu/gcj/convert/JIS0208_to_Unicode.cc: Declare java_exceptions
bryce [Mon, 22 Oct 2001 05:38:25 +0000 (05:38 +0000)]
* gnu/gcj/convert/JIS0208_to_Unicode.cc: Declare java_exceptions
pragma.
* gnu/gcj/convert/JIS0212_to_Unicode.cc: Likewise.
* gnu/gcj/convert/Unicode_to_JIS.cc: Likewise.
* gnu/gcj/convert/gen-from-JIS.c: Put java_exceptions pragma in
output file.

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

22 years ago * gjavah.c (jni_print_char): Fix thinko in last change.
ghazi [Mon, 22 Oct 2001 03:58:19 +0000 (03:58 +0000)]
* gjavah.c (jni_print_char): Fix thinko in last change.

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

22 years ago * config/i386/i386.c (sco_asm_named_section): Delete.
robertl [Sun, 21 Oct 2001 21:55:40 +0000 (21:55 +0000)]
* config/i386/i386.c (sco_asm_named_section): Delete.
(sco_asm_out_constructor): Delete.
* config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
(ASM_OUTPUT_DOUBLE_INT): Likewise.
(TARGET_ASM_CONSTRUCTOR): Delete.  Use default.
(TARGET_ASM_NAMED_SECTION): Use default for ELF.
(EXCEPTION_SECTION): Delete EH scn renaming hack.

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