Age | Commit message (Collapse) | Author | Files | Lines |
|
From-SVN: r89095
|
|
From-SVN: r89094
|
|
2004-10-13 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/16301
* name-lookup.c (parse_using_directive): If we have a
error_mark_node, do not set the decl namespace associations
on it.
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/16301
* g++.dg/lookup/strong-using-4.C: New test.
From-SVN: r89093
|
|
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/16567
* gcc.c-torture/compile/nested-1.c: New test.
From-SVN: r89092
|
|
* testsuite/gcc.dg/vect/vect-44.c: xfail on i?86-*-*, x86_64-*-*,
and mipsisa64*-*-* (until support for misaligned loads is added).
* testsuite/gcc.dg/vect/vect-50.c: Likewise.
* testsuite/gcc.dg/vect/vect-52.c: Likewise.
* testsuite/gcc.dg/vect/vect-54.c: Likewise.
* testsuite/gcc.dg/vect/vect-58.c: Likewise.
* testsuite/gcc.dg/vect/vect-60.c: Likewise.
* testsuite/gcc.dg/vect/vect-80.c: Likewise.
From-SVN: r89088
|
|
* tree-optimize.c (execute_one_pass): Stop timer right after
executing the pass.
From-SVN: r89086
|
|
PR c++/17976
* decl.c (cp_finish_decl): Do not call expand_static_init more
than once for a single variable.
PR c++/17976
* g++.dg/init/dtor3.C: New test.
From-SVN: r89081
|
|
(remove_useless_stmts is considered part of expand))
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
Revert:
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17967
Revert:
* tree-cfg.c (remove_usless_stmts_cond): Fold statement.
(remove_useless_stmts_1): Fold trees we know how to fold.
From-SVN: r89080
|
|
* configure.ac: Add .machine power4 directive when testing for
mfcr field.
* configure: Regenerate.
From-SVN: r89076
|
|
From-SVN: r89075
|
|
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
* tree-vectorizer.c (vect_transform_loop): Declare vectorization_factor
always.
From-SVN: r89074
|
|
[[Split portion of a mixed commit.]]
From-SVN: r89071.2
|
|
From-SVN: r89068
|
|
* config/rs6000/rs6000.h (REG_CLASS_FROM_LETTER): Return NO_REGS
for 'f' if !TARGET_FPRS.
From-SVN: r89067
|
|
PR debug/14492
* dwarf2out.c (loc_descriptor_from_tree): Handle FIX_*_EXPR.
From-SVN: r89066
|
|
PR c/17023
* c-decl.c (store_parm_decls_oldstyle): Care for parameter type
as error_mark_node.
* c-parse.in (compstmt_primary_start): Check cur_stmt_list non-null
instaed of current_function_decl non-null.
From-SVN: r89063
|
|
* pointer-set.c: New file, special-purpose hash table.
* pointer-set.h: New file.
* tree.h (struct pointer_set_t): Declare as opaque type.
(tree_walk): Last argument is pointer_set_t* now.
* tree-inline.c (WALK_SUBTREE): Convert from htab to pset.
(walk_type_fields):
(walk_tree): Convert from htab_t to pointer_set_t for keeping
track of which nodes have already been visited.
(walk_tree_without_duplicates): Convert from htab_t to pointer_set_t.
* cgraphunit.c (cgraph_create_edges): Likewise.
(cgraph_characterize_statics_local): Likewise.
* tree-dfa.c (collect_dfa_stats): Likewise.
* langhooks-def.h (lhd_tree_inlining_walk_subtrees): Last arg is
pointer_set_t* now.
* langhooks.c (lhd_tree_inlining_walk_subtrees): Likewise.
* langhooks.h (struct lang_hooks_for_tree_inlining): Last arg type
of walk_subtrees is pointer_set_t* now.
* Makefile.in (OBJS-common): add pointer-set.o
(tree-inline.o): Depends on pointer-set.h
(tree-dfa.o): Likewise
(cgraphunit.o): Likewise
* cp/Make-lang.in (pt.o): depends on pointer-set.h
* cp/cp-tree.h (cp_walk_subtrees): Last argument is pointer_set_t* now.
* cp/pt.c (struct pair_fn_data): Use pointer_set_t, not htab_t
(for_each_template_parm): Convert from htab_t to pointer_set_t.
* cp/tree.c (cp_walk_subtrees): Last argument is pointer_set_t* now.
* java/lang.c (java_tree_inlining_walk_subtrees): Last arg is struct
pointer_set_t* now.
From-SVN: r89062
|
|
2004-10-14 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/darwin.h (ASM_SPEC): Delete.
(TARGET_ASM_FILE_START): Define.
* config/darwin.h (ASM_SPEC): Define.
* config/rs6000/t-darwin (TARGET_LIBGCC2_CFLAGS): Don't supply
-mlong-double-128, it's the default. Update comment about reason
for force_cpusubtype_ALL.
* config/rs6000/darwin-vecsave.asm: Supply .machine.
* config/rs6000/darwin-world.asm: Likewise.
* config/rs6000/rs6000.c (rs6000_darwin_file_start): New.
(symbolic_operand): Delete #if 0ed code.
Index: testsuite/ChangeLog
2004-10-14 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/darwin-misaligned.c: Don't supply -force_cpusubtype_ALL.
* gcc.dg/macho-lo-sum.c: Likewise.
From-SVN: r89059
|
|
calling tree_int_cst_compare.
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
* stmt.c (add_case_node): Make sure that we have integer
constant before calling tree_int_cst_compare.
From-SVN: r89058
|
|
is considered part of expand))
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17967
Revert:
* tree-cfg.c (remove_usless_stmts_cond): Fold statement.
(remove_useless_stmts_1): Fold trees we know how to fold.
From-SVN: r89057
|
|
* config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS),
config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Disallow
-m64.
testsuite:
* gcc.dg/ppc-spe64-1.c: New test.
From-SVN: r89048
|
|
* reload.c (find_reloads): When reloading a PLUS with constant
operand, make sure the constant is pushed to the constant pool
if required.
* config/s390/s390.c (s390_secondary_input_reload_class): Remove
reload bug workaround.
(s390_expand_plus_operand): Likewise.
From-SVN: r89047
|
|
for -fprofile-generate/use.
* opts.c (common_handle_option): Do not enable
flag_speculative_prefetching for -fprofile-generate/use.
From-SVN: r89046
|
|
* tree-if-conv.c (process_phi_nodes): Process latch block.
(combine_blocks): Process latch block and update loop structure.
* gcc.dg/pr17635.c : New test.
From-SVN: r89045
|
|
* tree-vectorizer.c (vect_generate_tmps_on_preheader):
(vect_update_ivs_after_vectorizer):
(vect_transform_for_unknown_loop_bound):
(tree_duplicate_loop_to_edge):
(allocate_new_names):
(rename_use_op):
(rename_def_op):
(rename_variables_in_bb):
(free_new_names):
(rename_variables_in_loop):
(copy_phi_nodes):
(update_phis_for_duplicate_loop):
(update_phi_nodes_for_guard):
(make_loop_iterate_ntimes):
(tree_duplicate_loop_to_edge_cfg):
(add_loop_guard):
(vect_analyze_loop_with_symbolic_num_of_iters):
(verify_loop_for_duplication):
(vect_gen_niters_for_prolog_loop):
(vect_update_niters_after_peeling):
(vect_update_inits_of_dr):
(vect_update_inits_of_drs):
(vect_build_loop_niters):
(vect_do_peeling_for_alignment): New functions.
(vect_transform_loop): Add unknown and known but indivisible loop
bound support; add peeling for unalignment support.
(vect_analyze_loop_form): Support symbolic number of iterations.
(vect_transform_loop_bound): New input parameter.
(vect_get_loop_niters): Change input parameter type.
(new_loop_vec_info): LOOP_VINFO_NITERS is tree now.
(vectorizable_store): Allow unaligned access.
(vectorize_loops): Add rewrite_into_loop_closed_ssa.
(vect_analyze_data_refs_alignment): Allowed one unaligned
store.
* tree-vectorizer.h (LOOP_VINFO_NITERS_KNOWN_P): Redefined
to use tree.
(LOOP_VINFO_INT_NITERS): New macro.
(MAX_NUMBER_OF_UNALIGNED_DATA_REFS): New define.
(do_peeling_for_alignment):
(unaligned_drs): New members of _loop_vec_info.
(LOOP_DO_PEELING_FOR_ALIGNMENT): New macro.
From-SVN: r89040
|
|
* tree.h (TREE_STRING_POINTER): Wrap in "const char *".
(struct tree_string): Remove "const" qualifier for "str".
From-SVN: r89039
|
|
vect_get_base_and_bit_offset to get memory tag for array ref.
2004-10-14 Ira Rosen <irar@il.ibm.com>
* tree-vectorizer.c (vect_analyze_data_refs): Call
vect_get_base_and_bit_offset to get memory tag for array ref.
(vect_create_addr_base_for_vector_ref): Remove redundant checks.
From-SVN: r89038
|
|
* configure.ac: Use $LN_S for creating symlinks (not $LN).
* configure: Regenerate.
From-SVN: r89036
|
|
spurious testsuite failures.
* doc/install.texi (*-*-solaris2*): Update with info about kernel
patches to solve spurious testsuite failures.
From-SVN: r89033
|
|
* tree-vectorizer.c (get_vectype_for_scalar_type): Added debug prinouts.
Added check that vectype is VECTOR_MODE_P, instead of check for BLKmode.
(vect_analyze_operations): Make sure the vectorization factor > 1. Add
gcc_assert under ENABLE_CHECKING.
(vectorizable_operation): Remove check for VECTOR_MODE_P (moved to
get_vectype_for_scalar_type).
(vect_get_vec_def_for_operand): Remove redundant variables.
(vect_transform_loop): Likewise.
From-SVN: r89032
|
|
-mcaller-super-interworking.
* config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Make r11 fixed and
global for -mcaller-super-interworking.
(CALLER_INTERWORKING_SLOT_SIZE): New macro.
* config/arm/arm.c (thumb_compute_save_reg_mask): Save r11 if
CALLER_INTERWORKING_SLOT_SIZE is nonzero and the function does
not need a frame pointer.
(arm_get_frame_offsets): Add CALLER_INTERWORKING_SLOT_SIZE bytes to
the soft frame pointer offset.
(thumb_expand_prologue): Set up r11 for -mcaller-super-interworking.
* config/arm/arm.md (*call_reg_thumb, *call_value_reg_thumb): Use
_interwork_{r7,r11}_call_via_rN if some arguments are passed on
the stack. Use frame_pointer_needed to choose between them.
* config/arm/lib1funcs.asm (_arm_return_{r7,r11}): New functions.
(interwork_with_frame): New macro.
(interwork): Add _interwork_{r7,r11}_call_via_rN().
From-SVN: r89031
|
|
PR other/17900
* diagnostic.c (trim_filename): Fix logic bug in walking backwards
up the filename looking for a previous directory separator.
From-SVN: r89029
|
|
libcpp:
* errors.c (_cpp_begin_message): Print "error: " for errors.
gcc/testsuite:
* gcc.dg/cpp/error-1.c: New test.
From-SVN: r89025
|
|
* c-tree.h (enum c_typespec_kind, struct c_typespec,
parser_xref_tag): New.
(struct c_declspecs): Add tag_defined_p. Adjust definition of
typedef_p.
(declspecs_add_type): Adjust prototypes.
* c-parse.in (%union): Add tstype.
(typespec_nonattr, typespec_attr, typespec_reserved_nonattr,
typespec_reserved_attr, typespec_nonreserved_nonattr,
structsp_attr, structsp_nonattr): Change to tstype. Update
actions.
* c-decl.c (build_null_declspecs): Initialize tag_defined_p.
(declspecs_add_type): Update to take struct c_typespec argument.
Set tag_defined_p and typedef_p as appropriate.
(xref_tag): Rename to parser_xref_tag and replace by wrapper.
Update to return struct c_typespec.
(shadow_tag_warned): Don't let empty declarations with qualifiers
or storage class specifiers redeclare a tag if a previous
declaration is visible.
testsuite:
* gcc.dg/c99-tag-3.c, gcc.dg/declspec-14.c: New tests.
From-SVN: r89021
|
|
[[Split portion of a mixed commit.]]
From-SVN: r89018.2
|
|
arguments to a function that uses "register" qualifiers)
PR debug/15860
* dwarf2out.c (rtl_for_decl_location): Apply big-endian correction
for DECL_INCOMING_RTL.
From-SVN: r89012
|
|
PR target/17984
* config/cris/cris.md (asrandb, asrandw, lsrandb, lsrandw): Apply
trunc_int_for_mode for constants used in shortened mode.
From-SVN: r89011
|
|
PR target/17984
* gcc.dg/cris-peep2-xsrand2.c: New test.
From-SVN: r89010
|
|
PR c/17384
* c-common.c (handle_mode_attribute): Disallow mode changes that
alter the CODE of the top-level type.
* crtstuff.c (__FRAME_END__): Remove mode attribute. Find 32-bit
integer from internal limits macros.
* config/i386/mm3dnow.h (__v2sf): Fix base type.
From-SVN: r89009
|
|
PR debug/13841
* function.c (instantiate_decl): Recurse for CONCAT.
From-SVN: r89007
|
|
(extzvdi_internal2): Same.
From-SVN: r89004
|
|
* trans-decl.c (generate_local_decl): Simplify logic, fix comment
typo.
(gfc_generate_function_code): Fix formatting issue.
From-SVN: r89003
|
|
* config/rs6000/rs6000.md (andsi3): Add attribute "compare" for
andi./andis.
(anddi3): Same.
From-SVN: r89002
|
|
From-SVN: r89001
|
|
2004-10-13 Dale Johannesen <dalej@apple.com>
* doc/extend.texi (Extended Asm): Rewrite asm volatile description.
From-SVN: r88999
|
|
2004-10-13 Frank Ch. Eigler <fche@redhat.com>
* toplev.c (compile_file): Call mudflap_finish_file from here ...
* c-decl.c (c_write_global_declarations): ... instead of here ...
* cp/decl.c (cp_finish_file): ... and here.
* tree-mudflap.c (mudflap_enqueue_decl): Reword a warning message.
From-SVN: r88995
|
|
2004-10-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-ssa-dom.c (record_range): Free the element if we are not
going to use it.
From-SVN: r88994
|
|
2004-10-13 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/17661
* testsuite/g++.dg/expr/for2.C: New test.
2004-10-13 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/17661
* semantics.c (finish_for_expr): Convert expression to void
so that we don't create temporaries for a?b:c.
From-SVN: r88992
|
|
PR java/15578:
* lang.opt (--extdirs): Document.
* jvspec.c (lang_specific_driver): Recognize -encoding and
-extdirs.
From-SVN: r88991
|
|
PR java/15578:
* gcc.c (option_map): Added --extdirs and --encoding.
From-SVN: r88990
|