platform/upstream/gcc.git
21 years agodecl.c (duplicate_decls): Use the new type when prototyping anticipated decls, even...
Roger Sayle [Tue, 18 Mar 2003 04:31:21 +0000 (04:31 +0000)]
decl.c (duplicate_decls): Use the new type when prototyping anticipated decls, even when the types match.

* decl.c (duplicate_decls): Use the new type when prototyping
anticipated decls, even when the types match.  This defines the
exception list for the built-in function.

From-SVN: r64522

21 years agore PR c++/10091 ([parisc] ICE in cp_expr_size, at cp/cp-lang.c:307)
Jason Merrill [Tue, 18 Mar 2003 04:10:45 +0000 (23:10 -0500)]
re PR c++/10091 ([parisc] ICE in cp_expr_size, at cp/cp-lang.c:307)

        PR c++/10091
        * expr.c (expand_expr) [ADDR_EXPR]: Disallow taking the address of
        an unaligned member of TREE_ADDRESSABLE type.
        * cp/typeck.c (build_class_member_access_expr): Compare
        TYPE_MAIN_VARIANTs.

From-SVN: r64520

21 years agolinux64.h (MASK_PROFILE_KERNEL): Define.
Alan Modra [Tue, 18 Mar 2003 02:28:46 +0000 (02:28 +0000)]
linux64.h (MASK_PROFILE_KERNEL): Define.

* config/rs6000/linux64.h (MASK_PROFILE_KERNEL): Define.
(TARGET_PROFILE_KERNEL): Define.
(SUBTARGET_SWITCHES): Handle -mprofile-kernel.
(PROFILE_BEFORE_PROLOGUE): Don't define.
(PROFILE_KERNEL): Remove hacks.
* config/rs6000/rs6000.c (TARGET_PROFILE_KERNEL): Define default.
(rs6000_stack_info): No need to save lr if just for profiling when
TARGET_KERNEL_PROFILE.
(output_profile_hook): Output nothing when TARGET_KERNEL_PROFILE.
(output_function_profiler): Localize label generation.  Emit code
for kernel profiling.

From-SVN: r64519

21 years agoh8300-protos.h: Add a prototype for byte_accesses_mergeable_p.
Kazu Hirata [Tue, 18 Mar 2003 01:25:57 +0000 (01:25 +0000)]
h8300-protos.h: Add a prototype for byte_accesses_mergeable_p.

* config/h8300/h8300-protos.h: Add a prototype for
byte_accesses_mergeable_p.
* config/h8300/h8300.c (byte_accesses_mergeable_p): New.
* config/h8300/h8300.md (*iorhi3_two_qi_mem): Likewise.
(a splitter): Likewise.
(*iorsi3_ashift_16_ashift_24): Likewise.
(*iorsi3_ashift_16_ashift_24_mem): Likewise.

From-SVN: r64518

21 years agoDaily bump.
GCC Administrator [Tue, 18 Mar 2003 00:17:13 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r64517

21 years agore PR libstdc++/10097 (filebuf::underflow drops characters.)
Paolo Carlini [Mon, 17 Mar 2003 23:50:40 +0000 (00:50 +0100)]
re PR libstdc++/10097 (filebuf::underflow drops characters.)

2003-03-17  Paolo Carlini  <pcarlini@unitus.it>
    Petur Runolfsson  <peturr02@ru.is>

PR libstdc++/10097
* src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
basic_filebuf<wchar_t>::_M_underflow_common):
if (gptr() < egptr()) return *gptr().
* testsuite/27_io/filebuf_virtuals.cc (test16): Add.

* testsuite/27_io/filebuf_members.cc (test_04): Minor
changes: unlink fifo before making it, fix spelling error.

Co-Authored-By: Petur Runolfsson <peturr02@ru.is>
From-SVN: r64509

21 years agoansidecl.h (ATTRIBUTE_NONNULL, [...]): New.
Kaveh R. Ghazi [Mon, 17 Mar 2003 22:57:27 +0000 (22:57 +0000)]
ansidecl.h (ATTRIBUTE_NONNULL, [...]): New.

include:
* ansidecl.h (ATTRIBUTE_NONNULL, ATTRIBUTE_NULL_PRINTF,
ATTRIBUTE_NULL_PRINTF_1, ATTRIBUTE_NULL_PRINTF_2,
ATTRIBUTE_NULL_PRINTF_3, ATTRIBUTE_NULL_PRINTF_4,
ATTRIBUTE_NULL_PRINTF_5): New.
(ATTRIBUTE_PRINTF): Add ATTRIBUTE_NONNULL.

gcc:
* dwarf2asm.h: Delete obsolete comment.
(dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset,
dw2_asm_output_pcrel, dw2_asm_output_addr,
dw2_asm_output_addr_rtx, dw2_asm_output_encoded_addr_rtx,
dw2_asm_output_nstring, dw2_asm_output_data_uleb128,
dw2_asm_output_data_sleb128, dw2_asm_output_delta_uleb128,
dw2_asm_output_delta_sleb128): Add ATTRIBUTE_NULL_PRINTF.

From-SVN: r64505

21 years agoc-tree.h (struct lang_identifier): Remove error_locus field.
Zack Weinberg [Mon, 17 Mar 2003 21:16:07 +0000 (21:16 +0000)]
c-tree.h (struct lang_identifier): Remove error_locus field.

* c-tree.h (struct lang_identifier): Remove error_locus field.
(IDENTIFIER_ERROR_LOCUS): Kill.
(record_function_scope_shadow): New prototype.
* c-typeck.c (build_external_ref): Don't complain if
decl is error_mark_node.  When not at file scope, bind the
decl's local value to error_mark_node to suppress further
warnings, instead of setting IDENTIFIER_ERROR_LOCUS.

* c-decl.c (get_function_binding_level): New static function.
(record_function_scope_shadow): New exported function.
(c_make_fname_decl): Use get_function_binding_level.

From-SVN: r64504

21 years agonaming-1.m: Use "(parse|syntax) error".
Zack Weinberg [Mon, 17 Mar 2003 20:58:44 +0000 (20:58 +0000)]
naming-1.m: Use "(parse|syntax) error".

        * objc.dg/naming-1.m: Use "(parse|syntax) error".
        * objc.dg/naming-2.m: Likewise.

From-SVN: r64503

21 years agostmt.c (tail_recursion_args): Call promote_mode to set unsignedp flag correctly befor...
Steve Ellcey [Mon, 17 Mar 2003 20:34:04 +0000 (20:34 +0000)]
stmt.c (tail_recursion_args): Call promote_mode to set unsignedp flag correctly before calling convert_move.

* stmt.c (tail_recursion_args): Call promote_mode to set
unsignedp flag correctly before calling convert_move.

From-SVN: r64501

21 years agoloop-unroll.c (decide_peel_completely, [...]): Set loop->has_desc.
Zdenek Dvorak [Mon, 17 Mar 2003 20:24:59 +0000 (21:24 +0100)]
loop-unroll.c (decide_peel_completely, [...]): Set loop->has_desc.

* loop-unroll.c (decide_peel_completely,
decide_unroll_constant_iterations, decide_unroll_stupid,
decide_unroll_runtime_iterations, decide_peel_simple): Set
loop->has_desc.

From-SVN: r64500

21 years ago[multiple changes]
Benjamin Kosnik [Mon, 17 Mar 2003 18:44:44 +0000 (18:44 +0000)]
[multiple changes]

2003-03-17  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/Makefile.am (CLEANFILES): Add tmp*.
* testsuite/Makefile.in: Regenerate.
* testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
Cleanups.

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

        PR libstdc++/9964
        * include/bits/fstream.tcc (basic_filebuf::close):
        Always close file, even when write fails.
        * testsuite/27_io/filebuf_members.cc (test_07):  New test.

From-SVN: r64498

21 years agoUpdate comment for ggc_alloc - to match API change made 2000-6-9.
Per Bothner [Mon, 17 Mar 2003 18:42:23 +0000 (10:42 -0800)]
Update comment for ggc_alloc - to match API change made 2000-6-9.

From-SVN: r64497

21 years agoggc-common.c (ggc_mark_roots): Use htab_traverse_noresize.
Jan Hubicka [Mon, 17 Mar 2003 17:59:58 +0000 (18:59 +0100)]
ggc-common.c (ggc_mark_roots): Use htab_traverse_noresize.

* ggc-common.c (ggc_mark_roots): Use htab_traverse_noresize.

* hashtab.h (htab_traverse_noresize): Declare.

* hashtab.c (htab_traverse_noresize): Break out from ...
* hashtab.c (htab_traverse): ... here.

From-SVN: r64496

21 years agore PR c++/9639 ([New parser] Namespace std in constructor argument lists on illegal...
Mark Mitchell [Mon, 17 Mar 2003 17:36:24 +0000 (17:36 +0000)]
re PR c++/9639 ([New parser] Namespace std in constructor argument lists on illegal code causes an ICE)

PR c++/9639
* parser.c (cp_parser_declarator_id): Clear parser->scope.

PR c++/9639
* g++.dg/parse/crash1.C: New test.

From-SVN: r64495

21 years agoScrollPaneAdjustable.java: Compile fixes.
Michael Koch [Mon, 17 Mar 2003 16:40:30 +0000 (16:40 +0000)]
ScrollPaneAdjustable.java: Compile fixes.

2003-03-17  Michael Koch  <konqueror@gmx.de>

* java/awt/ScrollPaneAdjustable.java:
Compile fixes.

From-SVN: r64494

21 years agofunction.c (assign_parms): For a struct value address passed as first argument...
Olivier Hainque [Mon, 17 Mar 2003 16:23:50 +0000 (17:23 +0100)]
function.c (assign_parms): For a struct value address passed as first argument...

* function.c (assign_parms): For a struct value address passed as
first argument, delay the function's result RTL setup code until
after the emission of parameter conversions.

From-SVN: r64493

21 years ago* MAINTAINERS (Write After Approval): Add myself.
Olivier Hainque [Mon, 17 Mar 2003 16:15:25 +0000 (17:15 +0100)]
* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r64492

21 years agore PR c++/9993 (destructor not called for local object created within and returned...
Jason Merrill [Mon, 17 Mar 2003 15:45:29 +0000 (10:45 -0500)]
re PR c++/9993 (destructor not called for local object created within and returned from infinite loop)

        PR c++/9993
        * decl.c (finish_function): Only allow the NRVO to use variables
        declared at function scope.

From-SVN: r64488

21 years ago2003-03-17 Michael Koch <konqueror@gmx.de>
Michael Koch [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.

From-SVN: r64487

21 years agoBeans.java: Explicitely import classes not packages.
Michael Koch [Mon, 17 Mar 2003 15:21:45 +0000 (15:21 +0000)]
Beans.java: Explicitely import classes not packages.

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.

From-SVN: r64486

21 years ago2003-03-17 Michael Koch <konqueror@gmx.de>
Michael Koch [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.

From-SVN: r64485

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

From-SVN: r64484

21 years agoosf.h (TARGET_OS_CPP_BUILTINS): Define __digital__, __arch64__ to match Compaq cc.
Dave Love [Mon, 17 Mar 2003 14:33:50 +0000 (14:33 +0000)]
osf.h (TARGET_OS_CPP_BUILTINS): Define __digital__, __arch64__ to match Compaq cc.

* config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Define __digital__,
__arch64__ to match Compaq cc.

From-SVN: r64480

21 years agoMakefile.am (C_COMPILE): Remove.
Danny Smith [Mon, 17 Mar 2003 11:02:39 +0000 (11:02 +0000)]
Makefile.am (C_COMPILE): Remove.

* libsupc++/Makefile.am (C_COMPILE): Remove.
(LTCOMPILE): Likewise.
* libsupc++/Makefile.in: Regenerate.

From-SVN: r64477

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

From-SVN: r64474

21 years ago2003-03-17 Michael Koch
Michael Koch [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.

From-SVN: r64473

21 years ago2003-03-17 Michael Koch
Michael Koch [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.

From-SVN: r64472

21 years agoc-opts.c: Default TARGET_EBCDIC to 0 if not defined.
Neil Booth [Mon, 17 Mar 2003 06:41:06 +0000 (06:41 +0000)]
c-opts.c: Default TARGET_EBCDIC to 0 if not defined.

* 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.

From-SVN: r64471

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

From-SVN: r64470

21 years agofunction.c (thread_prologue_and_epilogue_insns): Set delete_unused argument to 0...
Michael 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.

* function.c (thread_prologue_and_epilogue_insns): Set delete_unused
argument to 0 for redirect_jump.

From-SVN: r64468

21 years agore PR c++/8805 (compile time regression with many member variables)
Mark Mitchell [Mon, 17 Mar 2003 06:09:30 +0000 (06:09 +0000)]
re PR c++/8805 (compile time regression with many member variables)

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.

From-SVN: r64465

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

From-SVN: r64464

21 years agoMake-lang.in (treelang.tags): Remove duplicate entry.
Andreas Jaeger [Mon, 17 Mar 2003 05:46:05 +0000 (06:46 +0100)]
Make-lang.in (treelang.tags): Remove duplicate entry.

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.

From-SVN: r64463

21 years agolinux64.h (TARGET_64BIT): Redefine.
Alan Modra [Mon, 17 Mar 2003 03:47:16 +0000 (03:47 +0000)]
linux64.h (TARGET_64BIT): Redefine.

* 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.

From-SVN: r64462

21 years agoresolve.cc (ncode): Use _Jv_platform_ffi_abi.
Tom Tromey [Mon, 17 Mar 2003 00:45:37 +0000 (00:45 +0000)]
resolve.cc (ncode): Use _Jv_platform_ffi_abi.

* 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.

From-SVN: r64461

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

From-SVN: r64460

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

        * simplify-rtx (simplify_binary_operation): Don't abort for
        SS_PLUS, US_PLUS, SS_MINUS, US_MINUS.

From-SVN: r64452

21 years agoi386.md (movstrictqi, [...]): Check optimize_size as well.
Richard Henderson [Sun, 16 Mar 2003 22:25:59 +0000 (14:25 -0800)]
i386.md (movstrictqi, [...]): Check optimize_size as well.

        * config/i386/i386.md (movstrictqi, movstrictqi_1): Check
        optimize_size as well.

From-SVN: r64451

21 years agom68hc11.c (print_operand): Handle 'b' modifier for D register to specify the low...
Stephane Carrez [Sun, 16 Mar 2003 21:26:04 +0000 (22:26 +0100)]
m68hc11.c (print_operand): Handle 'b' modifier for D register to specify the low part of it, aka B.

* 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.

From-SVN: r64447

21 years agore PR rtl-optimization/9016 (Failure to consistently constant fold "constant" C+...
Mark Mitchell [Sun, 16 Mar 2003 20:13:36 +0000 (20:13 +0000)]
re PR rtl-optimization/9016 (Failure to consistently constant fold "constant" C++ objects)

PR optimization/9016
* config/i386/i386.c (ix86_expand_move): Force more CONST_DOUBLEs
into the constant pool.

From-SVN: r64445

21 years agore PR target/9164 ([Alpha] improper code generation)
Falk Hueffner [Sun, 16 Mar 2003 19:43:53 +0000 (19:43 +0000)]
re PR target/9164 ([Alpha] improper code generation)

        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.

From-SVN: r64440

21 years agore PR c++/9629 (virtual inheritance segfault)
Nathan Sidwell [Sun, 16 Mar 2003 14:36:43 +0000 (14:36 +0000)]
re PR c++/9629 (virtual inheritance segfault)

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.

From-SVN: r64438

21 years agoc-typeck.c (build_component_ref): Turn "for" into "do ..
Roger Sayle [Sun, 16 Mar 2003 13:54:23 +0000 (13:54 +0000)]
c-typeck.c (build_component_ref): Turn "for" into "do ..

* 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.

From-SVN: r64434

21 years agoAdd missing ChangeLog entry for:
Andreas Jaeger [Sun, 16 Mar 2003 12:12:15 +0000 (13:12 +0100)]
Add missing ChangeLog entry for:

* configure.in: Improve check for memcheck.h.
* configure: Regenerated.

From-SVN: r64433

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

From-SVN: r64432

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

From-SVN: r64431

21 years agoconfigure.in: Improve check for memcheck.h.
Andreas Jaeger [Sun, 16 Mar 2003 09:34:41 +0000 (10:34 +0100)]
configure.in: Improve check for memcheck.h.

* configure.in: Improve check for memcheck.h.
* configure: Regenerated.

From-SVN: r64430

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

From-SVN: r64429

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

From-SVN: r64427

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

From-SVN: r64420

21 years agortl.h (subrtx_p): Renamed to rtx_referenced_p.
Josef Zlomek [Sat, 15 Mar 2003 22:51:37 +0000 (23:51 +0100)]
rtl.h (subrtx_p): Renamed to rtx_referenced_p.

* 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.

From-SVN: r64419

21 years agoMakefile.in (TEXI_GCCINT_FILES): Add libgcc.texi.
Aldy Hernandez [Sat, 15 Mar 2003 19:54:10 +0000 (19:54 +0000)]
Makefile.in (TEXI_GCCINT_FILES): Add libgcc.texi.

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.

From-SVN: r64416

21 years agostb.c (ffestb_R100110_): Allow the number before the X format to be optional when...
Roger 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.

* 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.

From-SVN: r64415

21 years agoeh33.C: Remove xfail for hppa*-*-*.
John David Anglin [Sat, 15 Mar 2003 18:22:02 +0000 (18:22 +0000)]
eh33.C: Remove xfail for hppa*-*-*.

* g++.old-deja/g++.mike/eh33.C: Remove xfail for hppa*-*-*.
* g++.old-deja/g++.mike/eh50.C: Likewise.

From-SVN: r64413

21 years agore PR debug/9039 (ICE, anonymous union, gen_decl_die, dwarf2out.c:11974)
Jason Merrill [Sat, 15 Mar 2003 17:41:35 +0000 (12:41 -0500)]
re PR debug/9039 (ICE, anonymous union, gen_decl_die, dwarf2out.c:11974)

        PR debug/9039
        * dwarf2out.c (gen_decl_die): Ignore frontend tree codes.

From-SVN: r64412

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

From-SVN: r64411

21 years agore PR debug/6387 (-fpic -gdwarf-2 -g1 combination give ICE in dwarf2out)
Jason Merrill [Sat, 15 Mar 2003 17:06:24 +0000 (12:06 -0500)]
re PR debug/6387 (-fpic -gdwarf-2 -g1 combination give ICE in dwarf2out)

        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.

From-SVN: r64410

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

From-SVN: r64407

21 years agovarasm.c (struct rtx_const): Change type of un.addr member to struct holding an addit...
Ulrich Weigand [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.

* 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.

From-SVN: r64406

21 years agoCompile-time improvement: 2/n.
Gabriel Dos Reis [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.

From-SVN: r64405

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

From-SVN: r64404

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

From-SVN: r64403

21 years agoc-cppbuiltin.c (builtin_define_with_value_n): Fix whitespace.
Roger Sayle [Sat, 15 Mar 2003 13:43:33 +0000 (13:43 +0000)]
c-cppbuiltin.c (builtin_define_with_value_n): Fix whitespace.

* 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.

From-SVN: r64402

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

From-SVN: r64401

21 years agoreload1.c (choose_reload_regs): Use && instead of || with REG_CANNOT_CHANGE_MODE_P...
Glen Nakamura [Sat, 15 Mar 2003 13:06:01 +0000 (14:06 +0100)]
reload1.c (choose_reload_regs): Use && instead of || with REG_CANNOT_CHANGE_MODE_P condition.

2003-03-15  Glen Nakamura  <glen@imodulo.com>

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

From-SVN: r64399

21 years agoMakefile.in: Update.
Neil Booth [Sat, 15 Mar 2003 12:18:47 +0000 (12:18 +0000)]
Makefile.in: Update.

* 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.

From-SVN: r64398

21 years agore PR c++/6440 (template specializations cause ICE)
Kriang Lerdsuwanakij [Sat, 15 Mar 2003 10:08:31 +0000 (10:08 +0000)]
re PR c++/6440 (template specializations cause ICE)

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.

From-SVN: r64395

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

From-SVN: r64393

21 years agog77spec.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
Andreas Jaeger [Sat, 15 Mar 2003 06:12:33 +0000 (07:12 +0100)]
g77spec.c (DEFAULT_SWITCH_TAKES_ARG): Remove.

* g77spec.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
(DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.

From-SVN: r64392

21 years ago[multiple changes]
Benjamin Kosnik [Sat, 15 Mar 2003 04:53:52 +0000 (04:53 +0000)]
[multiple changes]

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.

From-SVN: r64391

21 years agore PR rtl-optimization/9387 (jump threading bug)
Michael Hayes [Sat, 15 Mar 2003 02:44:29 +0000 (02:44 +0000)]
re PR rtl-optimization/9387 (jump threading bug)

PR optimization/9387
* function.c (thread_prologue_and_epilogue_insns): Use redirect_jump
for conditional returns.

From-SVN: r64390

21 years agore PR rtl-optimization/6871 (const objects shouldn't be moved to .bss)
Jason Merrill [Sat, 15 Mar 2003 01:43:07 +0000 (20:43 -0500)]
re PR rtl-optimization/6871 (const objects shouldn't be moved to .bss)

        PR optimization/6871
        * varasm.c (assemble_variable): Leave constant zeroes in .rodata.

From-SVN: r64387

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

From-SVN: r64386

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

From-SVN: r64385

21 years agoc-opts.c (finish_options): New.
Neil Booth [Fri, 14 Mar 2003 23:47:24 +0000 (23:47 +0000)]
c-opts.c (finish_options): New.

* 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.

From-SVN: r64378

21 years agors6000.c (rs6000_emit_load_toc_table): Don't call rs6000_maybe_dead if !fromprolog.
Jakub Jelinek [Fri, 14 Mar 2003 22:58:43 +0000 (23:58 +0100)]
rs6000.c (rs6000_emit_load_toc_table): Don't call rs6000_maybe_dead if !fromprolog.

* config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Don't call
rs6000_maybe_dead if !fromprolog.

From-SVN: r64376

21 years agostdc++.h: New.
Benjamin Kosnik [Fri, 14 Mar 2003 22:17:26 +0000 (22:17 +0000)]
stdc++.h: New.

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.

From-SVN: r64375

21 years agostdc++.h: New.
Benjamin Kosnik [Fri, 14 Mar 2003 22:16:06 +0000 (22:16 +0000)]
stdc++.h: New.

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.

From-SVN: r64374

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

From-SVN: r64373

21 years agotestsuite_hooks.h: Suppress runtime exception thrown by missing named locale.
Loren J. Rittle [Fri, 14 Mar 2003 21:41:26 +0000 (21:41 +0000)]
testsuite_hooks.h: Suppress runtime exception thrown by missing named locale.

* testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
missing named locale.

From-SVN: r64372

21 years agoMakefile.in (.y.c): Only enable production rule when maintaining.
Loren J. Rittle [Fri, 14 Mar 2003 21:36:28 +0000 (21:36 +0000)]
Makefile.in (.y.c): Only enable production rule when maintaining.

* Makefile.in (.y.c): Only enable production rule when
maintaining.

From-SVN: r64371

21 years agoMakefile.tpl: Move .NOEXPORT, MAKEOVERRIDES back down.
Nathanael Nerode [Fri, 14 Mar 2003 20:44:37 +0000 (20:44 +0000)]
Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES back down.

* Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES back down.
* Makefile.in: Regenerate.

From-SVN: r64370

21 years agocselib.c (clear_table): Do not take argument; always clear just used slots.
Jan Hubicka [Fri, 14 Mar 2003 20:15:13 +0000 (21:15 +0100)]
cselib.c (clear_table): Do not take argument; always clear just used slots.

* 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.

From-SVN: r64369

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

From-SVN: r64368

21 years agore PR target/9700 ([alpha linux] va_start gets __offset wrong in some situations)
Richard Henderson [Fri, 14 Mar 2003 17:58:48 +0000 (09:58 -0800)]
re PR target/9700 ([alpha linux] va_start gets __offset wrong in some situations)

        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.

From-SVN: r64367

21 years agostmt.c (expand_start_case): Call emit_queue ().
Jakub Jelinek [Fri, 14 Mar 2003 17:53:51 +0000 (18:53 +0100)]
stmt.c (expand_start_case): Call emit_queue ().

* stmt.c (expand_start_case): Call emit_queue ().

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

From-SVN: r64366

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

From-SVN: r64365

21 years agomips.h (FUNCTION_PROFILER): _mcount() doesn't pop 2 words in new abis.
Chris Demetriou [Fri, 14 Mar 2003 15:53:48 +0000 (15:53 +0000)]
mips.h (FUNCTION_PROFILER): _mcount() doesn't pop 2 words in new abis.

* config/mips/mips.h (FUNCTION_PROFILER): _mcount() doesn't pop 2
words in new abis.

From-SVN: r64364

21 years agoconfigure.in: Only append to makefiles that are newly created to avoid multiple...
Andreas Schwab [Fri, 14 Mar 2003 15:12:06 +0000 (15:12 +0000)]
configure.in: Only append to makefiles that are newly created to avoid multiple...

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.

From-SVN: r64363

21 years agore PR rtl-optimization/8396 ([sparc] optimizer ICE)
Eric Botcazou [Fri, 14 Mar 2003 14:49:40 +0000 (15:49 +0100)]
re PR rtl-optimization/8396 ([sparc] optimizer ICE)

PR optimization/8396
* tree-inline.c (initialize_inlined_parameters): Make sure the value
of read-only constant arguments is passed with the right type.

From-SVN: r64358

21 years agoObjectInputStream.java (readObject): Cleaned up the class hierarchy loop.
Jeroen Frijters [Fri, 14 Mar 2003 11:54:38 +0000 (12:54 +0100)]
ObjectInputStream.java (readObject): Cleaned up the class hierarchy loop.

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.

From-SVN: r64351

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

From-SVN: r64350

21 years agors6000.c (processor_target_table): Really allow GP optional instructions on Power4.
David Edelsohn [Fri, 14 Mar 2003 04:30:29 +0000 (23:30 -0500)]
rs6000.c (processor_target_table): Really allow GP optional instructions on Power4.

        * config/rs6000/rs6000.c (processor_target_table): Really allow
        GP optional instructions on Power4.

From-SVN: r64348

21 years agocalls.c (flags_from_decl_or_type): Factor and remove redundant conditional tests.
Roger 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.

* calls.c (flags_from_decl_or_type): Factor and remove redundant
conditional tests.

From-SVN: r64347

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

From-SVN: r64345

21 years agodll-1.c: Remove thumb target.
Danny Smith [Thu, 13 Mar 2003 22:21:21 +0000 (22:21 +0000)]
dll-1.c: Remove thumb target.

* 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.

From-SVN: r64337

21 years agore PR c++/9420 (incomplete type incorrectly reported)
Jason Merrill [Thu, 13 Mar 2003 21:39:38 +0000 (16:39 -0500)]
re PR c++/9420 (incomplete type incorrectly reported)

        PR c++/9420
        * search.c (lookup_conversions): Call complete_type here.
        * call.c (implicit_conversion): Not here.

From-SVN: r64332

21 years agodecl2.c (do_nonmember_using_decl): Correct handling of simultaneous type/non-type...
Mark Mitchell [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.

* decl2.c (do_nonmember_using_decl): Correct handling of
simultaneous type/non-type bindings.

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

From-SVN: r64323

21 years agore PR c++/9336 (ICE in cp_line_of, at cp/error.c:2191)
Jason Merrill [Thu, 13 Mar 2003 20:45:22 +0000 (15:45 -0500)]
re PR c++/9336 (ICE in cp_line_of, at cp/error.c:2191)

        PR c++/9336
        * decl2.c (lookup_arg_dependent): Handle error_mark_node.

[[Split portion of a mixed commit.]]

From-SVN: r64322.2