OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * MAINTAINERS (Write After Approval): Add myself.
hainque [Mon, 17 Mar 2003 16:15:25 +0000 (16:15 +0000)]
   * MAINTAINERS (Write After Approval): Add myself.

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

21 years ago PR c++/9993
jason [Mon, 17 Mar 2003 15:45:29 +0000 (15:45 +0000)]
    PR c++/9993
        * decl.c (finish_function): Only allow the NRVO to use variables
        declared at function scope.

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

21 years ago2003-03-17 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 17 Mar 2003 15:31:33 +0000 (15:31 +0000)]
2003-03-17  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramSocket.java
(connect): Fixed comment.
* java/nio/ByteBuffer.java
(hasArray): Fixed comment.

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

21 years ago2003-03-17 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 17 Mar 2003 15:21:45 +0000 (15:21 +0000)]
2003-03-17  Michael Koch  <konqueror@gmx.de>

* java/beans/Beans.java:
Explicitely import classes not packages.
* java/beans/FeatureDescriptor.java
(preferred): New member variable.
(isPreferred): New method.
(setPreferred): New method.
* java/beans/PropertyEditorManager.java:
Explicitely import used classes.
* java/beans/beancontext/BeanContextChild.java:
Added line wrapping.
* java/beans/beancontext/BeanContextChildSupport.java:
Reindented.
* java/beans/beancontext/BeanContextEvent.java:
Reindented.

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

21 years ago2003-03-17 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 17 Mar 2003 15:20:10 +0000 (15:20 +0000)]
2003-03-17  Michael Koch  <konqueror@gmx.de>

* java/awt/Dialog.java
(Dialog): New constructor, changed implementations, added
documentation.
* java/awt/ScrollPaneAdjustable.java
(ScrollPaneAdjustable): Extends Object, implements Adjustable and
Serializable.
(serialVersionUID): New member variable.
(sp): New member variable.
(orientation): New member variable.
(value): New member variable.
(minimum): New member variable.
(maximum): New member variable.
(visibleAmount): New member variable.
(unitIncrement): New member variable.
(blockIncrement): New member variable.
(AdjustmentListener): New member variable.
(ScrollPaneAdjustable): New implementation.
(addAdjustmentListener): New method.
(removeAdjustmentListener): New method.
(getAdjustmentListeners): New method.
(getBlockIncrement): New method.
(getMaximum): New method.
(getMinimum): New method.
(getOrientation): New method.
(getUnitIncrement): New method.
(getValue): New method.
(getVisibleAmount): New method.
(setBlockIncrement): New method.
(setMaximum): Implemented.
(setMinimum): Implemented.
(setUnitIncrement): New method.
(setValue): New method.
(setVisibleAmount): Implemented.
(paramString): New stubbed method.
* java/awt/Window.java
(show): Call setVisible().
(hide): Call setVisible().
(processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
and WINDOW_STATE_CHANGED.
(processWindowFocusEvent): New method.
(processWindowStateEvent): New method.
(postEvent): Deprecated.
(applyResourceBundle): Deprecated.
* java/awt/datatransfer/DataFlavor.java
(DataFlavor): Doesn't thow ClassNotFoundException.

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

21 years agoFixed attribution of last checkin.
ro [Mon, 17 Mar 2003 14:53:56 +0000 (14:53 +0000)]
Fixed attribution of last checkin.

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

21 years ago * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Define __digital__,
ro [Mon, 17 Mar 2003 14:33:50 +0000 (14:33 +0000)]
* config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Define __digital__,
__arch64__ to match Compaq cc.

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

21 years ago * libsupc++/Makefile.am (C_COMPILE): Remove.
dannysmith [Mon, 17 Mar 2003 11:02:39 +0000 (11:02 +0000)]
* libsupc++/Makefile.am (C_COMPILE): Remove.
(LTCOMPILE): Likewise.
* libsupc++/Makefile.in: Regenerate.

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

21 years agoAnd now the version for the javax.print.attribute addition.
mkoch [Mon, 17 Mar 2003 09:18:17 +0000 (09:18 +0000)]
And now the version for the javax.print.attribute addition.

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

21 years ago2003-03-17 Michael Koch
mkoch [Mon, 17 Mar 2003 09:13:15 +0000 (09:13 +0000)]
2003-03-17  Michael Koch

* javax/print/attribute/Attribute.java,
javax/print/attribute/AttributeSet.java,
javax/print/attribute/PrintRequestAttributeSet.java:
New files.
* Makefile.am
(javax_source_files): Added new files:
javax/print/attribute/Attribute.java
javax/print/attribute/AttributeSet.java
javax/print/attribute/PrintRequestAttributeSet.java
* Makefile.in: Regenerated.

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

21 years ago2003-03-17 Michael Koch
mkoch [Mon, 17 Mar 2003 09:09:39 +0000 (09:09 +0000)]
2003-03-17  Michael Koch

* javax/print/attribute/Attribute.java,
javax/print/attribute/AttributeSet.java,
javax/print/attribute/PrintRequestAttributeSet.java:
New files.
* Makefile.am
(awt_java_source_files): Added new files:
javax/print/attribute/Attribute.java
javax/print/attribute/AttributeSet.java
javax/print/attribute/PrintRequestAttributeSet.java
* Makefile.in: Regenerated.

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

21 years ago * c-opts.c: Default TARGET_EBCDIC to 0 if not defined.
neil [Mon, 17 Mar 2003 06:41:06 +0000 (06:41 +0000)]
* c-opts.c: Default TARGET_EBCDIC to 0 if not defined.
(c_common_init): Set EBCDIC in cpp options.
* cpplex.c (maybe_read_ucs, cpp_parse_escape): Use EBCDIC option,
not conditional compilation.
* cpplib.h (struct cpp_options): New entry EBCDIC.

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

21 years ago * fix-header.c (read_scan_file): Need to malloc arguments to add_path.
neil [Mon, 17 Mar 2003 06:39:37 +0000 (06:39 +0000)]
* fix-header.c (read_scan_file): Need to malloc arguments to add_path.

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

21 years ago * function.c (thread_prologue_and_epilogue_insns): Set delete_unused
m.hayes [Mon, 17 Mar 2003 06:16:56 +0000 (06:16 +0000)]
* function.c (thread_prologue_and_epilogue_insns): Set delete_unused
argument to 0 for redirect_jump.

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

21 years ago PR c++/8805
mmitchel [Mon, 17 Mar 2003 06:09:30 +0000 (06:09 +0000)]
PR c++/8805
* except.c (eh_region_u_cleanup): Add prev_try.
(expand_eh_region_end_cleanup): Set it.
(reachable_handlers): Use it to skip over cleanup blocks.

PR c++/8805
* g++.dg/eh/cleanup1.C: New test.

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

21 years ago * Makefile.in (TAGS): Remove obsolete handling of =*.[chy].
aj [Mon, 17 Mar 2003 05:47:53 +0000 (05:47 +0000)]
* Makefile.in (TAGS): Remove obsolete handling of =*.[chy].

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

21 years agoTreelang:
aj [Mon, 17 Mar 2003 05:46:05 +0000 (05:46 +0000)]
Treelang:
2003-03-17  Andreas Jaeger  <aj@suse.de>

* Make-lang.in (treelang.tags): Remove duplicate entry.

cp:
2003-03-17  Andreas Jaeger  <aj@suse.de>

* Make-lang.in (cp/TAGS): Remove.

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

21 years ago * config/rs6000/linux64.h (TARGET_64BIT): Redefine.
amodra [Mon, 17 Mar 2003 03:47:16 +0000 (03:47 +0000)]
* config/rs6000/linux64.h (TARGET_64BIT): Redefine.
(TARGET_RELOCATABLE, TARGET_EABI, TARGET_PROTOTYPE): Likewise.
(SUBTARGET_SWITCHES, SUBTARGET_OPTIONS): Likewise.
(SUBTARGET_OVERRIDE_OPTIONS, CPP_SYSV_SPEC): Likewise.

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

21 years ago * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
tromey [Mon, 17 Mar 2003 00:45:37 +0000 (00:45 +0000)]
* resolve.cc (ncode): Use _Jv_platform_ffi_abi.
Include platform.h.
* java/lang/natRuntime.cc (insertSystemProperties): Use
_Jv_platform_path_separator.
(nativeGetLibname): Use _Jv_platform_file_separator.
(_load): Use _Jv_platform_onload_names.
(onload_names): New global.
* include/win32.h (_Jv_platform_file_separator): New define.
(_Jv_platform_path_separator): Likewise.
(_Jv_platform_onload_names): Likewise.
(_Jv_platform_ffi_abi): Likewise.
* include/posix.h (_Jv_platform_file_separator): New define.
(_Jv_platform_path_separator): Likewise.
(_Jv_platform_onload_names): Likewise.
(_Jv_platform_ffi_abi): Likewise.

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

21 years agoDaily bump.
gccadmin [Mon, 17 Mar 2003 00:17:42 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * simplify-rtx (simplify_binary_operation): Don't abort for
rth [Sun, 16 Mar 2003 22:55:14 +0000 (22:55 +0000)]
    * simplify-rtx (simplify_binary_operation): Don't abort for
        SS_PLUS, US_PLUS, SS_MINUS, US_MINUS.

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

21 years ago * config/i386/i386.md (movstrictqi, movstrictqi_1): Check
rth [Sun, 16 Mar 2003 22:25:59 +0000 (22:25 +0000)]
    * config/i386/i386.md (movstrictqi, movstrictqi_1): Check
        optimize_size as well.

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

21 years ago * config/m68hc11/m68hc11.c (print_operand): Handle 'b' modifier
ciceron [Sun, 16 Mar 2003 21:26:04 +0000 (21:26 +0000)]
* config/m68hc11/m68hc11.c (print_operand): Handle 'b' modifier
for D register to specify the low part of it, aka B.
(m68hc11_gen_movhi): Use REG_WAS_0 note and increment or decrement
the register if we are loading 1 or -1 to it; avoid using temp
register when moving X/Y to Y/X.
(m68hc11_gen_movqi): Likewise.
(m68hc11_check_z_replacement): Fix last insn setting for compare case.

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

21 years ago PR optimization/9016
mmitchel [Sun, 16 Mar 2003 20:13:36 +0000 (20:13 +0000)]
PR optimization/9016
* config/i386/i386.c (ix86_expand_move): Force more CONST_DOUBLEs
into the constant pool.

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

21 years ago PR target/9164
rth [Sun, 16 Mar 2003 19:43:53 +0000 (19:43 +0000)]
    PR target/9164
        * tree.c (get_narrower): For extensions with unchanged bit number,
        return the unsignedness of the outer mode.

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

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

21 years agocp:
nathan [Sun, 16 Mar 2003 14:36:43 +0000 (14:36 +0000)]
cp:
PR c++/9629
* cp-tree.h (struct language_function): Add in_base_initializer.
(in_base_initializer): define it.
(expand_member_init): Remove INIT param.
* init.c (expand_member_init): Remove INIT param, return the member.
(emit_mem_initializers): Set in_base_initializer.
* class.c (build_base_path): Check in_base_initializer.
* parser.c (cp_parser_mem_initializer): Set in_base_initializer.
* pt.c (tsubst_initializer_list): Likewise.
testsuite:
PR c++/9629
* g++.dg/init/ctor2.C: New test.

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

21 years ago * c-typeck.c (build_component_ref): Turn "for" into "do .. while"
sayle [Sun, 16 Mar 2003 13:54:23 +0000 (13:54 +0000)]
* c-typeck.c (build_component_ref):  Turn "for" into "do .. while"
to avoid "may be used uninitialized" warning on ia64-hpux.
* config/ia64/ia64-c.c: Include "tm_p.h" for function prototypes.

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

21 years agoAdd missing ChangeLog entry for:
aj [Sun, 16 Mar 2003 12:12:15 +0000 (12:12 +0000)]
Add missing ChangeLog entry for:
* configure.in: Improve check for memcheck.h.
* configure: Regenerated.

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

21 years ago * doc/cppopts.texi: Remove documentation of -A-.
neil [Sun, 16 Mar 2003 10:37:06 +0000 (10:37 +0000)]
* doc/cppopts.texi: Remove documentation of -A-.

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

21 years agoFix rethinko.
gdr [Sun, 16 Mar 2003 10:11:02 +0000 (10:11 +0000)]
Fix rethinko.

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

21 years ago * configure.in: Improve check for memcheck.h.
aj [Sun, 16 Mar 2003 09:34:41 +0000 (09:34 +0000)]
* configure.in: Improve check for memcheck.h.
* configure: Regenerated.

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

21 years ago * decl.c (binding_for_name): Fix initialization thinko.
gdr [Sun, 16 Mar 2003 09:16:59 +0000 (09:16 +0000)]
* decl.c (binding_for_name): Fix initialization thinko.

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

21 years agoDaily bump.
gccadmin [Sun, 16 Mar 2003 00:17:11 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * doc/libgcc.texi: Remove @tie.
zack [Sat, 15 Mar 2003 23:35:46 +0000 (23:35 +0000)]
* doc/libgcc.texi: Remove @tie.

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

21 years ago * rtl.h (subrtx_p): Renamed to rtx_referenced_p.
zlomek [Sat, 15 Mar 2003 22:51:37 +0000 (22:51 +0000)]
* rtl.h (subrtx_p): Renamed to rtx_referenced_p.
(rtx_pair): Added new element update_label_nuses, renamed to
replace_label_data.
* cfgcleanup.c (outgoing_edges_match, try_crossjump_to_edge): Use
replace_label_data instead of rtx_pair.
* loop.c (load_mems): Likewise.
* rtlanal.c (replace_label): Replace label in pool constants and in
INSN_LIST (in REG_LABEL note).
(subrtx_p): Renamed to rtx_referenced_p.
(subrtx_p_1): Renamed to rtx_referenced_p_1, compare the interior of
LABEL_REF with CODE_LABEL, traverse constants from pool.

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

21 years ago2003-03-15 Aldy Hernandez <aldyh@redhat.com>
zack [Sat, 15 Mar 2003 19:54:10 +0000 (19:54 +0000)]
2003-03-15  Aldy Hernandez <aldyh@redhat.com>
    Zack Weinberg  <zack@codesourcery.com>

* Makefile.in (TEXI_GCCINT_FILES): Add libgcc.texi.
* doc/libgcc.texi: New file.
* doc/interface.texi: Delete paragraph about libgcc interface.
* doc/gccint.texi: Add libgcc menu entry and @include libgcc.texi.

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

21 years ago * stb.c (ffestb_R100110_): Allow the number before the X format
sayle [Sat, 15 Mar 2003 19:17:50 +0000 (19:17 +0000)]
* stb.c (ffestb_R100110_): Allow the number before the X format
to be optional when not -fpedantic.
* std.c (ffestd_R1001dump_1010_3_): Delete unused static function.
(ffestd_R1001dump_): For the FFESTP_formattypeX case, call
ffestd_R1001dump_1010_2_ instead of ffestd_R1001dump_1010_3_.

* g77.f-torture/compile/xformat.f: New test case.

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

21 years ago * g++.old-deja/g++.mike/eh33.C: Remove xfail for hppa*-*-*.
danglin [Sat, 15 Mar 2003 18:22:02 +0000 (18:22 +0000)]
* g++.old-deja/g++.mike/eh33.C: Remove xfail for hppa*-*-*.
* g++.old-deja/g++.mike/eh50.C: Likewise.

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

21 years ago PR debug/9039
jason [Sat, 15 Mar 2003 17:41:35 +0000 (17:41 +0000)]
    PR debug/9039
        * dwarf2out.c (gen_decl_die): Ignore frontend tree codes.

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

21 years agodon't specify -g1
jason [Sat, 15 Mar 2003 17:35:05 +0000 (17:35 +0000)]
don't specify -g1

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

21 years ago PR debug/6387
jason [Sat, 15 Mar 2003 17:06:24 +0000 (17:06 +0000)]
    PR debug/6387
        * dwarf2out.c (dwarf2out_decl): If we're at -g1, just stick nested
        function DIEs at toplevel.
        (decls_for_scope): At -g1, don't descend into subblocks.

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

21 years agoFix thinko.
gdr [Sat, 15 Mar 2003 16:31:58 +0000 (16:31 +0000)]
Fix thinko.

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

21 years ago * varasm.c (struct rtx_const): Change type of un.addr member
uweigand [Sat, 15 Mar 2003 16:30:35 +0000 (16:30 +0000)]
* varasm.c (struct rtx_const): Change type of un.addr member
to struct holding an additional 'symbol' member.
(decode_rtx_const): Re-enable optimization to count SYMBOL_REFs
with equal string addresses as equal.
(simplify_subtraction): Adapt to struct rtx_const change.

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

21 years ago Compile-time improvement: 2/n.
gdr [Sat, 15 Mar 2003 16:30:02 +0000 (16:30 +0000)]
Compile-time improvement: 2/n.
* cp-tree.h (struct cxx_binding): New datatype;
(struct lang_identifier): Use it.
(LOCAL_BINDING_P): Adjust definition.
(INHERITED_VALUE_BINDING_P): Likewise.
(BINDING_SCOPE): Likewise.
(BINDING_HAS_LEVEL_P): Likewise.
(BINDING_VALUE): Likewise.
(BINDING_TYPE): Likewise.
(IDENTIFIER_VALUE): Likewise.
(struct tree_binding): Remove.
(TS_CP_BINDING): Likewise.
((union lang_tree_node): Remove field "binding".
(cxx_binding_clear): New macro.
(binding_for_name): Adjust return type.
(qualified_lookup_using_namespace): Adjust prototype.
(lookup_using_namespace): Adjust prototype.
(cxx_scope_find_binding_for_name): Declare.
* cp-tree.def: Remove CPLUS_BINDING definition.
* parse.y (parse_scoped_id): Don't type-abuse of 'id'.  Allocate
temporary cxx_binding on stack.  Simplify.
* decl.c (push_binding): Adjust local variable type.
(add_binding): Likewise.
(push_class_binding): Likewise.
(pop_binding): Likewise.
(poplevel): Likewise.
(poplevel_class): Likewise.
(free_bindings):  Adjust type.
(find_binding): Adjust return type, add a third parameter. Remove
non-useful assertion now that we use static typing.
(cxx_scope_find_binding_for_name): New function.
(binding_for_name): Use it.  Adjust local variable type. Simplify.
(namespace_binding):  Simplify.
(set_namespace_binding): Likewise.
(set_identifier_type_value_with_scope): Adjust local variable type.
(lookup_tag): Don't type-abuse of local variable 'old'.
(lookup_namespace_name): Likewise.  Allocate binding on stack.
(select_decl): Adjust prototype.
(unqualified_namespace_lookup):  Allocate binding on stack.
Don't type-abuse of local variable 'val'.
(lookup_name_real): Likewise.
(maybe_inject_for_scope_var): Adjust local variable type.
(cp_tree_node_structure): Remove CPLUS_BINDING case label.
(namespace_binding): Adjust logic, simplify.
(BINDING_LEVEL): Adjust definition.
(push_class_level_binding): Adjust local variable type.
(struct cxx_saved_binding): Adjust field 'binding' type.
* decl2.c (ambiguous_decl): Adjust prototype.
(lookup_using_namespace): Adjust local variable type.
(qualified_lookup_using_namespace): Catch type error and correct
ensueing logic error.
(do_nonmember_using_decl): Adjust local variable type.  Allocate
temporary cxx_binding on stack.
(do_toplevel_using_decl): Adjust local variable type.
* ptree.c (cxx_print_cxx_binding): New function.
(cxx_print_identifier): Use it.
(cxx_print_xnode): Delete CPLUS_BINDING case label.

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

21 years ago * fix-header.c (read_scan_file): Read main file before handling -D.
neil [Sat, 15 Mar 2003 15:02:16 +0000 (15:02 +0000)]
* fix-header.c (read_scan_file): Read main file before handling -D.

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

21 years ago * treetree.c (cpp_handle_option): Remove.
aj [Sat, 15 Mar 2003 14:01:25 +0000 (14:01 +0000)]
* treetree.c (cpp_handle_option): Remove.

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

21 years ago * c-cppbuiltin.c (builtin_define_with_value_n): Fix whitespace.
sayle [Sat, 15 Mar 2003 13:43:33 +0000 (13:43 +0000)]
* c-cppbuiltin.c (builtin_define_with_value_n): Fix whitespace.
* c-typeck.c (c_tree_expr_nonnegative_p): Likewise.
* cfgbuild.c (find_many_sub_basic_blocks): Likewise.
(find_sub_basic_blocks): Likewise.
* cgraphunit.c (cgraph_expand_functions): Likewise.
* dwarf2out.c (prune_unused_types): Likewise.
* expr.c (store_field): Likewise.
* genextract.c (print_path): Likewise.
* haifa-sched.c (schedule_insn): Likewise.
* lcm.c (compute_antinout_edge): Likewise.
* loop-unroll.c (decide_peel_once_rolling): Likewise.
* ra-colorize.c (ra_colorize_free_all): Likewise.
* ra-debug.c (dump_igraph): Likewise.
(debug_hard_reg_set): Likewise.
* reg-stack.c (reg_to_stack): Likewise.
* rtlanal.c (refers_to_regno_p): Likewise.
* tracer.c (layout_superblocks): Likewise.

* cp/tree.c (count_functions): Fix whitespace.

* f/ste.c (ffeste_R810): Fix whitespace.

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

21 years ago * fix-header.c (read_scan_file): Fix thinko.
neil [Sat, 15 Mar 2003 13:14:00 +0000 (13:14 +0000)]
* fix-header.c (read_scan_file): Fix thinko.

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

21 years ago2003-03-15 Glen Nakamura <glen@imodulo.com>
aj [Sat, 15 Mar 2003 13:06:01 +0000 (13:06 +0000)]
2003-03-15  Glen Nakamura  <glen@imodulo.com>

* reload1.c (choose_reload_regs): Use && instead of ||
with REG_CANNOT_CHANGE_MODE_P condition.

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

21 years ago * Makefile.in: Update.
neil [Sat, 15 Mar 2003 12:18:47 +0000 (12:18 +0000)]
* Makefile.in: Update.
* c-common.h (cb_register_builtins): Rename c_cpp_builtins.
* c-lex.c (init_c_lex): Register builtins hook is dead.
* c-opts.c (COMMAND_LINE_OPTIONS, missing_arg): Handle -A, -D and -U.
(c_common_decode_option): Don't call cpp_handle_option.
Handle -A, -D and -U.
(handle_deferred_opts): Simplify.
(finish_options): Define builtins and command line macros.
* c-ppoutput.c (init_pp_output): Register builtins hook is dead.
* cppinit.c: Don't include intl.h.
(init_builtins): Rename cpp_init_builtins.  No hook to call.
(init_library): Don't need to sort options.
(cpp_create_reader): Don't set pending.
(cpp_destroy): Don't free pending.
(struct pending_option, cl_directive_handler, struct cpp_pending,
APPEND, free_chain, new_pending_directive, parse_option, opt_comp,
cpp_finish_options, COMMAND_LINE_OPTIONS, DEF_OPT, struct cl_option,
cl_options, cpp_handle_option): Remove.
* cpplib.h (struct cpp_pending, register_builtins, cpp_handle_option,
cpp_finish_options): Remove.
(cpp_init_builtins): New.
* fix-header.c (read_scan_file): Update to handle -D.  Fix
handling of -I.  Replace call to cpp_finish_options.
cp:
* Make-lang.in: Update.

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

21 years ago PR c++/6440
lerdsuwa [Sat, 15 Mar 2003 10:08:31 +0000 (10:08 +0000)]
PR c++/6440
* pt.c (maybe_process_partial_specialization): Handle
member class template when enclosing class template is
explicit specialized.
(most_general_template): Stop looking when DECL is already
specialized.

* g++.dg/template/spec7.C: New test.
* g++.dg/template/spec8.C: Likewise.

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

21 years agoFix date in last ChangeLog entry.
aj [Sat, 15 Mar 2003 10:02:33 +0000 (10:02 +0000)]
Fix date in last ChangeLog entry.

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

21 years ago * g77spec.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
aj [Sat, 15 Mar 2003 06:12:33 +0000 (06:12 +0000)]
* g77spec.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
(DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.

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

21 years ago2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 15 Mar 2003 04:53:52 +0000 (04:53 +0000)]
2003-03-14  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/23_containers/bitset_members.cc: Add test variable.
* testsuite/23_containers/map_insert.cc: Same.
* testsuite/22_locale/ctype/cons/char/1.cc: Same.
* testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
* testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
* testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
* testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
* testsuite/27_io/istream_exception.cc: Same.
* testsuite/27_io/filebuf_virtuals.cc: Same.
* testsuite/27_io/stringbuf_virtuals.cc: Same.
* testsuite/27_io/ostream_inserter_arith.cc: Same.
* testsuite/26_numerics/valarray_operators.cc: Same.
* testsuite/26_numerics/slice.cc: Same.
* testsuite/26_numerics/slice_array_assignment.cc: Same.
* testsuite/24_iterators/istream_iterator.cc: Same.
* mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.

2003-03-14  Petur Runolfsson  <peturr02@ru.is>

PR libstdc++/9581
PR libstdc++/9870
* config/locale/generic/ctype_members.cc,
* config/locale/gnu/ctype_members.cc
(ctype<wchar_t>::do_widen(char)):  Cast argument to
unsigned char before passing to btowc.
(ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
Convert characters with btowc instead of mbsrtowcs.
(ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
char, char*):
Convert characters with wctob instead of wcsrtombs.
* testsuite/22_locale/ctype/narrow/wchar_t/3.cc:  New test.
* testsuite/22_locale/ctype/widen/wchar_t/2.cc:  New test.
* testsuite/22_locale/ctype/widen/wchar_t/3.cc:  New test.

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

21 years ago PR optimization/9387
m.hayes [Sat, 15 Mar 2003 02:44:29 +0000 (02:44 +0000)]
PR optimization/9387
* function.c (thread_prologue_and_epilogue_insns): Use redirect_jump
for conditional returns.

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

21 years ago PR optimization/6871
jason [Sat, 15 Mar 2003 01:43:07 +0000 (01:43 +0000)]
    PR optimization/6871
        * varasm.c (assemble_variable): Leave constant zeroes in .rodata.

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

21 years ago * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
hboehm [Sat, 15 Mar 2003 01:04:08 +0000 (01:04 +0000)]
* java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.

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

21 years agoDaily bump.
gccadmin [Sat, 15 Mar 2003 00:17:09 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * c-opts.c (finish_options): New.
neil [Fri, 14 Mar 2003 23:47:24 +0000 (23:47 +0000)]
* c-opts.c (finish_options): New.
(COMMAND_LINE_OPTIONS, c_common_decode_option): Add -imacros.
(missing_arg): Handle OPT_include and OPT_imacros.
(c_common_init, c_common_parse_file): Use finish_options.
(handle_deferred_opts): Update.
* cppinit.c (struct cpp_pending): Remove imacros_head and imacros_tail.
(cpp_finish_options): Don't handle -imacros here.
(no_fil): Remove.
(COMMAND_LINE_OPTIONS, cpp_handle_option): Don't handle -imacros.

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

21 years ago * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Don't call
jakub [Fri, 14 Mar 2003 22:58:43 +0000 (22:58 +0000)]
* config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Don't call
rs6000_maybe_dead if !fromprolog.

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

21 years ago2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 14 Mar 2003 22:17:26 +0000 (22:17 +0000)]
2003-03-14  Benjamin Kosnik  <bkoz@redhat.com>

* include/stdc++.h: New.
* libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
* include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
        * include/Makefile.in: Regenerate.
        * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
(--cxxflags): Put -g -O2 here.
* testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.

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

21 years ago2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 14 Mar 2003 22:16:06 +0000 (22:16 +0000)]
2003-03-14  Benjamin Kosnik  <bkoz@redhat.com>

* include/stdc++.h: New.
* libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
* include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
        * include/Makefile.in: Regenerate.
        * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
(--cxxflags): Put -g -O2 here.
* testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.

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

21 years ago/home/neil/diffs/include.log
neil [Fri, 14 Mar 2003 21:47:50 +0000 (21:47 +0000)]
/home/neil/diffs/include.log

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

21 years ago * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
ljrittle [Fri, 14 Mar 2003 21:41:26 +0000 (21:41 +0000)]
* testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
missing named locale.

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

21 years ago * Makefile.in (.y.c): Only enable production rule when
ljrittle [Fri, 14 Mar 2003 21:36:28 +0000 (21:36 +0000)]
* Makefile.in (.y.c): Only enable production rule when
maintaining.

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

21 years ago * Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES back down.
neroden [Fri, 14 Mar 2003 20:44:37 +0000 (20:44 +0000)]
* Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES back down.
* Makefile.in: Regenerate.

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

21 years ago * cselib.c (clear_table): Do not take argument; always clear just
hubicka [Fri, 14 Mar 2003 20:15:13 +0000 (20:15 +0000)]
* cselib.c (clear_table): Do not take argument; always clear just
used slots.
(cselib_process_insn):  Update call of clear_table
(cselib_init): Do not call clear_table.
(cselib_finish): Clear table.

* cse.c (count_reg_usage): Do not check side_effects_p.
* rtlanal.c (set_noop_p): Check side_effects_p only when set looks
like noop.
(find_reg_equal_equiv_note): Do not use find_reg_note.

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

21 years ago* Makefile.in: Regenerate with correct Makefile.def.
dj [Fri, 14 Mar 2003 19:18:21 +0000 (19:18 +0000)]
* Makefile.in: Regenerate with correct Makefile.def.

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

21 years ago PR target/9700
rth [Fri, 14 Mar 2003 17:58:48 +0000 (17:58 +0000)]
    PR target/9700
        * config/alpha/alpha.c (alpha_va_start): Account for
        current_function_pretend_args_size in the AP offset.

        * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Move out of line.
        (INITIAL_ELIMINATION_OFFSET): Move out of line.
        * config/alpha/alpha.c (alpha_setup_incoming_varargs): New.
        (alpha_initial_elimination_offset) New.
        * config/alpha/alpha-protos.h: Update.

* gcc.c-torture/execute/va-arg-23.c: New.

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

21 years ago * stmt.c (expand_start_case): Call emit_queue ().
jakub [Fri, 14 Mar 2003 17:53:51 +0000 (17:53 +0000)]
* stmt.c (expand_start_case): Call emit_queue ().

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

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

21 years ago * gcc.dg/inline-2.c: Adjust alpha test for external call.
rth [Fri, 14 Mar 2003 17:49:12 +0000 (17:49 +0000)]
    * gcc.dg/inline-2.c: Adjust alpha test for external call.

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

21 years ago* config/mips/mips.h (FUNCTION_PROFILER): _mcount() doesn't pop 2
aoliva [Fri, 14 Mar 2003 15:53:48 +0000 (15:53 +0000)]
* config/mips/mips.h (FUNCTION_PROFILER): _mcount() doesn't pop 2
words in new abis.

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

21 years ago2003-03-14 Andreas Schwab <schwab@suse.de>
schwab [Fri, 14 Mar 2003 15:12:06 +0000 (15:12 +0000)]
2003-03-14  Andreas Schwab  <schwab@suse.de>

* configure.in: Only append to makefiles that are newly created to
avoid multiple multi-do/multi-clean rules.
* configure: Rebuilt.

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

21 years ago PR optimization/8396
ebotcazou [Fri, 14 Mar 2003 14:49:40 +0000 (14:49 +0000)]
PR optimization/8396
* tree-inline.c (initialize_inlined_parameters): Make sure the value
of read-only constant arguments is passed with the right type.

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

21 years ago2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
mark [Fri, 14 Mar 2003 11:54:38 +0000 (11:54 +0000)]
2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>

       * java/io/ObjectInputStream.java (readObject): Cleaned up the class
       hierarchy loop.
       (readFields(Object,ObjectStreamField[],boolean)): Changed argument
       list to Object,ObjectStreamClass, moved callReadMethod code up into
       readObject and added Class argument to all setXxxField calls.
       (callReadMethod): Changed Class argument to ObjectStreamClass to be
       consistent with ObjectOutputStream and to facilitate caching the
       Method in the future.
       (setBooleanField): Added Class argument.
       (setByteField): Likewise.
       (setCharField): Likewise.
       (setDoubleField): Likewise.
       (setFloatField): Likewise.
       (setIntField): Likewise.
       (setLongField): Likewise.
       (setShortField): Likewise.
       (setObjectField): Likewise.
       * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
       class hierarchy loop.
       (defaultWriteObject): Call writeFields with new argument list.
       (writeFields(Object,ObjectStreamField[],boolean): Changed argument
       list to Object,ObjectStreamClass, moved callWriteMethod up into
       writeObject and added Class argument to all getXxxField calls.
       (callWriteMethod): Added ObjectStreamClass argument to be able to
       get the proper class to call getMethod on (each class can have (or
       not have) its own writeObject method).
       (getBooleanField): Added Class argument.
       (getByteField): Likewise.
       (getCharField): Likewise.
       (getDoubleField): Likewise.
       (getFloatField): Likewise.
       (getIntField): Likewise.
       (getLongField): Likewise.
       (getShortField): Likewise.
       (getObjectField): Likewise.
       * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
       facilitate caching the Method object in the future.

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

21 years ago * doc/extend.texi (Function Names): Make the example compilable.
steven [Fri, 14 Mar 2003 08:47:05 +0000 (08:47 +0000)]
    * doc/extend.texi (Function Names): Make the example compilable.

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

21 years ago * config/rs6000/rs6000.c (processor_target_table): Really allow
dje [Fri, 14 Mar 2003 04:30:29 +0000 (04:30 +0000)]
    * config/rs6000/rs6000.c (processor_target_table): Really allow
        GP optional instructions on Power4.

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

21 years ago * calls.c (flags_from_decl_or_type): Factor and remove redundant
sayle [Fri, 14 Mar 2003 01:59:16 +0000 (01:59 +0000)]
* calls.c (flags_from_decl_or_type): Factor and remove redundant
conditional tests.

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

21 years agoDaily bump.
gccadmin [Fri, 14 Mar 2003 00:17:40 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * gcc.dg/dll-1.c: Remove thumb target. Change exp to _exp.
dannysmith [Thu, 13 Mar 2003 22:21:21 +0000 (22:21 +0000)]
* gcc.dg/dll-1.c: Remove thumb target. Change exp to _exp.
* gcc.dg/dll-2.c: Enable for cygwin and mingw. Remove
thumb target,
* gcc.dg/dll-3.c: Likewise. Adjust scan-assembler
to accept newer _imp__ prefix and additional
newline in .drectve section.
* gcc.dg/dll-4.c: Likewise.
* gcc.dg/dll-5.c: New file to test -mnop-fun-dllimport
switch.

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

21 years ago PR c++/9420
jason [Thu, 13 Mar 2003 21:39:38 +0000 (21:39 +0000)]
    PR c++/9420
        * search.c (lookup_conversions): Call complete_type here.
        * call.c (implicit_conversion): Not here.

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

21 years ago * decl2.c (do_nonmember_using_decl): Correct handling of
mmitchel [Thu, 13 Mar 2003 20:54:36 +0000 (20:54 +0000)]
* decl2.c (do_nonmember_using_decl): Correct handling of
simultaneous type/non-type bindings.

* g++.dg/parse/namespace9.C: New test.

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

21 years ago PR c++/9336
jason [Thu, 13 Mar 2003 20:45:22 +0000 (20:45 +0000)]
    PR c++/9336
        * decl2.c (lookup_arg_dependent): Handle error_mark_node.

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

21 years agoFix typo in ChangeLog
mmitchel [Thu, 13 Mar 2003 20:36:46 +0000 (20:36 +0000)]
Fix typo in ChangeLog

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

21 years ago * ggc-page.c (struct page_entry): Remove varray.h header.
mrs [Thu, 13 Mar 2003 20:19:03 +0000 (20:19 +0000)]
    * ggc-page.c (struct page_entry): Remove varray.h header.
        Add index_by_depth field.
        Remove save_in_use_p field.
        (struct globals): Add depth_in_use, depth_max, by_depth_in_use,
        by_depth_max, by_depth, and save_in_use fields.
        (INITIAL_PTE_COUNT): Add.
        (save_in_use_p_i): Add.
        (save_in_use_p): Add.
        (adjust_depth): Add.
        (move_ptes_to_front): Add.
        (push_depth): Add.
        (push_by_depth): Add.
        (prefetch): Add.
        (free_page): Add support for and use faster data structures.
        (ggc_alloc): Likewise.
        (init_ggc): Likewise.
        (ggc_recalculate_in_use_p): Likewise.
        (ggc_pop_context): Likewise.
        (clear_marks): Likewise.
        (ggc_pch_read): Likewise.
        * Makefile.in (ggc-page.o): Remove varray.h.

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

21 years ago * call.c (initialize_reference): Remove bogus assertion.
mmitchel [Thu, 13 Mar 2003 19:57:12 +0000 (19:57 +0000)]
* call.c (initialize_reference): Remove bogus assertion.
* decl.c (build_ptrmemfunc_type): Revert change of 2003-03-09.

* g++.dg/init/ref5.C: New test.
* g++.dg/parse/ptrmem1.C: Likewise.

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

21 years ago * ChangeLog: Rotated last year's entries to...
neroden [Thu, 13 Mar 2003 19:20:26 +0000 (19:20 +0000)]
* ChangeLog: Rotated last year's entries to...
* ChangeLog.8: New.

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

21 years ago * parse.y (resolve_inner_class): Error if qualifier is a primitive
tromey [Thu, 13 Mar 2003 18:35:01 +0000 (18:35 +0000)]
* parse.y (resolve_inner_class): Error if qualifier is a primitive
type.

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

21 years ago * config/ia64/fde-glibc.c, config/ia64/freebsd.h,
neroden [Thu, 13 Mar 2003 18:26:30 +0000 (18:26 +0000)]
* config/ia64/fde-glibc.c, config/ia64/freebsd.h,
config/ia64/hpux.h, config/ia64/hpux_longdouble.h,
config/ia64/ia64-c.c, config/ia64/ia64-modes.def,
config/ia64/ia64-protos.h, config/ia64/ia64.c,
config/ia64/ia64.h, config/ia64/ia64.md,
config/ia64/itanium1.md, config/ia64/itanium2.md,
config/ia64/quadlib.c, config/ia64/unwind-ia64.c,
config/ia64/unwind-ia64.h: It's GCC, not GNU CC.

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

21 years ago2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
redi [Thu, 13 Mar 2003 18:26:23 +0000 (18:26 +0000)]
2003-03-13  Jonathan Wakely  <redi@gcc.gnu.org>

* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
invalid XHTML and make page header style consistent.

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

21 years agooutput_return_instruction: Simplyify test for avoiding type 2 LDMs.
nickc [Thu, 13 Mar 2003 16:55:35 +0000 (16:55 +0000)]
output_return_instruction: Simplyify test for avoiding type 2 LDMs.

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

21 years ago2003-03-13 Ansgar Esztermann <ansgar@thphy.uni-duesseldorf.de>
ansgar [Thu, 13 Mar 2003 16:05:23 +0000 (16:05 +0000)]
2003-03-13  Ansgar Esztermann  <ansgar@thphy.uni-duesseldorf.de>

* Makefile.in (dojump.o): New target.

* dojump.c: New file.
(init_pending_stack_adjust): Moved here from expr.c.
(clear_pending_stack_adjust): Likewise.
(do_pending_stack_adjust): Likewise.
(jumpifnot): Likewise.
(jumpif): Likewise.
(do_jump): Likewise.
(do_jump_by_parts_greater): Likewise.
(do_jump_by_parts_greater_rtx): Likewise.
(do_jump_by_parts_equality): Likewise.
(do_jump_by_parts_equality_rtx): Likewise.
(compare_from_rtx): Likewise.
(do_compare_rtx_and_jump): Likewise.
(do_compare_and_jump): Likewise.

* expr.c (init_pending_stack_adjust): Removed to dojump.c.
(clear_pending_stack_adjust): Likewise.
(do_pending_stack_adjust): Likewise.
(jumpifnot): Likewise.
(jumpif): Likewise.
(do_jump): Likewise.
(do_jump_by_parts_greater): Likewise.
(do_jump_by_parts_greater_rtx): Likewise.
(do_jump_by_parts_equality): Likewise.
(do_jump_by_parts_equality_rtx): Likewise.
(compare_from_rtx): Likewise.
(do_compare_rtx_and_jump): Likewise.
(do_compare_and_jump): Likewise.
(placeholder_list): Made declaration extern.

* expr.h (placeholder_list): Declare.

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

21 years ago2003-03-13 Aldy Hernandez <aldyh@redhat.com>
aldyh [Thu, 13 Mar 2003 15:04:35 +0000 (15:04 +0000)]
2003-03-13  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_dwarf_register_span):
        Differentiate endianness.
        (s6000_override_options): Use cpu type instead of TARGET_SPE.

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

21 years agoRemove redundant writeback test in previous delta.
nickc [Thu, 13 Mar 2003 13:27:17 +0000 (13:27 +0000)]
Remove redundant writeback test in previous delta.

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

21 years ago(print_multi_reg): Do not generate a type 2 LDM instructions with writeback
nickc [Thu, 13 Mar 2003 12:03:36 +0000 (12:03 +0000)]
(print_multi_reg): Do not generate a type 2 LDM instructions with writeback
enabled.
(output_return_instruction): Likewise.

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

21 years ago(FIXED_REGISTERS): Remove definition.
nickc [Thu, 13 Mar 2003 10:47:28 +0000 (10:47 +0000)]
(FIXED_REGISTERS): Remove definition.
(CALL_USED_REGISTERS): Remove definition.
(SUBTARGET_CONDITIONAL_REGISTER_USAGE): Define.

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

21 years ago * config/rs6000/rs6000.c (rs6000_flag_pic): Delete.
amodra [Thu, 13 Mar 2003 10:35:47 +0000 (10:35 +0000)]
* config/rs6000/rs6000.c (rs6000_flag_pic): Delete.
(rs6000_xcoff_encode_section_info): #ifdef TARGET_XCOFF.
(rs6000_binds_local_p, TARGET_BINDS_LOCAL_P): #if TARGET_MACHO.
(rs6000_override_options): Don't clear flag_pic for ABI_AIX.
(rs6000_legitimize_address): Formatting.
(rs6000_emit_move): Likewise.
(rs6000_return_addr): Test ABI_AIX as well as flag_pic.
(rs6000_emit_prologue <save_LR_around_toc_setup>): Likewise.
(rs6000_elf_select_section): Comment reason for shlib being
set for ABI_AIX.
(rs6000_elf_unique_section): Likewise.
(rs6000_elf_encode_section_info): Test !TARGET_AIX as well as ABI_AIX.
* config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Test ABI_AIX
as well as flag_pic.
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Likewise.
(MINIMAL_TOC_SECTION_ASM_OP): Likewise.
* config/rs6000/linux64.h (TARGET_ENCODE_SECTION_INFO): Don't define.

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

21 years ago * emit-rtl.c (try_split): Handle 1-1 splits of call insns properly.
rth [Thu, 13 Mar 2003 09:02:51 +0000 (09:02 +0000)]
    * emit-rtl.c (try_split): Handle 1-1 splits of call insns properly.

        * config/ia64/ia64.c (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
        (ia64_gp_save_reg): Remove.
        (struct ia64_frame_info): Move to the beginning of the file;
        add reg_save_gp.
        (ia64_expand_call): Rearrange for new call patterns.
        (ia64_reload_gp): New.
        (ia64_split_call): New.
        (ia64_compute_frame_size): Allocate reg_save_gp.
        (ia64_expand_prologue): Save reg_save_gp.
        (ia64_expand_epilogue): Don't restore gp.
        (ia64_hard_regno_rename_ok): Remove R4 hack.
        (ia64_function_ok_for_sibcall): New.
        (ia64_output_mi_thunk): Set reload_completed, no_new_pseudos;
        call try_split on sibcall pattern.
        * config/ia64/ia64-protos.h: Update.
        * config/ia64/ia64.md (call_nogp, call_value_nogp, sibcall_nogp):
        Rename from nopic versions.  Confiscate 2nd argument to call as
        a marker.
        (call_pic, call_value_pic, sibcall_pic): Remove.
        (call_gp, call_value_gp, sibcall_gp): New.
        (builtin_setjmp_setup): Remove.
        (builtin_setjmp_receiver): Call ia64_reload_gp.

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

21 years ago * Make-lang.in (tree1$(exeext)): Fix previous patch.
aj [Thu, 13 Mar 2003 04:57:07 +0000 (04:57 +0000)]
* Make-lang.in (tree1$(exeext)): Fix previous patch.

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

21 years ago * config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
neroden [Thu, 13 Mar 2003 04:13:13 +0000 (04:13 +0000)]
* config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md: Replace
"GNU CC" with "GCC".

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