aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-03-17c-tree.h (struct lang_identifier): Remove error_locus field.Zack Weinberg4-30/+65
* 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-17naming-1.m: Use "(parse|syntax) error".Zack Weinberg3-2/+7
* objc.dg/naming-1.m: Use "(parse|syntax) error". * objc.dg/naming-2.m: Likewise. From-SVN: r64503
2003-03-17stmt.c (tail_recursion_args): Call promote_mode to set unsignedp flag ↵Steve Ellcey2-5/+10
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-17loop-unroll.c (decide_peel_completely, [...]): Set loop->has_desc.Zdenek Dvorak2-5/+27
* 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[multiple changes]Benjamin Kosnik5-36/+94
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-17Update comment for ggc_alloc - to match API change made 2000-6-9.Per Bothner1-2/+1
From-SVN: r64497
2003-03-17ggc-common.c (ggc_mark_roots): Use htab_traverse_noresize.Jan Hubicka6-5/+34
* 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-17re PR c++/9639 ([New parser] Namespace std in constructor argument lists on ↵Mark Mitchell4-1/+15
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-17ScrollPaneAdjustable.java: Compile fixes.Michael Koch2-4/+16
2003-03-17 Michael Koch <konqueror@gmx.de> * java/awt/ScrollPaneAdjustable.java: Compile fixes. From-SVN: r64494
2003-03-17function.c (assign_parms): For a struct value address passed as first ↵Olivier Hainque2-18/+26
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* MAINTAINERS (Write After Approval): Add myself.Olivier Hainque2-0/+5
From-SVN: r64492
2003-03-17re PR c++/9993 (destructor not called for local object created within and ↵Jason Merrill3-3/+45
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-172003-03-17 Michael Koch <konqueror@gmx.de>Michael Koch3-2/+9
* java/net/DatagramSocket.java (connect): Fixed comment. * java/nio/ByteBuffer.java (hasArray): Fixed comment. From-SVN: r64487
2003-03-17Beans.java: Explicitely import classes not packages.Michael Koch7-50/+105
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-172003-03-17 Michael Koch <konqueror@gmx.de>Michael Koch5-13/+269
* 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-17Fixed attribution of last checkin.Dave Love1-1/+2
From-SVN: r64484
2003-03-17osf.h (TARGET_OS_CPP_BUILTINS): Define __digital__, __arch64__ to match ↵Dave Love2-0/+7
Compaq cc. * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Define __digital__, __arch64__ to match Compaq cc. From-SVN: r64480
2003-03-17Makefile.am (C_COMPILE): Remove.Danny Smith3-24/+8
* libsupc++/Makefile.am (C_COMPILE): Remove. (LTCOMPILE): Likewise. * libsupc++/Makefile.in: Regenerate. From-SVN: r64477
2003-03-17And now the version for the javax.print.attribute addition.Michael Koch2-0/+9
From-SVN: r64474
2003-03-172003-03-17 Michael KochMichael Koch4-0/+195
* 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-172003-03-17 Michael KochMichael Koch6-9/+348
* 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-17c-opts.c: Default TARGET_EBCDIC to 0 if not defined.Neil Booth4-24/+49
* 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* fix-header.c (read_scan_file): Need to malloc arguments to add_path.Neil Booth2-9/+14
From-SVN: r64470
2003-03-17function.c (thread_prologue_and_epilogue_insns): Set delete_unused argument ↵Michael Hayes2-1/+7
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-17re PR c++/8805 (compile time regression with many member variables)Mark Mitchell4-4/+445
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* Makefile.in (TAGS): Remove obsolete handling of =*.[chy].Andreas Jaeger2-1/+5
From-SVN: r64464
2003-03-17Make-lang.in (treelang.tags): Remove duplicate entry.Andreas Jaeger4-51/+41
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-17linux64.h (TARGET_64BIT): Redefine.Alan Modra2-0/+57
* 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-17resolve.cc (ncode): Use _Jv_platform_ffi_abi.Tom Tromey5-32/+63
* 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-17Daily bump.GCC Administrator2-2/+2
From-SVN: r64460
2003-03-16simplify-rtx (simplify_binary_operation): Don't abort for SS_PLUS, US_PLUS, ↵Richard Henderson2-0/+12
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-16i386.md (movstrictqi, [...]): Check optimize_size as well.Richard Henderson2-2/+7
* config/i386/i386.md (movstrictqi, movstrictqi_1): Check optimize_size as well. From-SVN: r64451
2003-03-16m68hc11.c (print_operand): Handle 'b' modifier for D register to specify the ↵Stephane Carrez2-4/+67
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-16re PR rtl-optimization/9016 (Failure to consistently constant fold ↵Mark Mitchell2-3/+17
"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-16re PR target/9164 ([Alpha] improper code generation)Falk Hueffner4-1/+24
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-16re PR c++/9629 (virtual inheritance segfault)Nathan Sidwell8-21/+104
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-16c-typeck.c (build_component_ref): Turn "for" into "do ..Roger Sayle3-1/+11
* 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-16Add missing ChangeLog entry for:Andreas Jaeger1-0/+5
* configure.in: Improve check for memcheck.h. * configure: Regenerated. From-SVN: r64433
2003-03-16* doc/cppopts.texi: Remove documentation of -A-.Neil Booth2-7/+4
From-SVN: r64432
2003-03-16Fix rethinko.Gabriel Dos Reis1-1/+1
From-SVN: r64431
2003-03-16configure.in: Improve check for memcheck.h.Andreas Jaeger2-4/+4
* configure.in: Improve check for memcheck.h. * configure: Regenerated. From-SVN: r64430
2003-03-16* decl.c (binding_for_name): Fix initialization thinko.Gabriel Dos Reis2-0/+7
From-SVN: r64429
2003-03-16Daily bump.GCC Administrator2-2/+2
From-SVN: r64427
2003-03-15* doc/libgcc.texi: Remove @tie.Zack Weinberg2-1/+5
From-SVN: r64420
2003-03-15rtl.h (subrtx_p): Renamed to rtx_referenced_p.Josef Zlomek5-32/+97
* 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-15Makefile.in (TEXI_GCCINT_FILES): Add libgcc.texi.Aldy Hernandez4-57/+418
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-15stb.c (ffestb_R100110_): Allow the number before the X format to be optional ↵Roger Sayle5-24/+17
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
2003-03-15eh33.C: Remove xfail for hppa*-*-*.John David Anglin3-2/+7
* g++.old-deja/g++.mike/eh33.C: Remove xfail for hppa*-*-*. * g++.old-deja/g++.mike/eh50.C: Likewise. From-SVN: r64413
2003-03-15re PR debug/9039 (ICE, anonymous union, gen_decl_die, dwarf2out.c:11974)Jason Merrill3-0/+20
PR debug/9039 * dwarf2out.c (gen_decl_die): Ignore frontend tree codes. From-SVN: r64412
2003-03-15don't specify -g1Jason Merrill1-0/+7
From-SVN: r64411