aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2003-03-18alias.c (rtx_equal_for_memref_p): Assume that X and Y has been canonicalized.Jan Hubicka2-18/+45
* alias.c (rtx_equal_for_memref_p): Assume that X and Y has been canonicalized. (memrefs_conflict_p): Likewise. (addr_side_effect_eval): Canonicalize the constructed address. From-SVN: r64540
2003-03-18* i386.md (cvtts?2si peep2): New.Jan Hubicka4-0/+60
From-SVN: r64537
2003-03-18* config/h8300/h8300.md (*iorsi3_two_qi_zext): New.Kazu Hirata2-0/+22
From-SVN: r64531
2003-03-18dwarf2out.c (output_file_names): Cast size_t to unsigned long for format.Andreas Schwab2-1/+6
* dwarf2out.c (output_file_names): Cast size_t to unsigned long for format. From-SVN: r64530
2003-03-17re PR c++/10091 ([parisc] ICE in cp_expr_size, at cp/cp-lang.c:307)Jason Merrill1-0/+30
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: r64523
2003-03-18decl.c (duplicate_decls): Use the new type when prototyping anticipated ↵Roger Sayle2-0/+10
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
2003-03-17re PR c++/10091 ([parisc] ICE in cp_expr_size, at cp/cp-lang.c:307)Jason Merrill4-10/+32
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
2003-03-18linux64.h (MASK_PROFILE_KERNEL): Define.Alan Modra3-16/+61
* 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
2003-03-18h8300-protos.h: Add a prototype for byte_accesses_mergeable_p.Kazu Hirata4-0/+119
* 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-18Daily bump.GCC Administrator1-1/+1
From-SVN: r64517
2003-03-17ansidecl.h (ATTRIBUTE_NONNULL, [...]): New.Kaveh R. Ghazi2-16/+22
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-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-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 Hubicka2-1/+5
* 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-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-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-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-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-17Daily bump.GCC Administrator1-1/+1
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 Administrator1-1/+1
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