summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PR c++/10091jason2003-03-181-0/+30
| | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64523 138bc75d-0d04-0410-961f-82ee72b054a4
* * decl.c (duplicate_decls): Use the new type when prototypingsayle2003-03-182-0/+10
| | | | | | | | anticipated decls, even when the types match. This defines the exception list for the built-in function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64522 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/10091jason2003-03-184-10/+32
| | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64520 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/linux64.h (MASK_PROFILE_KERNEL): Define.amodra2003-03-183-16/+61
| | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64519 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300-protos.h: Add a prototype forkazu2003-03-184-0/+119
| | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64518 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2003-03-182-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64517 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-17 Paolo Carlini <pcarlini@unitus.it>paolo2003-03-174-18/+100
| | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64509 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi2003-03-174-17/+59
| | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64505 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-tree.h (struct lang_identifier): Remove error_locus field.zack2003-03-174-30/+65
| | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64504 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc.dg/naming-1.m: Use "(parse|syntax) error".zack2003-03-173-2/+7
| | | | | | | * objc.dg/naming-2.m: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64503 138bc75d-0d04-0410-961f-82ee72b054a4
* * stmt.c (tail_recursion_args): Call promote_mode to setsje2003-03-172-5/+10
| | | | | | | unsignedp flag correctly before calling convert_move. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64501 138bc75d-0d04-0410-961f-82ee72b054a4
* * loop-unroll.c (decide_peel_completely,rakdver2003-03-172-5/+27
| | | | | | | | | decide_unroll_constant_iterations, decide_unroll_stupid, decide_unroll_runtime_iterations, decide_peel_simple): Set loop->has_desc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64500 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-03-175-36/+94
| | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64498 138bc75d-0d04-0410-961f-82ee72b054a4
* Update comment for ggc_alloc - to match API change made 2000-6-9.bothner2003-03-171-2/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64497 138bc75d-0d04-0410-961f-82ee72b054a4
* * ggc-common.c (ggc_mark_roots): Use htab_traverse_noresize.hubicka2003-03-176-5/+34
| | | | | | | | | | * hashtab.h (htab_traverse_noresize): Declare. * hashtab.c (htab_traverse_noresize): Break out from ... * hashtab.c (htab_traverse): ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64496 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/9639mmitchel2003-03-174-1/+15
| | | | | | | | | | * parser.c (cp_parser_declarator_id): Clear parser->scope. PR c++/9639 * g++.dg/parse/crash1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64495 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-17 Michael Koch <konqueror@gmx.de>mkoch2003-03-172-4/+16
| | | | | | | | * java/awt/ScrollPaneAdjustable.java: Compile fixes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64494 138bc75d-0d04-0410-961f-82ee72b054a4
* * function.c (assign_parms): For a struct value address passed ashainque2003-03-172-18/+26
| | | | | | | | first argument, delay the function's result RTL setup code until after the emission of parameter conversions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64493 138bc75d-0d04-0410-961f-82ee72b054a4
* * MAINTAINERS (Write After Approval): Add myself.hainque2003-03-172-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64492 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/9993jason2003-03-173-3/+45
| | | | | | | | * 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
* 2003-03-17 Michael Koch <konqueror@gmx.de>mkoch2003-03-173-2/+9
| | | | | | | | | | * 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
* 2003-03-17 Michael Koch <konqueror@gmx.de>mkoch2003-03-177-50/+105
| | | | | | | | | | | | | | | | | | | | * 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
* 2003-03-17 Michael Koch <konqueror@gmx.de>mkoch2003-03-175-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64485 138bc75d-0d04-0410-961f-82ee72b054a4
* Fixed attribution of last checkin.ro2003-03-171-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64484 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Define __digital__,ro2003-03-172-0/+7
| | | | | | | __arch64__ to match Compaq cc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64480 138bc75d-0d04-0410-961f-82ee72b054a4
* * libsupc++/Makefile.am (C_COMPILE): Remove.dannysmith2003-03-173-24/+8
| | | | | | | | (LTCOMPILE): Likewise. * libsupc++/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64477 138bc75d-0d04-0410-961f-82ee72b054a4
* And now the version for the javax.print.attribute addition.mkoch2003-03-172-0/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64474 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-17 Michael Kochmkoch2003-03-174-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64473 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-17 Michael Kochmkoch2003-03-176-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64472 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-opts.c: Default TARGET_EBCDIC to 0 if not defined.neil2003-03-174-24/+49
| | | | | | | | | | (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
* * fix-header.c (read_scan_file): Need to malloc arguments to add_path.neil2003-03-172-9/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64470 138bc75d-0d04-0410-961f-82ee72b054a4
* * function.c (thread_prologue_and_epilogue_insns): Set delete_unusedm.hayes2003-03-172-1/+7
| | | | | | | argument to 0 for redirect_jump. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64468 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/8805mmitchel2003-03-174-4/+445
| | | | | | | | | | | | | * 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
* * Makefile.in (TAGS): Remove obsolete handling of =*.[chy].aj2003-03-172-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64464 138bc75d-0d04-0410-961f-82ee72b054a4
* Treelang:aj2003-03-174-51/+41
| | | | | | | | | | | | | | 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
* * config/rs6000/linux64.h (TARGET_64BIT): Redefine.amodra2003-03-172-0/+57
| | | | | | | | | (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
* * resolve.cc (ncode): Use _Jv_platform_ffi_abi.tromey2003-03-175-32/+63
| | | | | | | | | | | | | | | | | | | | 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
* Daily bump.gccadmin2003-03-172-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64460 138bc75d-0d04-0410-961f-82ee72b054a4
* * simplify-rtx (simplify_binary_operation): Don't abort forrth2003-03-162-0/+12
| | | | | | | 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
* * config/i386/i386.md (movstrictqi, movstrictqi_1): Checkrth2003-03-162-2/+7
| | | | | | | optimize_size as well. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64451 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/m68hc11/m68hc11.c (print_operand): Handle 'b' modifierciceron2003-03-162-4/+67
| | | | | | | | | | | | 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
* PR optimization/9016mmitchel2003-03-162-3/+17
| | | | | | | | * 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
* PR target/9164rth2003-03-164-1/+24
| | | | | | | | | | * 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
* cp:nathan2003-03-168-21/+104
| | | | | | | | | | | | | | | | | | 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
* * c-typeck.c (build_component_ref): Turn "for" into "do .. while"sayle2003-03-163-1/+11
| | | | | | | | 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
* Add missing ChangeLog entry for:aj2003-03-161-0/+5
| | | | | | | | * 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
* * doc/cppopts.texi: Remove documentation of -A-.neil2003-03-162-7/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64432 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix rethinko.gdr2003-03-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64431 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Improve check for memcheck.h.aj2003-03-162-4/+4
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64430 138bc75d-0d04-0410-961f-82ee72b054a4
* * decl.c (binding_for_name): Fix initialization thinko.gdr2003-03-162-0/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64429 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud