Kazu Hirata
9b98dc7477
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
2003-03-18 01:25:57 +00:00
GCC Administrator
d4e9427174
Daily bump.
...
From-SVN: r64517
2003-03-18 00:17:13 +00:00
Paolo Carlini
f7e70401d4
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
2003-03-17 23:50:40 +00:00
Kaveh R. Ghazi
d41c4351fe
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
2003-03-17 22:57:27 +00:00
Zack Weinberg
6970c06a4e
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
2003-03-17 21:16:07 +00:00
Zack Weinberg
0fef2ffc6f
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
2003-03-17 20:58:44 +00:00
Steve Ellcey
405a98aa2b
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
2003-03-17 20:34:04 +00:00
Zdenek Dvorak
df86c7e2a5
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
2003-03-17 20:24:59 +00:00
Benjamin Kosnik
0c45b8e073
[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
2003-03-17 18:44:44 +00:00
Per Bothner
aa40083db9
Update comment for ggc_alloc - to match API change made 2000-6-9.
...
From-SVN: r64497
2003-03-17 10:42:23 -08:00
Jan Hubicka
dbccdc4211
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
2003-03-17 17:59:58 +00:00
Mark Mitchell
ec20aa6ccf
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
2003-03-17 17:36:24 +00:00
Michael Koch
1f43de927f
ScrollPaneAdjustable.java: Compile fixes.
...
2003-03-17 Michael Koch <konqueror@gmx.de>
* java/awt/ScrollPaneAdjustable.java:
Compile fixes.
From-SVN: r64494
2003-03-17 16:40:30 +00:00
Olivier Hainque
b36a8cc273
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
2003-03-17 16:23:50 +00:00
Olivier Hainque
3897ea90df
* MAINTAINERS (Write After Approval): Add myself.
...
From-SVN: r64492
2003-03-17 16:15:25 +00:00
Jason Merrill
35e939ae1c
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
2003-03-17 10:45:29 -05:00
Michael Koch
f1b62339fa
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
2003-03-17 15:31:33 +00:00
Michael Koch
6d04746832
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
2003-03-17 15:21:45 +00:00
Michael Koch
2ff04cc63a
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
2003-03-17 15:20:10 +00:00
Dave Love
94833648ca
Fixed attribution of last checkin.
...
From-SVN: r64484
2003-03-17 14:53:56 +00:00
Dave Love
aeefc21d6d
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
2003-03-17 14:33:50 +00:00
Danny Smith
c31da8a535
Makefile.am (C_COMPILE): Remove.
...
* libsupc++/Makefile.am (C_COMPILE): Remove.
(LTCOMPILE): Likewise.
* libsupc++/Makefile.in: Regenerate.
From-SVN: r64477
2003-03-17 11:02:39 +00:00
Michael Koch
1c677dbed8
And now the version for the javax.print.attribute addition.
...
From-SVN: r64474
2003-03-17 09:18:17 +00:00
Michael Koch
90310c23c0
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
2003-03-17 09:13:15 +00:00
Michael Koch
6e827a3718
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
2003-03-17 09:09:39 +00:00
Neil Booth
783e29899b
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
2003-03-17 06:41:06 +00:00
Neil Booth
72ecfc6033
* fix-header.c (read_scan_file): Need to malloc arguments to add_path.
...
From-SVN: r64470
2003-03-17 06:39:37 +00:00
Michael Hayes
47009d11db
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
2003-03-17 06:16:56 +00:00
Mark Mitchell
bafb714bac
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
2003-03-17 06:09:30 +00:00
Andreas Jaeger
30492adf69
* Makefile.in (TAGS): Remove obsolete handling of =*.[chy].
...
From-SVN: r64464
2003-03-17 06:47:53 +01:00
Andreas Jaeger
40a4184c57
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
2003-03-17 06:46:05 +01:00
Alan Modra
7b3464eefe
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
2003-03-17 14:17:16 +10:30
Tom Tromey
2b7f1f8f41
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
2003-03-17 00:45:37 +00:00
GCC Administrator
01cca2d84d
Daily bump.
...
From-SVN: r64460
2003-03-17 00:17:42 +00:00
Richard Henderson
4f5c0f7eb9
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
2003-03-16 14:55:14 -08:00
Richard Henderson
3c298c88f8
i386.md (movstrictqi, [...]): Check optimize_size as well.
...
* config/i386/i386.md (movstrictqi, movstrictqi_1): Check
optimize_size as well.
From-SVN: r64451
2003-03-16 14:25:59 -08:00
Stephane Carrez
fe91bac51d
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
2003-03-16 22:26:04 +01:00
Mark Mitchell
ddc6706714
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
2003-03-16 20:13:36 +00:00
Falk Hueffner
0a71919d52
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
2003-03-16 11:43:53 -08:00
Nathan Sidwell
1f5a253a36
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
2003-03-16 14:36:43 +00:00
Roger Sayle
46ea50cb66
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
2003-03-16 13:54:23 +00:00
Andreas Jaeger
012c387f58
Add missing ChangeLog entry for:
...
* configure.in: Improve check for memcheck.h.
* configure: Regenerated.
From-SVN: r64433
2003-03-16 13:12:15 +01:00
Neil Booth
7d1c4aaec9
* doc/cppopts.texi: Remove documentation of -A-.
...
From-SVN: r64432
2003-03-16 10:37:06 +00:00
Gabriel Dos Reis
8e7d7fa0d5
Fix rethinko.
...
From-SVN: r64431
2003-03-16 10:11:02 +00:00
Andreas Jaeger
72bd67f935
configure.in: Improve check for memcheck.h.
...
* configure.in: Improve check for memcheck.h.
* configure: Regenerated.
From-SVN: r64430
2003-03-16 10:34:41 +01:00
Gabriel Dos Reis
4f907b595a
* decl.c (binding_for_name): Fix initialization thinko.
...
From-SVN: r64429
2003-03-16 09:16:59 +00:00
GCC Administrator
95101abf4b
Daily bump.
...
From-SVN: r64427
2003-03-16 00:17:11 +00:00
Zack Weinberg
e20798d131
* doc/libgcc.texi: Remove @tie.
...
From-SVN: r64420
2003-03-15 23:35:46 +00:00
Josef Zlomek
4af16369d5
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
2003-03-15 22:51:37 +00:00
Aldy Hernandez
d2184e79be
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
2003-03-15 19:54:10 +00:00