Age | Commit message (Collapse) | Author | Files | Lines |
|
* 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
|
|
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
|
|
From-SVN: r90336
|
|
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
|
|
From-SVN: r90325
|
|
From-SVN: r90324
|
|
[[Split portion of a mixed commit.]]
From-SVN: r90321.2
|
|
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
|
|
* tree-inline.c (remap_save_expr): Make it static.
* tree-inline.h: Remove the corresponding prototype.
From-SVN: r90313
|
|
* 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
|
|
* tree-ssa-live.c (tpa_init, pop_best_coalesce): Make them
static.
* tree-ssa-live.h: Remove the corresponding prototypes.
From-SVN: r90311
|
|
* tree-if-conv.c (tree_if_conversion): Make it static.
* tree-flow.h: Remove the corresponding prototype.
From-SVN: r90310
|
|
* tree-ssa-operands.c (build_ssa_operands): Make it static.
* tree-flow.h: Remove the corresponding prototype.
From-SVN: r90308
|
|
* 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
|
|
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
|
|
* testsuite/gcc.dg/20030225-2.c: Add prototype for abort and
exit.
From-SVN: r90297
|
|
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
|
|
* 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
|
|
a page.
* expmed.c (extract_force_align_mem_bit_field): Correct handling at
the end of a page.
From-SVN: r90288
|
|
* sched-deps.c (add_insn_mem_dependence): Make it static.
* sched-int.h: Remove the corresponding prototypes.
From-SVN: r90283
|
|
* flow.c (allocate_bb_life_data): Make it static.
* basic-block.h: Remove the corresponding prototype.
From-SVN: r90282
|
|
* calls.c (split_complex_values, split_complex_types): Make
them static.
* expr.h: Remove the corresponding prototypes.
From-SVN: r90281
|
|
From-SVN: r90280
|
|
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
|
|
TARGET_DLLIMPORT_DECL_ATTRIBUTES.
* arm.c (arm_handle_notshared_attribute): Wrap declaration and use
with #if TARGET_DLLIMPORT_DECL_ATTRIBUTES.
From-SVN: r90272
|
|
always trigger.
* tree-if-conv.c (tree_if_convert_cond_expr): Remove two "if"
statements that always trigger.
From-SVN: r90267
|
|
* 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
|
|
* 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-08 Andrew Pinski <pinskia@physics.uc.edu>
* decl.c (end_java_method): Remove duplicated code.
From-SVN: r90264
|
|
From-SVN: r90263
|
|
* 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
|
|
* 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-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
|
|
[[Split portion of a mixed commit.]]
From-SVN: r90248.2
|
|
From-SVN: r90241
|
|
From-SVN: r90221
|
|
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
|
|
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
|
|
[[Split portion of a mixed commit.]]
From-SVN: r90212.2
|
|
* 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
|
|
From-SVN: r90197
|
|
PR target/16830
* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Don't define the
R3000 and R4000 macros on IRIX.
From-SVN: r90195
|
|
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
|
|
* 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
|
|
From-SVN: r90192
|
|
From-SVN: r90191
|
|
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
|
|
From-SVN: r90189
|
|
designators.
* gcc.dg/compat/generate-random.c (generate_random_data unsafe_state):
Do not use C99 designators.
From-SVN: r90188
|
|
* fold-const.c (non_lvalue): Don't construct NON_LVALUE_EXPR
if we are in GIMPLE.
From-SVN: r90187
|