summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * resolve.cc (_Jv_PrepareClass): Round up class size to multipletromey2003-04-152-1/+9
| | | | | | | of alignment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65617 138bc75d-0d04-0410-961f-82ee72b054a4
* * strdup.c (strdup): Tweak implementation to use memcpy.sayle2003-04-152-5/+20
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65616 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-decl.c (grokdeclarator): Reject extern redeclarations ofmmitchel2003-04-154-2/+27
| | | | | | | | | | static variables. * gcc.c-torture/execute/scope-2.c: Move to ... * gcc.dg/noncompile/scope.c: .... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65615 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-04-14 Ziemowit Laski <zlaski@apple.com>zlaski2003-04-152-1/+6
| | | | | | | | * tree.c (build_cplus_array_type_1): Do not call uses_template_parms() on a NULL index_type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65613 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2003-04-152-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65612 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.ljrittle2003-04-152-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65605 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-04-14 Janis Johnson <janis187@us.ibm.com>janis2003-04-143-46/+90
| | | | | | | | | | | | | | | | * config/rs6000/rs6000.md (define_constants): Define constants for all UNSPEC usage, including new values for TLS support. (aux_truncdfsf2, fctiwz, movsi_got, movsi_got_internal, load_toc_aix_si, load_toc_aix_di, load_toc_v4_pic_si, load_toc_v4_PIC_1, load_toc_v4_PIC_1b, load_macho_picbase, macho_correct_pic, blockage, move_from_CR_ov_bit, movesi_from_cr, stack_tie, movsi_to_cr_one, movsi_to_cr, mtcrfsi, eh_set_lr_si, eh_set_lr_di): Use them. * rs6000.c: (mtcrf_operation, uses_TOC, rs6000_emit_prologue, rs6000_emit_epilogue) Use them. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65604 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-04-14 Nathan Myers <ncm@cantrip.org>paolo2003-04-144-20/+72
| | | | | | | | | | | | | | | Paolo Carlini <pcarlini@unitus.it> PR libstdc++/9701 (in_avail()) * include/std/std_streambuf.h (in_avail): Simplify, in_avail doesn't care if there is anything in some putback cell. * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add. * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some unused string literals. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65603 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-04-14 Janis Johnson <janis287@us.ibm.com>janis2003-04-142-1/+5
| | | | | | | * rtl.h (SYMBOL_REF_TLS_MODEL): Fix mask value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65602 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (c-opts.o): Use custom action.neil2003-04-142-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65601 138bc75d-0d04-0410-961f-82ee72b054a4
* * explow.c (round_push): Use HOST_WIDE_INT instead of int for thekenner2003-04-142-1/+8
| | | | | | | temporary used to round CONST_INT sizes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65600 138bc75d-0d04-0410-961f-82ee72b054a4
* * dbxout.c (print_int_cst_bounds_in_octal_p): New function,kenner2003-04-142-26/+50
| | | | | | | | | | extracted from dbxout_type. (dbxout_range_type): print large bounds in octal format. (dbxout_type): Replace extracted code by call to print_int_cst_bounds_in_octal_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65599 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.c (int_fits_type_p): Extract generic checks from the casekenner2003-04-143-19/+74
| | | | | | | | | | | of constant type bounds. Refine the checks against constant type bounds to allow for possible decisions against each of these bounds without requiring both bounds to be constant. (tree_int_cst_msb): Put back. * tree.h (tree_int_cst_msb): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65598 138bc75d-0d04-0410-961f-82ee72b054a4
* * global.c (global_conflicts): Prevent allocation of call clobberedkenner2003-04-142-8/+24
| | | | | | | | hard regs to pseudos live across abnormal edges, as later passes are not ready to handle them. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65597 138bc75d-0d04-0410-961f-82ee72b054a4
* * ifcvt.c (noce_process_if_block): Fail on BLKmode move.kenner2003-04-142-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65596 138bc75d-0d04-0410-961f-82ee72b054a4
* * stor-layout.c (layout_type, case ARRAY_TYPE): Add missing code tokenner2003-04-142-0/+12
| | | | | | | handle "superflat arrays" in Ada. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65595 138bc75d-0d04-0410-961f-82ee72b054a4
* * integrate.c (expand_inline_function): Don't inline if wouldkenner2003-04-142-0/+13
| | | | | | | lose /u on a BLKmode TARGET. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65594 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (gen_compile_unit_die): Emit DW_LANG_Ada95 insteadkenner2003-04-142-1/+6
| | | | | | | of DW_LANG_Ada83 for Ada units. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65591 138bc75d-0d04-0410-961f-82ee72b054a4
* * fold-const.c (fold): Reorder tests for conditional expressions.kenner2003-04-142-8/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65590 138bc75d-0d04-0410-961f-82ee72b054a4
* * expr.c (highest_pow2_factor): Return unsigned.kenner2003-04-144-10/+18
| | | | | | | | * expr.h (offset_address): Likewise. * emit-rtl.c (offset_address): POW2 argument now unsigned. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65589 138bc75d-0d04-0410-961f-82ee72b054a4
* * builtins.c (expand_builtin_strlen): Evaluate the lengths ofsayle2003-04-142-5/+14
| | | | | | | string literals at compile-time. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65585 138bc75d-0d04-0410-961f-82ee72b054a4
* * fold-const.c (fold): Transform (c1 - x) cmp c2, where cmp is asayle2003-04-144-1/+62
| | | | | | | | | | comparison operation and c1/c2 are floating point constants into x swap(cmp) (c1 - c2). * gcc.dg/20030414-2.c: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65584 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-04-14 Paolo Carlini <pcarlini@unitus.it>paolo2003-04-142-2/+5
| | | | | | | | * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set _M_out_end, _M_set_indeterminate() does it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65582 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-04-14 Vladimir Makarov <vmakarov@redhat.com>vmakarov2003-04-142-1/+6
| | | | | | | | * genautomata.c (output_translate_vect): Fix a typo in loop condition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65580 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/10377hp2003-04-142-38/+52
| | | | | | | | | | | | | | | | * config/cris/cris.md ("*mov_sideqi", "*mov_sidehi") ("*mov_sidesi", "*mov_sideqi_mem", "*mov_sidehi_mem") ("*mov_sidesi_mem", "*clear_sidesi", "*clear_sidehi") ("*clear_sideqi", "*ext_sideqihi", "*ext_sideqisi") ("*ext_sidehisi", "*op_sideqi", "*op_sidehi", "*op_sidesi") ("*op_swap_sideqi", "*op_swap_sidehi", "*op_swap_sidesi") ("*extopqihi_side", "*extopqisi_side", "*extophisi_side") ("*extopqihi_swap_side", "*extopqisi_swap_side") ("*extophisi_swap_side", 8th, 9th, 10th, 11th, 14th peepholes): When next to constraint R, replace constraint i with n. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65575 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (HAVE_UINTPTR_T): Always define.ghazi2003-04-143-90/+93
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65574 138bc75d-0d04-0410-961f-82ee72b054a4
* PR opt/10024hubicka2003-04-142-1/+6
| | | | | | | * cfgrtl.c (force_nonfallthru_and_redirect): Use unchecked_make_edge. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65571 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/10377hp2003-04-142-0/+44
| | | | | | | * gcc.dg/20030414-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65565 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/contrib.texi (Contributors): Correct my entry.lerdsuwa2003-04-142-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65563 138bc75d-0d04-0410-961f-82ee72b054a4
* * gjavah.c (print_c_decl): Indentation fix.tromey2003-04-142-6/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65562 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.h (DECL_BUILT_IN_NONANSI): Remove.sayle2003-04-145-40/+18
| | | | | | | | | | * c-common.c (builtin_function_2): Don't set DECL_BUILT_IN_NONANSI. * c-decl.c (duplicate_decls): Use invariant DECL_BUILT_IN_NONANSI implies DECL_BUILT_IN to simplify logic. * print-tree.c (print_node): Don't dump DECL_BUILT_IN_NONANSI. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65561 138bc75d-0d04-0410-961f-82ee72b054a4
* * builtin-types.def (BT_FN_STRING_CONST_STRING): New builtin type.sayle2003-04-1413-22/+148
| | | | | | | | | | | | | | | | | | | | (BT_FN_PTR_SIZE_SIZE): Likewise. * builtins.def (BUILT_IN_MALLOC, BUILT_IN_CALLOC, BUILT_IN_STRDUP): New built-in functions for malloc, calloc and strdup respectively. * calls.c (special_function_p): No need to handle malloc-like functions any longer. ECF_MALLOC is set via built-in attributes. * c-decl.c (duplicate_decls): Preserve pure and malloc attributes. * cp/decl.c (duplicate_decls): Preserve pure and malloc attributes. * f/com.c (duplicate_decls): Preserve pure and malloc attributes. * doc/extend.texi: Document these new built-in functions. * gcc.dg/builtins-13.c: New test case. * gcc.dg/builtins-14.c: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65560 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix formatting in last commit.ghazi2003-04-141-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65559 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2003-04-142-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65558 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:ghazi2003-04-136-11/+184
| | | | | | | | | | | | | | * builtins.c (expand_builtin_memcpy): Add `endp' argument, use it. (expand_builtin_stpcpy): New. (expand_builtin): Add BUILT_IN_MEMPCPY & BUILT_IN_STPCPY. * builtins.def: Add mempcpy & stpcpy support. * doc/extend.texi (mempcpy, stpcpy): Document new builtins. testsuite: * gcc.c-torture/execute/string-opt-18.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65551 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/10300mmitchel2003-04-134-60/+97
| | | | | | | | | | * init.c (build_new_1): Reorganize. PR c++/10300 * g++.dg/init/new5.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65550 138bc75d-0d04-0410-961f-82ee72b054a4
* Replace "GNU CC" with "GCC"nickc2003-04-1351-797/+815
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65549 138bc75d-0d04-0410-961f-82ee72b054a4
* oops - forgot to delete file whne comitting previous deltanickc2003-04-131-0/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65547 138bc75d-0d04-0410-961f-82ee72b054a4
* config-ml.in: Remove support for --disable-aix removing call-aix multilibs.nickc2003-04-1315-131/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Delete support for -mcall-aix switch. config/rs6000/eabiaix.h: Delete. config/rs6000/rs6000.h (rs6000_abi): Remove ABI_AIX_NODESC. (RS6000_REG_SAVE, RS6000_SAVE_AREA, FP_ARGS_MAX_REG, RETURN_ADDRESS_OFFSET): Remove use of ABI_AIX_NODESC. config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Likewise. config/rs6000/rs6000.c (print_operand, rs6000_stack_info, debug_stack_info, output_function_profiler, rs6000_trampoline_size, rs6000_initialise_trampoline): Likewise. config/rs6000/rs6000.md (call, call_value, call_nonlocal_sysv, call_indirect_nonlocal_sysv, call_value_indirect_nonlocal_sysv, call_value_nonlocal_sysv, sibcall_value_nonlocal_sysv, sibcall_nonlocal_sysv, sibcall_value_local64): Likewise. config/rs6000/t-ppcgas (MULTILIB_OPTIONS): Remove mcall-aix multilibs. (MULTILIB_DIRNAMES): Remove mcall-aix directories. (MULTILIB_EXCEPTIONS): Delete. (MULTILIB_MATCHES): Remove mcall-aix matches. doc/fragments.texi: Replace -mcall-aix example with an ARM one. doc/install.texi: Delete powerpc-*-eabiaix target. doc/invoke.texi: Remove documentation of mcall-aix switch. doc/tm.texi: Remove mcall-aix from example CPP_SPEC. config.gcc: Delete powerpc-*-eabiaix target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65546 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi: Fix typos.kazu2003-04-133-6/+11
| | | | | | | * doc/tm.texi: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65544 138bc75d-0d04-0410-961f-82ee72b054a4
* * os/hpux/ctype_inline.h: Replace with gnu-linux version.danglin2003-04-132-20/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65542 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-typeck.c (digest_init, push_init_level): Use CONSTRUCTOR_ELTS.zack2003-04-132-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65540 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.c (build_constructor): New function.zack2003-04-1331-166/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tree.h: Prototype it. * c-typeck.c (build_c_cast, pop_init_level) * profile.c (build_function_info_value, build_gcov_info_value) (create_profiler): Use build_constructor. * builtins.c (expand_builtin_args_info): Remove #if 0 blocks. * objc/objc-act.c (build_constructor): Rename objc_build_constructor. Use build_constructor. (build_objc_string_object, objc_add_static_instance) (init_def_list, init_objc_symtab, init_module_descriptor) (generate_static_references, build_selector_translation_table) (build_descriptor_table_initializer, generate_descriptor_table) (build_protocol_initializer, build_ivar_list_initializer) (generate_ivars_list, build_dispatch_table_initializer) (generate_dispatch_table, generate_protocol_list) (build_category_initializer, build_shared_structure_initializer): Update to match. ada: * gigi.h, utils2.c (build_constructor): Rename gnat_build_constructor. Use build_constructor. * decl.c (gnat_to_gnu_entity) * trans.c (tree_transform, pos_to_constructor, extract_values) * ada/utils.c (build_template, convert_to_fat_pointer, convert) (unchecked_convert) * ada/utils2.c (build_binary_op, build_call_raise, build_allocator) (fill_vms_descriptor): Update to match. cp: * class.c (initialize_array) * decl.c (reshape_init) * decl2.c (build_expr_from_tree) * init.c (build_zero_init) * pt.c (tsubst_copy, tsubst_copy_and_build) * rtti.c (tinfo_base_init, generic_initializer, ptr_initializer) (ptm_initializer, class_initializer, get_pseudo_ti_init) * semantics.c (finish_compound_literal) * typeck.c (build_ptrmemfunc1) * typeck2.c (store_init_value, process_init_constructor) (build_functional_cast): Use build_constructor. f: * com.c (ffecom_build_complex_constant_, ffecom_expr_) (ffecom_init_zero_, ffecom_transform_namelist_, ffecom_vardesc_) (ffecom_vardesc_array_, ffecom_vardesc_dims_, ffecom_2) * ste.c (ffeste_io_ialist_, ffeste_io_cilist_, ffeste_io_cllist_) (ffeste_io_icilist_, ffeste_io_inlist_, ffeste_io_olist_): Use build_constructor. java: * class.c (make_field_value, make_method_value, get_dispatch_table) (make_class_data, emit_offset_symbol_table) * constants.c (build_constants_constructor) * java-tree.h (START_RECORD_CONSTRUCTOR) * parse.y (maybe_build_array_element_wfl): Use build_constructor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65539 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2003-04-132-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65538 138bc75d-0d04-0410-961f-82ee72b054a4
* * intl.h: #define gcc_gettext_width to strlen when !ENABLE_NLS.zack2003-04-122-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65531 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/m68hc11/m68hc11-protos.hciceron2003-04-124-0/+25
| | | | | | | | | | | (m68hc11_eq_compare_operator): Declare * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register new predicate. * config/m68hc11/m68hc11.c (m68hc11_eq_compare_operator): New predicate (d_register_operand): Check the operand mode. (hard_addr_reg_operand): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65529 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/m68hc11/m68hc11.md ("decrement_and_branch_until_zero"): Newciceron2003-04-122-0/+273
| | | | | | | | | | | | | | | pattern for dbcc/ibcc generation for 68HC12. ("doloop_end"): New pattern. ("m68hc12_dbcc_dec_hi"): New pattern for dbeq/dbne. ("m68hc12_dbcc_inc_hi"): New pattern for ibeq/ibne. ("m68hc12_dbcc_dec_qi"): New pattern. ("m68hc12_dbcc_inc_qi"): New pattern. (split): Add split for the above when we can't use dbcc/ibcc due to reloading. (peephole2): Add peephole2 to generate the above when possible. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65527 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:dje2003-04-123-4/+10
| | | | | | | | Change basic_streambuf instantiation to "unsigned char". * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65526 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/m68hc11/m68hc11.md ("bitcmpqi" split): No need to test theciceron2003-04-122-11/+32
| | | | | | | | | | | | | mode of operand 0. (peephole2 optimize const load): Likewise for operand 2. ("*rotlhi3_with_carry"): Change pattern to a const 1 rotate which clobbers CC_REGNUM. ("*rotrhi3_with_carry"): Likewise. (ashift:DI 1 split): Update pattern to create the above rotate. (lshiftrt:DI 1 split): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65524 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/m68hc11/m68hc11.md (SOFT_Z_REGNUM): New constant.ciceron2003-04-122-10/+19
| | | | | | | | | | ("tstqi_z_used" split): Use it. ("cmphi_z_used"): Likewise. ("bitcmpqi_z_used"): Likewise; also use SP_REGNUM constant. ("cmpqi_z_used"): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65522 138bc75d-0d04-0410-961f-82ee72b054a4