gcc.git
23 years agodecl.c (init_decl_processing): Add new class "protectionDomain" field.
Bryce McKinlay [Wed, 25 Apr 2001 15:45:15 +0000 (16:45 +0100)]
decl.c (init_decl_processing): Add new class "protectionDomain" field.

gcc/java:

2001-04-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

* decl.c (init_decl_processing): Add new class "protectionDomain"
field.
* class.c (make_class_data): Set initial value for "protectionDomain".

libjava:

2001-04-25  Bryce McKinlay  <bryce@albatross.co.nz>

java.security merge and ClassLoader compliance fixes.

* java/lang/Class.h (Class): Include ProtectionDomain.h.
New protectionDomain field.
(forName): Add initialize parameter. Fixes declaration to comply with
JDK spec.
* java/lang/natClass.cc (forName): Correct declaration of the three-arg
variant. Honour "initialize" flag.
(getProtectionDomain0): New method.
* java/lang/Class.java: Fix forName() declaration.
(getPackage): New method based on Classpath implementation.
(getProtectionDomain0): New native method decl.
(getProtectionDomain): New method.
* java/lang/ClassLoader.java (getParent): Now final.
(definedPackages): New field.
(getPackage): New.
(defineClass): New variant with protectionDomain argument.
(definePackage): New.
(getPackages): New.
(findSystemClass): Now final.
(getSystemResourceAsStream): Remove redundant "final" modifier.
(getSystemResource): Remove redundant "final" modifier.
(getResources): Now final.
(protectionDomainPermission): New static field.
(unknownProtectionDomain): Ditto.
(defaultProtectionDomain): Ditto.
(getSystemClassLoader): Now non-native.
* java/util/ResourceBundle.java (tryGetSomeBundle): Use the correct
arguments for Class.forName().
* java/lang/Package.java: New file.
* gnu/gcj/runtime/VMClassLoader.java (getVMClassLoader): Removed.
(instance): Static initialize singleton.
(findClass): Override this, not findSystemClass.
* java/lang/natClassLoader.cc (defineClass0): Set class's
protectionDomain field as specified.
(getSystemClassLoader): Removed.
(findClass): Renamed from findSystemClass. Call the interpreter via
URLClassLoader.findClass if loading class via dlopen fails.

* java/security/*.java: java.security import/merge with Classpath.
* java/security/acl/*.java: Likewise.
* java/security/interfaces/*.java: Likewise.
* java/security/spec/*.java: Likewise.
* java/net/NetPermission.java: Likewise.
* java/net/SocketPermission.java: Likewise.
* gnu/java/security/provider/DefaultPolicy.java: Likewise.

* Makefile.am: Add new classes.
* Makefile.in: Rebuilt.
* gcj/javaprims.h: CNI namespace rebuild.

From-SVN: r41543

23 years agooops
Jason Merrill [Wed, 25 Apr 2001 15:28:30 +0000 (11:28 -0400)]
oops

From-SVN: r41541

23 years ago* loop.c (try_swap_copy_prop): Go back to checking insn.
Jason Merrill [Wed, 25 Apr 2001 15:27:28 +0000 (11:27 -0400)]
* loop.c (try_swap_copy_prop): Go back to checking insn.

From-SVN: r41540

23 years agoemit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check if check_mode is...
Jakub Jelinek [Wed, 25 Apr 2001 09:57:00 +0000 (11:57 +0200)]
emit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check if check_mode is non-zero.

* emit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check
if check_mode is non-zero.

* gcc.dg/20010423-1.c: New test.

From-SVN: r41537

23 years agoi386.c (ix86_expand_int_movcc): If overlap between out and comparison sequence has...
Jakub Jelinek [Wed, 25 Apr 2001 09:51:25 +0000 (11:51 +0200)]
i386.c (ix86_expand_int_movcc): If overlap between out and comparison sequence has been detected...

* config/i386/i386.c (ix86_expand_int_movcc): If overlap between
out and comparison sequence has been detected, put result into
proper temporary pseudo.

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

From-SVN: r41536

23 years agodecl.c (grokdeclarator): Set context of namespace scope TYPE_DECLS.
Nathan Sidwell [Wed, 25 Apr 2001 08:31:19 +0000 (08:31 +0000)]
decl.c (grokdeclarator): Set context of namespace scope TYPE_DECLS.

cp:
* decl.c (grokdeclarator): Set context of namespace scope
TYPE_DECLS.
testsuite:
* g++.old-deja/g++.ns/type2.C: New test.

From-SVN: r41533

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

From-SVN: r41531

23 years agoMakefile.in (LIB2FUNCS): Remove _varargs and __dummy.
Zack Weinberg [Wed, 25 Apr 2001 00:58:04 +0000 (00:58 +0000)]
Makefile.in (LIB2FUNCS): Remove _varargs and __dummy.

* Makefile.in (LIB2FUNCS): Remove _varargs and __dummy.
* libgcc-std.ver: Remove __builtin_saveregs, __dummy, and __empty.
* libgcc2.c: Remove __dummy and __builtin_saveregs.
* libgcc2.h: Don't prototype __builtin_saveregs or __dummy.
* config/i860/varargs.asm: New file - preserve i860 __builtin_saveregs
for future reference.

From-SVN: r41529

23 years agoexcept.c (reachable_handlers): Step out one level from a RESX.
Jason Merrill [Wed, 25 Apr 2001 00:23:10 +0000 (20:23 -0400)]
except.c (reachable_handlers): Step out one level from a RESX.

        * except.c (reachable_handlers): Step out one level from a RESX.

        * except.c (struct eh_region): Rename 'last' to 'resume'.
        (mark_eh_region, duplicate_eh_region_1): Adjust.
        (expand_eh_region_end_cleanup): Remember the jump, not the barrier.
        (build_post_landing_pads): Likewise.
        (expand_end_catch, expand_eh_region_end_allowed): Don't set it.
        (expand_eh_region_end_must_not_throw): Likewise.
        (connect_post_landing_pads): Thread (only) regions with non-deleted
        resume insns.

        * except.c (expand_eh_region_end_cleanup): Save the EH return data
        registers around the cleanup.
        (get_exception_filter): New fn.
        (finish_eh_generation): Use it.

From-SVN: r41528

23 years agooptimize.c: Include hashtab.h.
Zack Weinberg [Wed, 25 Apr 2001 00:07:07 +0000 (00:07 +0000)]
optimize.c: Include hashtab.h.

* cp/optimize.c: Include hashtab.h.
(struct inline_data): Add tree_pruner.
(expand_call_inline, expand_calls_inline): Use it when calling
walk_tree.
(optimize_function): Initialize and free tree_pruner.

* g++.old-deja/g++.other/perf1.C: New test.

From-SVN: r41525

23 years agoconfigure.in (CPPFLAGS): Added builddir and srcdir to CPPFLAGS for libtool tests.
Alexandre Oliva [Tue, 24 Apr 2001 11:27:20 +0000 (11:27 +0000)]
configure.in (CPPFLAGS): Added builddir and srcdir to CPPFLAGS for libtool tests.

* configure.in (CPPFLAGS): Added builddir and srcdir to CPPFLAGS
for libtool tests.  Pre-create gnu/classpath/Configuration.java.
* configure: Rebuilt.

From-SVN: r41522

23 years agoc-semantics.c (add_scope_stmt): Don't call current_scope_stmt_stack multiple times.
Nathan Sidwell [Tue, 24 Apr 2001 08:25:56 +0000 (08:25 +0000)]
c-semantics.c (add_scope_stmt): Don't call current_scope_stmt_stack multiple times.

* c-semantics.c (add_scope_stmt): Don't call
current_scope_stmt_stack multiple times.

From-SVN: r41521

23 years agoLazy __FUNCTION__ generation.
Nathan Sidwell [Tue, 24 Apr 2001 08:22:06 +0000 (08:22 +0000)]
Lazy __FUNCTION__ generation.

gcc:
Lazy __FUNCTION__ generation.
* c-common.h (RID_FUNCTION_NAME, RID_PRETTY_FUNCTION_NAME,
RID_C99_FUNCTION_NAME): New _RIDs.
(CTI_FUNCTION_ID, CTI_PRETTY_FUNCTION_ID, CTI_FUNC_ID): Remove.
(CTI_FUNCTION_NAME_DECL, CTI_PRETTY_FUNCTION_NAME_DECL,
CTI_C99_FUNCTION_NAME_DECL, CTI_SAVED_FUNCTION_NAME_DECLS): New
global tree slots.
(function_id_node, pretty_function_id_node, func_id_node): Remove.
(c99_function_name_decl_node, function_name_decl_node,
pretty_function_name_decl_node, saved_function_name_decls):
Declare.
(struct language_function): Remove x_function_name_declared_p.
(make_fname_decl): Remove a parameter.
(declare_function_names): Remove prototype.
(start_fname_decls, finish_fname_decls): Prototype.
(fname_as_string): Likewise.
(fname_string, fname_decl): Likewise.
* c-common.c (make_fname_decl): Adjust.
(struct fname_var_t): New struct.
(fname_vars): New static array.
(declare_function_name): Remove.
(start_fname_decls, finish_fname_decls): New functions.
(fname_as_string): New function from remnants of
declare_function_name.
(fname_string, fname_decl): New functions.

* c-decl.c (c_function_name_declared_p): Remove.
(init_decl_processing): Don't generate __FUNCTION__ et al ids,
don't call declare_function_name. Call start_fname_decls.
(c_make_fname_decl): Adjust parameters. Generate the name. Don't
clobber the line number. Call finish_decl.
(start_function): Call start_fname_decls.
(finish_function): Call finish_fname_decls.
Remove c_function_name_declared_p.
(push_c_function_context): Don't push c_function_name_declared_p.
(pop_c_function_context): Don't pop c_function_name_declared_p.
(c_begin_compound_stmt): Don't check c_function_name_declared_p.
* c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): New tokens.
(program): Call finish_fname_decls for C.
(primary): Add VAR_FUNC_NAME.
(reswords): Add slots for __FUNCTION__ et al.
(rid_to_yy): Add mappings for __FUNCTION__ et al.
(yylexname): If it's a STRING_FUNC_NAME generate the function name
now. Don't look for VAR_DECLs containing __FUNCTION__ et al.
* c-semantics.c (prune_unused_decls): Remove.
(finish_stmt_tree): Don't call prune_unused_decls.
(genrtl_decl_stmt): Don't prune unused decls here.
cp:
Lazy __FUNCTION__ generation.
* cp-tree.def (FUNCTION_NAME): Remove.
* cp-tree.h (function_name_declared_p): Remove.
(cp_fname_init): Prototype.
* decl.c (init_decl_processing): Don't generate __FUNCTION__ et al ids,
don't call declare_function_name. Call start_fname_decls.
(cp_make_fname_decl): Adjust parameters. Generate the name. Don't
clobber the line number.
(cp_fname_init): New function.
(start_function): Call start_fname_decls.
(finish_function): Call finish_fname_decls.
* lex.c (reswords): Add slots for __FUNCTION__ et al.
(rid_to_yy): Add mappings for __FUNCTION__ et al.
* optimize.c (maybe_clone_body): Remove function_name_declared_p.
* parse.y (VAR_FUNC_NAME): New token.
(primary): Add VAR_FUNC_NAME.
* pt.c (tsubst_decl): Adjust a DECL_PRETTY_FUNCTION_P's
generation.
(tsubst, FUNCTION_NAME case): Remove.
(tsubst_copy, FUNCTION_NAME case): Remove.
(tsubst_expr, DECL_STMT case): Be careful with a
DECL_PRETTY_FUNCTION_P.
(instantiate_decl): Remove function_name_declared_p.
* semantics.c (begin_compound_statement): Don't call
declare_function_name here.
(setup_vtbl_ptr). Don't save & restore function_name_declared_p.
(finish_translation_unit): Call finish_fname_decls.
(expand_body): Remove function_name_declared_p.
* typeck2.c (digest_init): Allow any ERROR_MARK.
testsuite:
* gcc.dg/c99-func-2.c: Remove xfail.
* gcc.dg/c99-func-3.c: Remove xfail.
* gcc.dg/c99-func-4.c: Remove xfail.

From-SVN: r41520

23 years agopt.c (tsubst_decl): Use VOID_TYPE_P.
Nathan Sidwell [Tue, 24 Apr 2001 08:13:38 +0000 (08:13 +0000)]
pt.c (tsubst_decl): Use VOID_TYPE_P.

cp:
* pt.c (tsubst_decl): Use VOID_TYPE_P.
* semantics.c: Fix some typos.

From-SVN: r41519

23 years agoIf a SYMBOL_REF is in the constant pool, use the pool's SYMBOL_REF.
Nick Clifton [Tue, 24 Apr 2001 08:06:04 +0000 (08:06 +0000)]
If a SYMBOL_REF is in the constant pool, use the pool's SYMBOL_REF.

From-SVN: r41518

23 years agoAlways set STRICT_ALIGNMENT
Nick Clifton [Tue, 24 Apr 2001 08:00:44 +0000 (08:00 +0000)]
Always set STRICT_ALIGNMENT

From-SVN: r41517

23 years agoDaily bump.
GCC Administrator [Tue, 24 Apr 2001 07:17:10 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r41515

23 years ago* gcc.c-torture/execute/20010124-1.c: No longer expected to fail.
Zack Weinberg [Tue, 24 Apr 2001 03:10:08 +0000 (03:10 +0000)]
* gcc.c-torture/execute/20010124-1.c: No longer expected to fail.

From-SVN: r41514

23 years agoslist: Include required header files.
Peter Schmid [Mon, 23 Apr 2001 23:17:20 +0000 (23:17 +0000)]
slist: Include required header files.

2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

        * include/ext/slist: Include required header files.

From-SVN: r41512

23 years agoc-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid passing nested NOP_EX...
Joseph Myers [Mon, 23 Apr 2001 22:55:32 +0000 (23:55 +0100)]
c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid passing nested NOP_EXPRs to fold.

* c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid
passing nested NOP_EXPRs to fold.

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

From-SVN: r41508

23 years agostd_cerrno.h (errno): Define macro from identifier declared with external linkage...
Loren J. Rittle [Mon, 23 Apr 2001 19:54:34 +0000 (19:54 +0000)]
std_cerrno.h (errno): Define macro from identifier declared with external linkage, if needed.

* include/c_std/bits/std_cerrno.h (errno): Define macro from
identifier declared with external linkage, if needed.
* include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
* include/c_std/bits/std_cstdarg.h (va_end): Likewise.

From-SVN: r41507

23 years agoacinclude.m4 (CXX): Set to CXX so that in-directory re-configures find the build...
Benjamin Kosnik [Mon, 23 Apr 2001 19:50:00 +0000 (19:50 +0000)]
acinclude.m4 (CXX): Set to CXX so that in-directory re-configures find the build compiler.

2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>

* acinclude.m4 (CXX): Set to CXX so that in-directory
re-configures find the build compiler.
(GLIBCPP_ENABLE_C99): Do all tests with 0.0, not 0. Fixes
libstdc++/2609.
* aclocal.m4: Regenerate.
* configure: Regenerate.

From-SVN: r41506

23 years agoconfigure.in: Move *-chorusos target case to the proper switch.
Anthony Green [Mon, 23 Apr 2001 16:47:08 +0000 (16:47 +0000)]
configure.in: Move *-chorusos target case to the proper switch.

        * configure.in: Move *-chorusos target case to the proper switch.
        Disable libgcj.

From-SVN: r41505

23 years ago* reg-stack.c (emit_swap_insn): Do not get pass CALL_INSNs.
Jan Hubicka [Mon, 23 Apr 2001 13:29:42 +0000 (15:29 +0200)]
* reg-stack.c (emit_swap_insn): Do not get pass CALL_INSNs.

From-SVN: r41502

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

From-SVN: r41500

23 years ago* loop.c (loop_delete_insns): Add prototype.
Mark Mitchell [Mon, 23 Apr 2001 04:49:07 +0000 (04:49 +0000)]
* loop.c (loop_delete_insns): Add prototype.

From-SVN: r41499

23 years agoconfigure.in: Remove ENABLE_STD_NAMESPACE.
Phil Edwards [Mon, 23 Apr 2001 04:07:16 +0000 (04:07 +0000)]
configure.in: Remove ENABLE_STD_NAMESPACE.

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

* configure.in:  Remove ENABLE_STD_NAMESPACE.
* cp/decl2.c (flag_honor_std):  Always initialize to 1.
* config.in:  Regenerated.
* configure:  Regenerated.

From-SVN: r41497

23 years agoconfig.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h into xm_defines.
Stan Shebs [Mon, 23 Apr 2001 01:14:03 +0000 (01:14 +0000)]
config.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h into xm_defines.

        * config.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h
        into xm_defines.
        * config/rs6000/xm-darwin.h: Remove file.

From-SVN: r41496

23 years agocollect2.c (main): Use concat in lieu of xmalloc/sprintf.
Kaveh R. Ghazi [Mon, 23 Apr 2001 00:36:28 +0000 (00:36 +0000)]
collect2.c (main): Use concat in lieu of xmalloc/sprintf.

* collect2.c (main): Use concat in lieu of xmalloc/sprintf.
(write_c_file_stat): Likewise.

* dbxout.c (dbxout_init): Likewise.

* profile.c (output_func_start_profiler): Likewise.

cp:
* xref.c (GNU_xref_file): Use concat in lieu of xmalloc/sprintf.

f:
* com.c (ffecom_subscript_check_): Use concat in lieu of
xmalloc/sprintf.

java:
* jvspec.c (lang_specific_driver): Fix memory allocation
deficit, by using concat in lieu of xmalloc/sprintf.

From-SVN: r41495

23 years agoexcept.c (build_throw): Wrap the initialization of the exception object in a MUST_NOT...
Jason Merrill [Sun, 22 Apr 2001 23:50:06 +0000 (19:50 -0400)]
except.c (build_throw): Wrap the initialization of the exception object in a MUST_NOT_THROW_EXPR.

        * except.c (build_throw): Wrap the initialization of the exception
        object in a MUST_NOT_THROW_EXPR.
        (do_free_exception): #if 0.

From-SVN: r41494

23 years agoABOUT-GCC-NLS: Now that gettext 0.10.37 is out, require it instead of the CVS version.
Philipp Thomas [Sun, 22 Apr 2001 22:33:45 +0000 (22:33 +0000)]
ABOUT-GCC-NLS: Now that gettext 0.10.37 is out, require it instead of the CVS version.

* ABOUT-GCC-NLS: Now that gettext 0.10.37 is out,
require it instead of the CVS version.
        * cpperror.c (v_message): Put a blank before the macro
        body to not confuse exgettext.

From-SVN: r41493

23 years agoMakefile.in: Rebuilt.
Tom Tromey [Sun, 22 Apr 2001 17:01:18 +0000 (17:01 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added Line2D.java.
* java/awt/geom/Line2D.java: Wrote.

* java/awt/Menu.java (addNotify): Wrote.

* java/awt/PopupMenu.java (addNotify): Implemented.
(show): Likewise.

* java/awt/Scrollbar.java (addNotify): Call super.addNotify.
* java/awt/List.java (addNotify): Call super.addNotify.
* java/awt/Label.java (addNotify): Call super.addNotify.
* java/awt/FileDialog.java (addNotify): Call super.addNotify.
* java/awt/Dialog.java (addNotify): Call super.addNotify.
* java/awt/Choice.java (addNotify): Call super.addNotify.
* java/awt/CheckboxMenuItem.java (addNotify): Call super.addNotify.
* java/awt/Checkbox.java (addNotify): Call super.addNotify.

* java/awt/List.java (replaceItem): Notify peer.

* java/awt/geom/Rectangle2D.java
(Float.setRect(float,float,float,float)): New method.

* java/awt/event/ContainerEvent.java (getContainer): Now returns
Container.

* java/awt/RenderingHints.java (Key): Class now public.

* java/awt/Rectangle.java (Rectangle): Now implements
Serializable.
(getPathIterator): Removed.

* java/awt/GraphicsConfiguration.java (GraphicsConfiguration): New
constructor.

* java/awt/FileDialog.java: Wrote.

* java/awt/EventQueue.java (isDispatchThread): Now public.
(invokeLater): Likewise.

* java/awt/Component.java (setCursor): Update peer.
(getFontMetrics): Use peer.

* java/awt/ComponentOrientation.java (ComponentOrientation): Class
now final.

From-SVN: r41492

23 years agoDaily bump.
GCC Administrator [Sun, 22 Apr 2001 07:17:40 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r41491

23 years agoMakefile.in: Rebuilt.
Tom Tromey [Sun, 22 Apr 2001 03:05:39 +0000 (03:05 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added Line2D.java.
* java/awt/geom/Line2D.java: Wrote.

* java/awt/Menu.java (addNotify): Wrote.

* java/awt/PopupMenu.java (addNotify): Implemented.
(show): Likewise.

* java/awt/Scrollbar.java (addNotify): Call super.addNotify.
* java/awt/List.java (addNotify): Call super.addNotify.
* java/awt/Label.java (addNotify): Call super.addNotify.
* java/awt/FileDialog.java (addNotify): Call super.addNotify.
* java/awt/Dialog.java (addNotify): Call super.addNotify.
* java/awt/Choice.java (addNotify): Call super.addNotify.
* java/awt/CheckboxMenuItem.java (addNotify): Call super.addNotify.
* java/awt/Checkbox.java (addNotify): Call super.addNotify.

* java/awt/List.java (replaceItem): Notify peer.

* java/awt/geom/Rectangle2D.java
(Float.setRect(float,float,float,float)): New method.

* java/awt/event/ContainerEvent.java (getContainer): Now returns
Container.

* java/awt/RenderingHints.java (Key): Class now public.

* java/awt/Rectangle.java (Rectangle): Now implements
Serializable.
(getPathIterator): Removed.

* java/awt/GraphicsConfiguration.java (GraphicsConfiguration): New
constructor.

* java/awt/FileDialog.java: Wrote.

* java/awt/EventQueue.java (isDispatchThread): Now public.
(invokeLater): Likewise.

* java/awt/Component.java (setCursor): Update peer.
(getFontMetrics): Use peer.

* java/awt/ComponentOrientation.java (ComponentOrientation): Class
now final.

From-SVN: r41489

23 years agocalls.c (expand_call): Fix a comment typo.
Kazu Hirata [Sat, 21 Apr 2001 21:38:22 +0000 (21:38 +0000)]
calls.c (expand_call): Fix a comment typo.

2001-04-21  Kazu Hirata  <kazu@hxi.com>

* calls.c (expand_call): Fix a comment typo.

From-SVN: r41488

23 years agoflow.c (proagate_one_insn): Remove useless assignment.
Mark Mitchell [Sat, 21 Apr 2001 18:45:00 +0000 (18:45 +0000)]
flow.c (proagate_one_insn): Remove useless assignment.

* flow.c (proagate_one_insn): Remove useless assignment.
* jump.c (delete_insn): Tidy.
* loop.c (try_copy_prop): When deleting an instruction with a
REG_RETVAL note, delete the entire libcall sequence.
(loop_delete_insns): New function.
* unroll.c (initial_reg_note_copy): Copy INSN_LIST notes, even if
we're not substituting into them yet.

From-SVN: r41486

23 years agosparc.c (sparc_flat_eligible_for_epilogue_delay): Fix a comment typo.
Kazu Hirata [Sat, 21 Apr 2001 16:14:45 +0000 (16:14 +0000)]
sparc.c (sparc_flat_eligible_for_epilogue_delay): Fix a comment typo.

2001-04-21  Kazu Hirata  <kazu@hxi.com>

* config/sparc/sparc.c (sparc_flat_eligible_for_epilogue_delay):
Fix a comment typo.
* config/i960/i960.c (signed_arith_operand): Likewise.

From-SVN: r41484

23 years agonews.texi: Update release information for 0.5.27.
Toon Moene [Sat, 21 Apr 2001 16:11:14 +0000 (18:11 +0200)]
news.texi: Update release information for 0.5.27.

2001-04-21  Toon Moene  <toon@moene.indiv.nluug.nl>

* news.texi: Update release information for 0.5.27.

From-SVN: r41483

23 years agoh8300.c (general_operand_src): Fix a comment typo.
Kazu Hirata [Sat, 21 Apr 2001 16:00:13 +0000 (16:00 +0000)]
h8300.c (general_operand_src): Fix a comment typo.

2001-04-21  Kazu Hirata  <kazu@hxi.com>

* config/h8300/h8300.c (general_operand_src): Fix a comment typo.

From-SVN: r41481

23 years agoDaily bump.
GCC Administrator [Sat, 21 Apr 2001 07:16:40 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41477

23 years agoList.java: Wrote.
Tom Tromey [Sat, 21 Apr 2001 02:48:35 +0000 (02:48 +0000)]
List.java: Wrote.

* java/awt/List.java: Wrote.
* java/awt/Dialog.java: Wrote.

From-SVN: r41476

23 years agocp-tree.h (finish_enum): Change prototype.
Mark Mitchell [Sat, 21 Apr 2001 00:04:09 +0000 (00:04 +0000)]
cp-tree.h (finish_enum): Change prototype.

* cp-tree.h (finish_enum): Change prototype.
* decl.c (finish_enum): Reorganize.
* parse.y (structsp): Adjust calls to finish_enum.

From-SVN: r41474

23 years agocp-tree.h (finish_enum): Change prototype.
Mark Mitchell [Sat, 21 Apr 2001 00:04:08 +0000 (00:04 +0000)]
cp-tree.h (finish_enum): Change prototype.

* cp-tree.h (finish_enum): Change prototype.
* decl.c (finish_enum): Reorganize.
* parse.y (structsp): Adjust calls to finish_enum.

[[Split portion of a mixed commit.]]

From-SVN: r41473.2

23 years agoFixes to compile multiple .class files at once.
Per Bothner [Sat, 21 Apr 2001 00:01:12 +0000 (17:01 -0700)]
Fixes to compile multiple .class files at once.

From-SVN: r41472

23 years agoconfigure.in: Probe for times, clock, struct tms, and clock_t.
Zack Weinberg [Fri, 20 Apr 2001 23:06:55 +0000 (23:06 +0000)]
configure.in: Probe for times, clock, struct tms, and clock_t.

* configure.in: Probe for times, clock, struct tms, and clock_t.
* configure, config.in: Regenerate.
* timevar.c: Replace ifdef forest in get_time with (relatively)
straightforward series of checks based on autoconf's probes.

From-SVN: r41471

23 years agoacinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99 support is enabled...
Benjamin Kosnik [Fri, 20 Apr 2001 22:26:55 +0000 (22:26 +0000)]
acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99 support is enabled correctly before long long is activated.

2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
support is enabled correctly before long long is activated.
* aclocal.m4: Regenerate.
* configure: Regenerate.

* include/backward/backward_warning.h: Format correctly.

* testsuite/26_numerics/c99_classification_macros_c.cc: Add.
* testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
* testsuite/26_numerics/c99_macros.cc: Remove.

From-SVN: r41470

23 years agoacinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99 support is enabled...
Benjamin Kosnik [Fri, 20 Apr 2001 22:19:57 +0000 (22:19 +0000)]
acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99 support is enabled correctly before long long is activated.

2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
support is enabled correctly before long long is activated.
* aclocal.m4: Regenerate.
* configure: Regenerate.

* include/backward/backward_warning.h: Format correctly.

* testsuite/26_numerics/c99_classification_macros_c.cc: Add.
* testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
* testsuite/26_numerics/c99_macros.cc: Remove.

From-SVN: r41469

23 years agostl_bvector.h: Replace __ITERATOR_CATEGORY with __iterator_category.
Phil Edwards [Fri, 20 Apr 2001 20:16:37 +0000 (20:16 +0000)]
stl_bvector.h: Replace __ITERATOR_CATEGORY with __iterator_category.

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

* include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
__iterator_category.

From-SVN: r41468

23 years ago* config/pa/som.h (NM_FLAGS): Define.
Jeffrey A Law [Fri, 20 Apr 2001 18:22:53 +0000 (18:22 +0000)]
* config/pa/som.h (NM_FLAGS): Define.

From-SVN: r41467

23 years agotree.c (cp_tree_equal): Adjust final switch formatting.
Nathan Sidwell [Fri, 20 Apr 2001 16:06:06 +0000 (16:06 +0000)]
tree.c (cp_tree_equal): Adjust final switch formatting.

cp:
* tree.c (cp_tree_equal): Adjust final switch formatting. Add
't' case.
testsuite:
* g++.old-deja/g++.pt/typename28.C: New test.

From-SVN: r41462

23 years agoclass.c (dfs_unshared_virtual_bases): Add ATTRIBUTE_UNUSED.
Nathan Sidwell [Fri, 20 Apr 2001 15:29:09 +0000 (15:29 +0000)]
class.c (dfs_unshared_virtual_bases): Add ATTRIBUTE_UNUSED.

cp:
* class.c (dfs_unshared_virtual_bases): Add ATTRIBUTE_UNUSED.
(layout_empty_base): Return at end flag.
(build_base_field): Likewise.
(build_base_fields): Likewise.
(layout_virtual_bases): Don't add 1 to eoc value.
(end_of_class): Use full size for empty bases.
(layout_class_type): Clear CLASSNEARLY_EMPTY_P if we appended
empty bases. Don't add 1 to eoc value. Only add trailing padding
if we're an empty class with no empty bases.
(dump_class_hierarchy): Dump size and alignment.
testsuite:
* g++.old-deja/g++.abi/empty2.C: New test.
* g++.old-deja/g++.abi/empty3.C: New test.

From-SVN: r41460

23 years agoBetter scheduling of shifts
Bernd Schmidt [Fri, 20 Apr 2001 12:19:47 +0000 (12:19 +0000)]
Better scheduling of shifts

From-SVN: r41458

23 years agonatSystem.cc (getSystemTimeZone): Adjust for DST.
Warren Levy [Fri, 20 Apr 2001 09:43:52 +0000 (09:43 +0000)]
natSystem.cc (getSystemTimeZone): Adjust for DST.

* java/lang/natSystem.cc (getSystemTimeZone): Adjust for DST.
* java/text/SimpleDateFormat.java
(indexInArray): Removed private method.
(processYear): Removed private method.
(parseLenient): Removed private method.
(parseLeadingZeros): Removed private method.
(parseStrict): Removed private method.
(expect): Added new private method.
(parse): Reverted to pre-Classpath merge version with minor fixes.
* java/util/natGregorianCalendar.cc (computeTime): Handle strict
calendars.

From-SVN: r41456

23 years agoi386.c (ix86_expand_int_movcc, [...]): Sign-extend CONST_INTs.
Alexandre Oliva [Fri, 20 Apr 2001 09:36:34 +0000 (09:36 +0000)]
i386.c (ix86_expand_int_movcc, [...]): Sign-extend CONST_INTs.

* config/i386/i386.c (ix86_expand_int_movcc,
ix86_expand_strlensi_unroll_1): Sign-extend CONST_INTs.

From-SVN: r41454

23 years agoltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.228.
Alexandre Oliva [Fri, 20 Apr 2001 09:26:56 +0000 (09:26 +0000)]
ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.228.

* ltconfig, ltmain.sh, ltcf-cxx.sh: Upgraded to libtool 1.4a
1.641.2.228.

From-SVN: r41452

23 years agoacconfig.h (_GLIBCPP_USE_C99): Add.
Benjamin Kosnik [Fri, 20 Apr 2001 08:59:25 +0000 (08:59 +0000)]
acconfig.h (_GLIBCPP_USE_C99): Add.

2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>

* acconfig.h (_GLIBCPP_USE_C99): Add.
* config.h.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
9899: 1999 support.
* aclocal.m4: Regenerate.
* configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
* configure: Regenerate.
* configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
* configure: Regenerate.
* include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
into c99.
* include/c_std/bits/std_cmath.h: Bring C99 functions into c99
namespace.
* include/c_std/bits/std_cstdlib.h: Same.
* docs/html/configopts.html: Update.
* testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
math.h
(test_c99_classify): Add.
* config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
(_ISOC99_SOURCE): Remove.

* include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
* include/bits/c++config (__STL_ASSERTIONS): Simplify.
* acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
* aclocal.m4: Regenerate.
* configure: Regenerate.

From-SVN: r41451

23 years agors6000.md (ctrsi_internal1, [...]): In the short-branch case, this insn is only 4...
Geoffrey Keating [Fri, 20 Apr 2001 08:33:35 +0000 (08:33 +0000)]
rs6000.md (ctrsi_internal1, [...]): In the short-branch case, this insn is only 4 instructions long.

* config/rs6000/rs6000.md (ctrsi_internal1, ctrsi_internal2,
ctrsi_internal3, ctrsi_internal4, ctrsi_internal5,
ctrsi_internal6, ctrdi_internal1, ctrdi_internal2,
ctrdi_internal3, ctrdi_internal4, ctrdi_internal5,
ctrdi_internal6): In the short-branch case, this insn is only 4
instructions long.  Reported by Reza Yazdani <reza@apple.com>.

From-SVN: r41450

23 years agocomdat2.C: New test.
Jakub Jelinek [Fri, 20 Apr 2001 08:24:25 +0000 (10:24 +0200)]
comdat2.C: New test.

* g++.old-deja/g++.other/comdat2.C: New test.
* g++.old-deja/g++.other/comdat2-aux.cc: Auxiliary source for it.

From-SVN: r41449

23 years agocall.c (maybe_handle_ref_bind): Copy ICS_USER_FLAG and ICS_BAD_FLAG.
Jakub Jelinek [Fri, 20 Apr 2001 08:17:19 +0000 (10:17 +0200)]
call.c (maybe_handle_ref_bind): Copy ICS_USER_FLAG and ICS_BAD_FLAG.

* call.c (maybe_handle_ref_bind): Copy ICS_USER_FLAG and
ICS_BAD_FLAG.

* g++.old-deja/g++.other/overload14.C: New test.

From-SVN: r41448

23 years agosearch.c (lookup_field_r): If looking for type and non-TYPE_DECL is found...
Jakub Jelinek [Fri, 20 Apr 2001 08:13:59 +0000 (10:13 +0200)]
search.c (lookup_field_r): If looking for type and non-TYPE_DECL is found...

* search.c (lookup_field_r): If looking for type and non-TYPE_DECL
is found, look first if name does not match the structure name.

* g++.old-deja/g++.other/lookup23.C: New test.

From-SVN: r41447

23 years agoreg-stack.c (check_asm_stack_operands): Issue error if "=t" resp.
Jakub Jelinek [Fri, 20 Apr 2001 08:06:03 +0000 (10:06 +0200)]
reg-stack.c (check_asm_stack_operands): Issue error if "=t" resp.

* reg-stack.c (check_asm_stack_operands): Issue error if "=t" resp.
"=u" is used together with "st" resp. "st(1)" clobber.

From-SVN: r41446

23 years agoDuh, broken perms.
Jakub Jelinek [Fri, 20 Apr 2001 08:04:29 +0000 (10:04 +0200)]
Duh, broken perms.

From-SVN: r41445

23 years agogcse.c (gcse_main): Fix comment typo.
Jakub Jelinek [Fri, 20 Apr 2001 07:56:50 +0000 (09:56 +0200)]
gcse.c (gcse_main): Fix comment typo.

* gcse.c (gcse_main): Fix comment typo.
(delete_null_pointer_check): Likewise.
(hash_scan_set): Don't consider sets with REG_EQUIV MEM notes.
* cse.c (cse_insn): Likewise.
* function.c (fixup_var_refs_insns_with_hash): The sequence is
toplevel.

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

From-SVN: r41444

23 years agoold-dejagnu.exp: Don't delete output of executable.
David Billinghurst [Fri, 20 Apr 2001 07:25:43 +0000 (07:25 +0000)]
old-dejagnu.exp: Don't delete output of executable.

* lib/old-dejagnu.exp: Don't delete output of executable.
Add .exe suffix to executables.

Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r41443

23 years agoDaily bump.
GCC Administrator [Fri, 20 Apr 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41441

23 years agotoplev.c: Excise all code for the undocumented -dm option.
Zack Weinberg [Fri, 20 Apr 2001 03:45:51 +0000 (03:45 +0000)]
toplev.c: Excise all code for the undocumented -dm option.

* toplev.c: Excise all code for the undocumented -dm option.
(float_signal): Call signal just once, unconditionally.

From-SVN: r41438

23 years agofold-const.c (fold): Use first_rtl_op rather than TREE_CODE_LENGTH when...
Geoffrey Keating [Fri, 20 Apr 2001 01:34:01 +0000 (01:34 +0000)]
fold-const.c (fold): Use first_rtl_op rather than TREE_CODE_LENGTH when...

* fold-const.c (fold): Use first_rtl_op rather than
TREE_CODE_LENGTH when looping over parameters of a tree.
Correct strange grouping in test for evaluated SAVE_EXPR.

From-SVN: r41437

23 years agopa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
Jeffrey A Law [Fri, 20 Apr 2001 01:13:37 +0000 (01:13 +0000)]
pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.

        * config/pa/pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
        * config/pa/pa.h (CPLUSPLuS_CPP_SPEC): Define.

        * config/pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Truncate subspace
        name at 32 total characters.
        (ASM_OUTPUT_SECTION_NAME): Similarly.  Also, only support placing
        functions in named sections -- data items can still go into unique
        sections, but they have normal names (ie $LIT$ and $DATA$).

        * config/pa/som.h (SUPPORTS_INIT_PRIORITY): SOM does not support
        INIT_PRIORITY.

From-SVN: r41436

23 years agoFix typo
Mark Mitchell [Fri, 20 Apr 2001 00:53:55 +0000 (00:53 +0000)]
Fix typo

From-SVN: r41434

23 years agoMakefile.am (doxygen): Assume script is missing execute perms.
Phil Edwards [Thu, 19 Apr 2001 23:07:18 +0000 (23:07 +0000)]
Makefile.am (doxygen): Assume script is missing execute perms.

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

* Makefile.am (doxygen):  Assume script is missing execute perms.
* Makefile.in:  Regenerated.
* docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.

From-SVN: r41432

23 years agoMakefile.am (doxygen): Assume script is missing execute perms.
Phil Edwards [Thu, 19 Apr 2001 23:01:40 +0000 (23:01 +0000)]
Makefile.am (doxygen): Assume script is missing execute perms.

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

* Makefile.am (doxygen):  Assume script is missing execute perms.
* Makefile.in:  Regenerated.
* docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.

From-SVN: r41431

23 years agocp-tree.h (DECL_LANGUAGE): Don't assume DECL_LANG_SPECIFIC is set.
Mark Mitchell [Thu, 19 Apr 2001 22:49:48 +0000 (22:49 +0000)]
cp-tree.h (DECL_LANGUAGE): Don't assume DECL_LANG_SPECIFIC is set.

* cp-tree.h (DECL_LANGUAGE): Don't assume DECL_LANG_SPECIFIC is
set.
(SET_DECL_LANGUAGE): New macro.
* decl.c (duplicate_decls): Use SET_DECL_LANGUAGE.
(pushdecl): Likewise.
(build_library_fn_1): Likewise.
(build_cp_library_fn): Likewise.
(grokfndecl): Likewise.
(grokvardecl): Mark `extern "C"' variables as having C linkage.
* decl2.c (grokclassfn): Use SET_DECL_LANGUAGE.
* lex.c (retrofit_lang_decl): Likewise.
* mangle.c (mangle_decl_string): Don't mangle the names of
variables declared with C language linkage.
* semantics.c (finish_member_declaration): Use SET_DECL_LANGUAGE.

From-SVN: r41430

23 years agovms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX to TARGET_OBJECT_SUFFIX and...
DJ Delorie [Thu, 19 Apr 2001 20:28:05 +0000 (16:28 -0400)]
vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX to TARGET_OBJECT_SUFFIX and...

* config/alpha/vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
to TARGET_OBJECT_SUFFIX and TARGET_EXECUTABLE_SUFFIX.
* config/i386/cygwin.h: Likewise.
* config/i386/mingw32.h: Likewise.
* config/vax/vms.h: Likewise.
* config/i386/djgpp.h: Remove NO_AUTO_EXE_SUFFIX.

* config/alpha/xm-vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
to HOST_OBJECT_SUFFIX and HOST_EXECUTABLE_SUFFIX.
* config/i386/xm-cygwin.h: Likewise.
* config/i386/xm-djgpp.h: Likewise.
* config/i386/xm-mingw32.h: Likewise.
* config/vax/xm-vms.h: Likewise.

* mkdeps.c (deps_add_default_target): Use TARGET_OBJECT_SUFFIX
instead of OBJECT_SUFFIX.
* collect2.c (find_a_file): Look for files matching the extension
HOST_EXECUTABLE_SUFFIX instead of EXECUTABLE_SUFFIX.
* gcc.c (DEFAULT_SWITCH_CURTAILS_COMPILATION): Depend on
TARGET_EXECUTABLE_SUFFIX.
(find_a_file): Use HOST_EXECUTABLE_SUFFIX.
(make_relative_prefix): Likewise.
(convert_filename): Use TARGET_ suffixes throughout.  Remove
NO_AUTO_EXE_SUFFIX.
(process_command): Likewise.
(do_spec_1): Likewise.
* java/lang.c (init_parse): Likewise.

* gcc.texi : Document four new options matching the pattern
(HOST|TARGET)_(OBJECT|EXECUTABLE)_SUFFIX.  Remove documentation
for deleted macros OBJECT_SUFFIX and EXECUTABLE_SUFFIX.  Remove
documentation for NO_AUTO_EXE_SUFFIX.

From-SVN: r41428

23 years agotoplev.h (struct lang_hooks): Allow decode_option to indicate that language-independe...
Mark Mitchell [Thu, 19 Apr 2001 19:52:17 +0000 (19:52 +0000)]
toplev.h (struct lang_hooks): Allow decode_option to indicate that language-independent processing should not...

* toplev.h (struct lang_hooks): Allow decode_option to indicate
that language-independent processing should not be done.
* toplev.c (main): Adjust accordingly.

* top.c (ffe_decode_option): Do not permit language-independent
processing for -ffixed-line-length.

From-SVN: r41427

23 years agortl.texi (jump_insn): Expand on JUMP_LABEL documentation.
Mark Mitchell [Thu, 19 Apr 2001 19:44:43 +0000 (19:44 +0000)]
rtl.texi (jump_insn): Expand on JUMP_LABEL documentation.

* rtl.texi (jump_insn): Expand on JUMP_LABEL documentation.
* loop.c (load_mems): Handle a NULL JUMP_LABEL for a JUMP_INSN.

From-SVN: r41424

23 years agomips.md (reload_outputdi): Require that operand0 be a general_operand.
Mark Mitchell [Thu, 19 Apr 2001 17:35:46 +0000 (17:35 +0000)]
mips.md (reload_outputdi): Require that operand0 be a general_operand.

* mips.md (reload_outputdi): Require that operand0 be a
general_operand.

From-SVN: r41423

23 years ago* invoke.texi (-Wshadow): Clarify.
David Billinghurst [Thu, 19 Apr 2001 13:17:30 +0000 (15:17 +0200)]
* invoke.texi (-Wshadow): Clarify.

From-SVN: r41420

23 years agoDaily bump.
GCC Administrator [Thu, 19 Apr 2001 07:17:11 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r41419

23 years agoloop.c (load_mems): Examine all the instructions in the loop before concluding that...
Mark Mitchell [Thu, 19 Apr 2001 02:15:46 +0000 (02:15 +0000)]
loop.c (load_mems): Examine all the instructions in the loop before concluding that all jumps...

* loop.c (load_mems): Examine all the instructions in the loop
before concluding that all jumps branch to the first instruction
after the loop.

From-SVN: r41417

23 years ago* config/i386/xm-cygwin.h (CPP_SPEC): Fix typo.
Christopher Faylor [Thu, 19 Apr 2001 00:35:06 +0000 (00:35 +0000)]
* config/i386/xm-cygwin.h (CPP_SPEC): Fix typo.

From-SVN: r41414

23 years agoEliminate assembler warnings found by ia64-linux bootstrap.
Jim Wilson [Wed, 18 Apr 2001 20:30:48 +0000 (20:30 +0000)]
Eliminate assembler warnings found by ia64-linux bootstrap.

* src/ia64/unix.S: Delete unnecessary increment and decrement of loc2
to eliminate RAW DV.

From-SVN: r41411

23 years agocpp.texi (-Wwhite-space): Remove.
Jakub Jelinek [Wed, 18 Apr 2001 12:40:56 +0000 (14:40 +0200)]
cpp.texi (-Wwhite-space): Remove.

* cpp.texi (-Wwhite-space): Remove.
(-Wall): -Wall does not imply -Wwhite-space.

From-SVN: r41409

23 years agosemantics.c (simplify_aggr_init_exprs_r): Don't restore flag_access_control from...
John David Anglin [Wed, 18 Apr 2001 07:55:09 +0000 (07:55 +0000)]
semantics.c (simplify_aggr_init_exprs_r): Don't restore flag_access_control from uninitialized storage.

* semantics.c (simplify_aggr_init_exprs_r): Don't restore
flag_access_control from uninitialized storage.

From-SVN: r41408

23 years agoDaily bump.
GCC Administrator [Wed, 18 Apr 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41405

23 years agodbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined, use it instead of blindl...
Zack Weinberg [Wed, 18 Apr 2001 06:15:38 +0000 (06:15 +0000)]
dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined, use it instead of blindly generating a .stabs.

* dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined,
use it instead of blindly generating a .stabs.
* xcoffout.h: Define DBX_OUTPUT_GCC_MARKER so we put the type
in the right place.
* xcoffout.c: Don't bother defining default for N_CATCH.
(UNKNOWN_STAB): Use internal_error.
(stab_to_sclass): Remove now-unnecessary aborts.
Remove #if 0'ed case N_BROWS.  Add #ifdef N_OPT block.

From-SVN: r41404

23 years ago* testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
Loren J. Rittle [Wed, 18 Apr 2001 05:13:33 +0000 (05:13 +0000)]
* testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.

From-SVN: r41402

23 years agojump.c (mark_all_labels): Canonicalize the tail recursion label attached to CALL_PLAC...
Jeffrey A Law [Wed, 18 Apr 2001 03:39:19 +0000 (03:39 +0000)]
jump.c (mark_all_labels): Canonicalize the tail recursion label attached to CALL_PLACEHOLDER insns.

        * jump.c (mark_all_labels): Canonicalize the tail recursion
        label attached to CALL_PLACEHOLDER insns.

From-SVN: r41400

23 years agooutput.h (dump_flow_info, [...]): Delete redundant prototypes.
Kaveh R. Ghazi [Wed, 18 Apr 2001 03:25:37 +0000 (03:25 +0000)]
output.h (dump_flow_info, [...]): Delete redundant prototypes.

* output.h (dump_flow_info, free_basic_block_vars,
which_alternative): Delete redundant prototypes.

* rtl.h (bss_section): Likewise.

From-SVN: r41398

23 years agomap_operators.cc: Add dg-excess-errors.
Benjamin Kosnik [Wed, 18 Apr 2001 01:06:05 +0000 (01:06 +0000)]
map_operators.cc: Add dg-excess-errors.

2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
* testsuite/23_containers/set_operators.cc: Same.

* include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
default.
(__GLIBCPP__): Bump from value of last release.
* include/bits/concept_check.h: Default to off, edit comments.
* src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
* src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
* src/Makefile.in: Regenerate.

From-SVN: r41397

23 years ago* dbxout.c (N_OPT): Define if not available from <stab.h>
Loren J. Rittle [Tue, 17 Apr 2001 23:49:43 +0000 (23:49 +0000)]
* dbxout.c (N_OPT): Define if not available from <stab.h>

From-SVN: r41395

23 years agostl_algo.h (std::transform): Disable the check on _OutputIter for now.
Phil Edwards [Tue, 17 Apr 2001 23:11:28 +0000 (23:11 +0000)]
stl_algo.h (std::transform): Disable the check on _OutputIter for now.

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

* include/bits/stl_algo.h (std::transform):  Disable the check
on _OutputIter for now.

From-SVN: r41393

23 years ago2001-04-18 Toon Moene <toon@moene.indiv.nluug.nl>
Toon Moene [Tue, 17 Apr 2001 22:53:36 +0000 (00:53 +0200)]
2001-04-18  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/execute/short.x; Remove - Error has been fixed.

From-SVN: r41392

23 years agovax.h (PROMOTE_PROTOTYPES): Define for compatibility with system libraries and native...
John David Anglin [Tue, 17 Apr 2001 17:54:22 +0000 (17:54 +0000)]
vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system libraries and native K&R compilers.

* vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system
libraries and native K&R compilers.

From-SVN: r41391

23 years agoDaily bump.
GCC Administrator [Tue, 17 Apr 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41388

23 years agoc-typeck.c (convert_arguments): Don't check for width changes with -Wtraditional.
Kaveh R. Ghazi [Tue, 17 Apr 2001 02:21:10 +0000 (02:21 +0000)]
c-typeck.c (convert_arguments): Don't check for width changes with -Wtraditional.

* c-typeck.c (convert_arguments): Don't check for width changes
with -Wtraditional.

* invoke.texi (-Wtraditional): Update documentation.

testsuite:
* gcc.dg/wtr-conversion-1.c: Don't test for width changes.

From-SVN: r41386

23 years agotoplev.c (output_lang_identify): Delete.
Zack Weinberg [Mon, 16 Apr 2001 18:30:48 +0000 (18:30 +0000)]
toplev.c (output_lang_identify): Delete.

* toplev.c (output_lang_identify): Delete.
(compile_file): Don't call ASM_IDENTIFY_GCC or ASM_IDENTIFY_LANGUAGE.
Don't generate gcc2_compiled. label.  Don't emit a nop if profiling.
If IDENT_ASM_OP is defined, emit an .ident "GCC (GNU) <version>"
after calling ASM_FILE_END.

* dbxout.c (dbxout_init): Don't call ASM_IDENTIFY_GCC_AFTER_SOURCE.
Instead, unconditionally emit an N_OPT stab with string equal
to STABS_GCC_MARKER, which defaults to "gcc2_compiled."

* defaults.h: Don't provide default for ASM_IDENTIFY_LANGUAGE.

* config/dbxelf.h, config/freebsd.h, config/nextstep.h,
config/psos.h, config/ptx4.h, config/1750a/1750a.h,
config/alpha/alpha.h, config/alpha/elf.h, config/arc/arc.h,
config/arm/aof.h, config/arm/coff.h, config/arm/elf.h,
config/arm/linux-elf.h, config/avr/avr.h, config/d30v/d30v.h,
config/dsp16xx/dsp16xx.h, config/h8300/h8300.h,
config/i370/i370.h, config/i386/beos-elf.h,
config/i386/osf1elf.h, config/i386/osfrose.h,
config/ia64/sysv4.h, config/m68k/3b1.h, config/m68k/auxgas.h,
config/m68k/crds.h, config/m68k/hp320.h, config/m68k/m68kv4.h,
config/m68k/mot3300.h, config/m68k/news.h, config/m68k/sgs.h,
config/m68k/tower-as.h, config/mcore/mcore-elf.h,
config/mips/iris6.h, config/mips/osfrose.h,
config/mips/sni-svr4.h, config/pa/som.h, config/pdp11/pdp11.h,
config/sparc/sp64-elf.h:
Delete definitions of any or all of: ASM_IDENTIFY_GCC,
ASM_IDENTIFY_GCC_AFTER_SOURCE, and ASM_IDENTIFY_LANGUAGE.

* config/elfos.h, config/freebsd.h, config/linux.h,
config/alpha/elf.h, config/arm/linux-elf.h, config/i386/i386elf.h,
config/i386/ptx4-i.h, config/mips/gnu.h, config/mips/linux.h,
config/sparc/linux.h, config/sparc/linux64.h: Delete definitions
of ASM_FILE_START which merely emit a .version directive.  Delete
definitions of ASM_FILE_END which merely emit an .ident directive.

* config/avr/avr.h, config/vax/vax.h: Delete definition of
ASM_IDENTIFY_GCC and move part of its logic into
ASM_FILE_START.

* config/i386/att.h, config/i386/gas.h, config/i386/linux.h,
config/sparc/linux-aout.h: Don't emit .version directive in
ASM_FILE_START.

* config/i386/dgux.c, config/m88k/m88k.c, config/sh/sh.c
(output_file_start): Correct comment.

* config/i386/osfrose.h: Don't emit trailing .ident directive.
* config/m68k/mot3300.h: Override STABS_GCC_MARKER to "gcc2_compiled%"
to match gdb.
* config/pa/lib2funcs.asm: Delete gcc_compiled. label.
* config/rs6000/aix.h: Correct comment.

* config/i386/i386afe.h: Delete.
* config.gcc: Remove references to i386afe.h.

* tm.texi: Delete documentation of ASM_IDENTIFY_GCC.  The
other macros deleted by this patch were undocumented.

From-SVN: r41385

23 years ago* pa.md (reload_outdi): Operand 0 must be a non hard register.
Jeffrey A Law [Mon, 16 Apr 2001 17:57:21 +0000 (17:57 +0000)]
* pa.md (reload_outdi): Operand 0 must be a non hard register.

From-SVN: r41381

23 years agoternary.h: New file - Ternary search tree header.
Daniel Berlin [Mon, 16 Apr 2001 15:30:17 +0000 (15:30 +0000)]
ternary.h: New file - Ternary search tree header.

2001-04-15  Daniel Berlin  <dan@cgsoftware.com>

* ternary.h: New file - Ternary search tree header.

2001-04-15  Daniel Berlin  <dan@cgsoftware.com>

* ternary.c: New file - Ternary search tree implementation.

* Makefile.in: Add ternary.o, and ternary.c dependencies.

From-SVN: r41380

23 years agopa.c (secondary_reload_class): SAR<->FP copies require a secondary register.
Jeffrey A Law [Mon, 16 Apr 2001 15:13:32 +0000 (15:13 +0000)]
pa.c (secondary_reload_class): SAR<->FP copies require a secondary register.

        * pa.c (secondary_reload_class): SAR<->FP copies require a
        secondary register.

From-SVN: r41379

23 years agoinstall.texi (mips-mips-bsd): Update list of functions required to include memmove.
Jeffrey A Law [Mon, 16 Apr 2001 14:02:50 +0000 (14:02 +0000)]
install.texi (mips-mips-bsd): Update list of functions required to include memmove.

        * install.texi (mips-mips-bsd): Update list of functions
        required to include memmove.
        * tm.texi (TARGET_MEM_FUNCTIONS): Update list of implicitly
        used functions to include memmove.

From-SVN: r41377