aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2004-11-09builtins.c, [...]: Say "argument" instead of "arg" in diagnostics.Joseph Myers7-33/+46
* builtins.c, c-common.c, c-decl.c, c-format.c: Say "argument" instead of "arg" in diagnostics. testsuite: * gcc.dg/builtin-prefetch-1.c: Update expected diagnostic. From-SVN: r90338
2004-11-09builtins.c, [...]: Avoid "`" as left quote, using "'" or %q, %< and %> as ↵Joseph Myers65-316/+360
appropriate. * builtins.c, c-common.c, c-decl.c, c-format.c, c-format.h, c-parse.in, c-pch.c, c-pragma.c, collect2.c, final.c, gcc.c, gcov.c, opts.c, pretty-print.h, protoize.c, reg-stack.c, rtl.c, tlink.c, config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c, config/avr/avr.c, config/c4x/c4x.c, config/darwin.c, config/frv/frv.c, config/h8300/h8300.c, config/i386/i386.c, config/i386/winnt.c, config/ia64/ia64.c, config/ip2k/ip2k.c, config/iq2000/iq2000.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c, config/m68k/m68k.c, config/m68k/m68k.h, config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.c, config/ns32k/ns32k.c, config/rs6000/host-darwin.c, config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c, config/sh/symbian.c, config/stormy16/stormy16.c, config/v850/v850.c: Avoid "`" as left quote, using "'" or %q, %< and %> as appropriate. Use %' as apostrophe in diagnostics where applicable. Use %< and %> in place of '' quotes where applicable. Use %qs in place of %<%s%>. Consistently quote __builtin function names. ada: * misc.c (gnat_handle_option): Use %< and %> for quoting in warning message. cp: * call.c, class.c, decl.c, decl2.c, error.c, mangle.c, parser.c, pt.c, search.c, semantics.c, typeck.c: Use %q, %< and %> for quoting in diagnostics. * parser.c (cp_parser_sizeof_operand): Use '' instead of `' for quoting in printf format. * decl.c (duplicate_decls, start_decl): Use %qD instead of unquoted %D. objc: * objc-act.c: Use %q, %< and %> for quoting in diagnostics. testsuite: * gcc.dg/builtin-prefetch-1.c: Adjust expected messages. From-SVN: r90337
2004-11-09* gdbinit.in (pbb, pbm): New macros.Hans-Peter Nilsson2-0/+20
From-SVN: r90336
2004-11-08cfg.c (redirect_edge_succ_nodup): Use find_edge rather than implementing it ↵Jeff Law3-10/+22
inline. * cfg.c (redirect_edge_succ_nodup): Use find_edge rather than implementing it inline. * cfganal.c (find_edge): Search pred->succs or succ->preds, whichever is shorter. From-SVN: r90333
2004-11-09* passes.c (rest_of_handle_jump): Remove dead code.Kazu Hirata2-21/+4
From-SVN: r90325
2004-11-09* testsuite/gcc.dg/uninit-H.c: Add ifdefs for __hppa__ and __ia64__.Steve Ellcey2-0/+8
From-SVN: r90324
2004-11-09Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r90321.2
2004-11-08tree-cfg.c (thread_jumps): Speed up by keeping a pointer to the last used ↵Kazu Hirata2-8/+10
element in the worklist. * tree-cfg.c (thread_jumps): Speed up by keeping a pointer to the last used element in the worklist. From-SVN: r90314
2004-11-08tree-inline.c (remap_save_expr): Make it static.Kazu Hirata3-2/+7
* tree-inline.c (remap_save_expr): Make it static. * tree-inline.h: Remove the corresponding prototype. From-SVN: r90313
2004-11-08tree-ssa-loop-niter.c (upper_bound_in_type, [...]): Make them static.Kazu Hirata3-6/+8
* tree-ssa-loop-niter.c (upper_bound_in_type, lower_bound_in_type): Make them static. * tree.h: Remove the corresponding prototypes. From-SVN: r90312
2004-11-08tree-ssa-live.c (tpa_init, [...]): Make them static.Kazu Hirata3-4/+8
* tree-ssa-live.c (tpa_init, pop_best_coalesce): Make them static. * tree-ssa-live.h: Remove the corresponding prototypes. From-SVN: r90311
2004-11-08tree-if-conv.c (tree_if_conversion): Make it static.Kazu Hirata3-5/+6
* tree-if-conv.c (tree_if_conversion): Make it static. * tree-flow.h: Remove the corresponding prototype. From-SVN: r90310
2004-11-08tree-ssa-operands.c (build_ssa_operands): Make it static.Kazu Hirata3-5/+6
* tree-ssa-operands.c (build_ssa_operands): Make it static. * tree-flow.h: Remove the corresponding prototype. From-SVN: r90308
2004-11-08Makefile.in (tree-ssa-loop-ivopts.o): Add sbitmap.h dependency.Zdenek Dvorak2-318/+677
* Makefile.in (tree-ssa-loop-ivopts.o): Add sbitmap.h dependency. * tree-ssa-loop-ivopts.c (struct iv_use): Change semantics of related_cands. (struct iv_ca, struct iv_ca_delta): New types. (tree_ssa_iv_optimize_init): Allocate important_candidates bitmap. (record_important_candidates): New. (find_iv_candidates): Call record_important_candidates. (alloc_use_cost_map): Derive size only from important candidates. (set_use_iv_cost, get_use_iv_cost): Use hash-like mechanism to speed up searches. (determine_use_iv_cost_generic, determine_use_iv_cost_address, determine_use_iv_cost_condition, determine_use_iv_cost_outer, determine_use_iv_cost): Return whether the use can be expressed by the candidate. (determine_use_iv_costs): Prune useless candidates from relate_cands bitmaps. (find_best_candidate, set_cost_up_to, set_cost): Removed. (cheaper_cost_pair, iv_ca_recount_cost, iv_ca_set_no_cp, iv_ca_set_cp, iv_ca_add_use, iv_ca_cost, iv_ca_has_deps, iv_ca_delta_add, iv_ca_cand_for_use, iv_ca_delta_commit, iv_ca_cand_used_p, iv_ca_delta_free, iv_ca_new, iv_ca_free, iv_ca_dump, iv_ca_extend, iv_ca_narrow): New functions. (try_add_cand_for, get_initial_solution, try_improve_iv_set, find_optimal_iv_set, create_new_ivs, tree_ssa_iv_optimize_loop): Use new iv set representation. (free_loop_data): clear important_candidates bitmap. (tree_ssa_iv_optimize_finalize): Free important_candidates bitmap. From-SVN: r90306
2004-11-08re PR objc/16546 ([unit-at-a-time] Solaris 10/x86 libobjc bootstrap failure: ↵Andrew Pinski2-13/+8
invalid assembler code) 2004-11-08 Andrew Pinski <pinskia@physics.uc.edu> PR objc/16546 * objc-act.c (generate_method_descriptors): Remove setting the new decls' type to variable_length_type. (generate_ivar_lists): Likewise. (generate_dispatch_tables): Likewise. From-SVN: r90304
2004-11-0820030225-2.c: Add prototype for abort and exit.Steve Ellcey2-0/+8
* testsuite/gcc.dg/20030225-2.c: Add prototype for abort and exit. From-SVN: r90297
2004-11-08re PR middle-end/18299 (ICE in gimple-lower)Andrew Pinski4-1/+24
2004-11-08 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/18299 * gcc.c-torture/pr18299-1.c: New test. 2004-11-08 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/18299 * tree-inline.c (copy_body_r): Change "t = t" to empty statement instead of "t". From-SVN: r90295
2004-11-08modulo-sched.c (create_partial_schedule, [...]): Make them static.Kazu Hirata2-13/+20
* modulo-sched.c (create_partial_schedule, free_partial_schedule, reset_partial_schedule, ps_add_node_check_conflicts, rotate_partial_schedule): Make them static. From-SVN: r90291
2004-11-08expmed.c (extract_force_align_mem_bit_field): Correct handling at the end of ↵Richard Henderson2-4/+17
a page. * expmed.c (extract_force_align_mem_bit_field): Correct handling at the end of a page. From-SVN: r90288
2004-11-08sched-deps.c (add_insn_mem_dependence): Make it static.Kazu Hirata3-2/+6
* sched-deps.c (add_insn_mem_dependence): Make it static. * sched-int.h: Remove the corresponding prototypes. From-SVN: r90283
2004-11-08flow.c (allocate_bb_life_data): Make it static.Kazu Hirata3-3/+8
* flow.c (allocate_bb_life_data): Make it static. * basic-block.h: Remove the corresponding prototype. From-SVN: r90282
2004-11-08calls.c (split_complex_values, [...]): Make them static.Kazu Hirata3-5/+10
* calls.c (split_complex_values, split_complex_types): Make them static. * expr.h: Remove the corresponding prototypes. From-SVN: r90281
2004-11-08New test case.Richard Henderson1-0/+31
From-SVN: r90280
2004-11-08re PR java/16843 (gcjh generated headers don't define final constants)Tom Tromey2-24/+72
PR java/16843: * gjavah.c (HANDLE_END_FIELD): Call print_field_info when generating a JNI header. (print_field_info): Handle JNI headers. (jni_print_float): Likewise. (jni_print_double): Likewise. From-SVN: r90277
2004-11-08arm.c (arm_handle_notshared_attribute): Wrap declaration and use with #if ↵Richard Earnshaw2-0/+9
TARGET_DLLIMPORT_DECL_ATTRIBUTES. * arm.c (arm_handle_notshared_attribute): Wrap declaration and use with #if TARGET_DLLIMPORT_DECL_ATTRIBUTES. From-SVN: r90272
2004-11-08tree-if-conv.c (tree_if_convert_cond_expr): Remove two "if" statements that ↵Kazu Hirata2-18/+19
always trigger. * tree-if-conv.c (tree_if_convert_cond_expr): Remove two "if" statements that always trigger. From-SVN: r90267
2004-11-08arith.c, [...]: Fix comment formatting.Kazu Hirata25-111/+119
* arith.c, array.c, decl.c, expr.c, f95-lang.c, gfortran.h, gfortranspec.c, interface.c, intrinsic.c, iresolve.c, match.c, module.c, parse.c, parse.h, primary.c, resolve.c, scanner.c, trans-array.c, trans-array.h, trans-expr.c, trans-intrinsic.c, trans-io.c, trans-stmt.c, trans.h: Fix comment formatting. From-SVN: r90266
2004-11-08class.c, [...]: Fix comment formatting.Kazu Hirata9-45/+50
* class.c, decl.c, lex.c, name-lookup.c, parser.c, pt.c, search.c, typeck2.c: Fix comment formatting. From-SVN: r90265
2004-11-08decl.c (end_java_method): Remove duplicated code.Andrew Pinski2-8/+4
2004-11-08 Andrew Pinski <pinskia@physics.uc.edu> * decl.c (end_java_method): Remove duplicated code. From-SVN: r90264
2004-11-08* a-numaux-x86.adb (Tan): Fix fdivp syntax.Rainer Orth2-1/+5
From-SVN: r90263
2004-11-08tree-cfg.c, [...]: Replace TREE_CHAIN with PHI_CHAIN where appropriate.Kazu Hirata10-35/+43
* tree-cfg.c, tree-if-conv.c, tree-into-ssa.c, tree-scalar-evolution.c, tree-ssa-loop-im.c, tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa.c, tree-vectorizer.c: Replace TREE_CHAIN with PHI_CHAIN where appropriate. From-SVN: r90262
2004-11-08cgraph.h (cgraph_calls_p): Remove.Ben Elliston5-37/+8
* cgraph.h (cgraph_calls_p): Remove. * cgraph.c (cgraph_calls_p): Likewise. * varray.h (varray_copy): Remove. * varray.c (varray_copy): Likewise. From-SVN: r90261
2004-11-07re PR target/18269 (-m64 -fPIC does not work on ppc-darwin)Andrew Pinski5-141/+214
2004-11-07 Andrew Pinski <pinskia@physics.uc.edu> PR target/18269 * config/darwin.c (machopic_indirect_data_reference): Call gen_macho_high and gen_macho_low instead of checking the mode and calling gen_macho_high_di directly. * config/rs6000/rs6000.c (rs6000_emit_move): Likewise. * config/rs6000/rs6000.md: Move most of TARGET_MACHO expand/insns to darwin.md. (movdf_low, movsf_low, movsf_low_st, movsi_low, macho_correct_pic, load_macho_picbase, macho_low, macho_high): Removed. (builtin_setjmp_receiver): Call gen_macho_high and gen_macho_low instead of checking the mode and calling gen_macho_high_di directly. * config/rs6000/darwin.md (load_macho_picbase_di): Use the MD constant. (movdf_low_si, movsf_low_si, movsf_low_st_si, movsi_low_st): Moved from rs6000.md. (macho_high): New expander. (macho_high_si): Renamed version of macho_high from rs6000.md. (macho_low): New expander. (macho_low_si): Renamed version of macho_low from rs6000.md. (load_macho_picbase): New expander. (load_macho_picbase_si): Renamed version of load_macho_picbase from rs6000.md. (macho_correct_pic): New expander. (macho_correct_pic_si): Renamed version of macho_correct_pic from rs6000.md. From-SVN: r90257
2004-11-08Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r90248.2
2004-11-07* de.po: Update.Joseph Myers2-398/+398
From-SVN: r90241
2004-11-07* Makefile.in (install-gnatlib): Remove spurious hyphen.Andreas Schwab2-1/+5
From-SVN: r90221
2004-11-07c-decl.c (finish_struct): Use complete sentences for diagnostic for ↵Joseph Myers2-3/+21
structures or unions with no members... * c-decl.c (finish_struct): Use complete sentences for diagnostic for structures or unions with no members or named members. From-SVN: r90217
2004-11-07c-typeck.c (build_unary_op): Replace unreachable diagnostic for taking ↵Joseph Myers2-7/+7
address of bit-field by assertion. * c-typeck.c (build_unary_op): Replace unreachable diagnostic for taking address of bit-field by assertion. From-SVN: r90216
2004-11-07Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r90212.2
2004-11-07s390.md (attribute "op_type"): Default to "NN".Ulrich Weigand2-132/+111
* config/s390/s390.md (attribute "op_type"): Default to "NN". (attribute "atype"): Default to "agen". (attribute "length"): Default to 6. (define_asm_attibutes): Remove. ("movti", "*movdi_64", "*movdi_31", "*movsi_zarch", "*movsi_esa", "*movhi", "*movqi", "*movdf_64", "*movdf_31", "movsf", "*clc", "*mvc", "*nc", "*oc", "*xc", "*xc_zero"): Do not set type attribute to "cs" where already default. ("*cmpint_si", "*cmpint_di", "fix_truncdfsi2_ibm", "floatsidf2_ibm", "*negdi2_31"): Do not set type attribute to "other" where already default. ("movti", "*movdi_64", "*movdi_31", "*movdf_31", "*strlendi", "*strlensi", "*movmem_long_64", "*movmem_long_31", "*clrmem_long_64", "*clrmem_long_31", "*cmpmem_long_64", "*cmpmem_long_31", "*cmpint_si", "*cmpint_di", "addti3", "*adddi3_31z", "*adddi3_31", "subti3", "*subdi3_31z", "*subdi3_31", "*negdi2_31", "*sconddi", "*scondsi", "*sconddi_neg", "*scondsi_neg", "fix_truncdfsi2_ibm", "floatsidf2_ibm", "extendsfdf2_ibm", "*pool_entry", "pool_align", "pool_section_start", "pool_section_end", "main_pool", "reload_base_31", "pool"): Do not set op_type attribute to "NN" where already default. ("*extractqi", "*extracthi", "*zero_extendhisi2_31", "*zero_extendqisi2_31", "*zero_extendqihi2_31", "fix_truncdfsi2_ibm", "floatsidf2_ibm"): Do not set atype attribute to "agen" where already default. ("*movmem_short", "*clrmem_short", "*cmpmem_short"): Don't set op_type. From-SVN: r90208
2004-11-06* config/mips/t-iris6 (tp-bit.c): Fix target filename.Richard Sandiford2-1/+5
From-SVN: r90197
2004-11-06re PR target/16830 (Including <sys/immu.h> with -mabi=n32 causes an error.)Richard Sandiford2-10/+22
PR target/16830 * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Don't define the R3000 and R4000 macros on IRIX. From-SVN: r90195
2004-11-06re PR target/16286 (Compile errors on altivec ops after #undef vector)Andreas Schwab4-676/+691
PR target/16286 * config/rs6000/altivec.h: Replace bool by __bool and pixel by __pixel. testsuite: * gcc.dg/pr16286.c: Also test for bool and pixel. From-SVN: r90194
2004-11-06anon-struct-6.c, [...]: New tests.Joseph Myers19-0/+245
* gcc.dg/anon-struct-6.c, gcc.dg/anon-struct-7.c, gcc.dg/anon-struct-8.c, gcc.dg/bitfld-10.c, gcc.dg/bitfld-11.c, gcc.dg/bitfld-12.c, gcc.dg/func-outside-1.c, gcc.dg/func-outside-2.c, gcc.dg/label-decl-1.c, gcc.dg/label-decl-2.c, gcc.dg/label-decl-3.c, gcc.dg/label-decl-4.c, gcc.dg/struct-empty-1.c, gcc.dg/struct-empty-2.c, gcc.dg/struct-empty-3.c, gcc.dg/struct-semi-1.c, gcc.dg/struct-semi-2.c, gcc.dg/struct-semi-3.c: New tests. From-SVN: r90193
2004-11-06Fix wrong entry.Eric Botcazou1-1/+1
From-SVN: r90192
2004-11-06* tree-ssa-copyrename.c (rename_ssa_copies): Make it static.Kazu Hirata2-3/+5
From-SVN: r90191
2004-11-062064.md ("z_int", "z_agen"): Ensure the condition matches no insns already ↵Ulrich Weigand4-55/+76
matched by other reservations. * config/s390/2064.md ("z_int", "z_agen"): Ensure the condition matches no insns already matched by other reservations. * config/s390/2084.md ("x_int", "x_agen"): Ensure the condition matches no insns already matched by other reservations. ("x_ss"): Remove, replace by ... ("x_cs"): ... this new reservation. Check type instead of op_type. Update bypasses to use x_cs instead of x_ss. ("x_nn"): Remove, replace by ... ("x_other"): ... this new reservation. Check type instead of op_type. Add x_other and x_branch to bypasses. ("x_vs"): New reservation. * config/s390/s390.md (attribute "type"): Default according to op_type. ("*execute"): Set type to "cs". From-SVN: r90190
2004-11-06* g++.dg/opt/nothrow1.C: Use -42 instead of 42.Eric Botcazou2-2/+6
From-SVN: r90189
2004-11-06generate-random.c (generate_random_data unsafe_state): Do not use C99 ↵Eric Botcazou2-7/+12
designators. * gcc.dg/compat/generate-random.c (generate_random_data unsafe_state): Do not use C99 designators. From-SVN: r90188
2004-11-06fold-const.c (non_lvalue): Don't construct NON_LVALUE_EXPR if we are in GIMPLE.Kazu Hirata2-0/+10
* fold-const.c (non_lvalue): Don't construct NON_LVALUE_EXPR if we are in GIMPLE. From-SVN: r90187