- 14 Oct, 2004 3 commits
-
-
* 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
Joseph Myers committed -
[[Split portion of a mixed commit.]] From-SVN: r89019.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r89018.2
GCC Administrator committed
-
- 13 Oct, 2004 34 commits
-
-
re PR debug/15860 (No DW_AT_location debug info is emitted for formal 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
Richard Henderson committed -
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
Hans-Peter Nilsson committed -
PR target/17984 * gcc.dg/cris-peep2-xsrand2.c: New test. From-SVN: r89010
Hans-Peter Nilsson committed -
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
Richard Henderson committed -
PR debug/13841 * function.c (instantiate_decl): Recurse for CONCAT. From-SVN: r89007
Richard Henderson committed -
(extzvdi_internal2): Same. From-SVN: r89004
David Edelsohn committed -
* trans-decl.c (generate_local_decl): Simplify logic, fix comment typo. (gfc_generate_function_code): Fix formatting issue. From-SVN: r89003
Tobias Schlüter committed -
* config/rs6000/rs6000.md (andsi3): Add attribute "compare" for andi./andis. (anddi3): Same. From-SVN: r89002
David Edelsohn committed -
From-SVN: r89001
Tom Tromey committed -
2004-10-13 Dale Johannesen <dalej@apple.com> * doc/extend.texi (Extended Asm): Rewrite asm volatile description. From-SVN: r88999
Dale Johannesen committed -
2004-10-12 Frank Ch. Eigler <fche@redhat.com> * configure.ac: Check for more headers, functions. * mf-hooks2.c (mkbuffer, unmkbuffer): New helper functions for tracking overridden FILE buffers. (fopen, setvbuf): New/revised hook functions for buffer overriding. (setbuf,setlinebuf,fdopen,freopen,fopen64,freopen64,fclose): Ditto. (fflush): Accept given NULL stream (means "all streams"). * mf-runtime.h.in: * mf-runtime.c (__mfu_check): Accept accesses that span adjacent HEAP/GUESS objects. (LOOKUP_CACHE_SIZE_MAX): Raise to 64K entries tentatively. (__mf_adapt_cache): Use them all. * testsuite/libmudflap.c/pass35-frag.c: Update warning message. * testsuite/libmudflap.c++/ctors.exp: Ditto. * testsuite/libmudflap.c/{pass51,pass52}-frag.c: New tests. * configure, config.h.in: Regenerated. From-SVN: r88996
Frank Ch. Eigler committed -
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
Frank Ch. Eigler committed -
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
Andrew Pinski committed -
* Makefile.am: Add m32r support. * configure.ac: Likewise. * Makefile.in: Regenerate. * confiugre: Regenerate. * src/types.c: Add m32r port to FFI_INTERNAL_TYPEDEF (uint64, sint64, double, longdouble) * src/m32r: New directory. * src/m32r/ffi.c: New file. * src/m32r/sysv.S: Likewise. * src/m32r/ffitarget.h: Likewise. From-SVN: r88993
Kazuhiro Inaoka committed -
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
Andrew Pinski committed -
PR java/15578: * lang.opt (--extdirs): Document. * jvspec.c (lang_specific_driver): Recognize -encoding and -extdirs. From-SVN: r88991
Tom Tromey committed -
PR java/15578: * gcc.c (option_map): Added --extdirs and --encoding. From-SVN: r88990
Tom Tromey committed -
From-SVN: r88986
Eric Botcazou committed -
PR target/14454 * config/sparc/sparc.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Set to sparc_can_output_mi_thunk. (sparc_output_mi_thunk): Simplify handling of delta offset. Add handling of vcall offset. (sparc_can_output_mi_thunk): New predicate. * doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Document VCALL_OFFSET. (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Delete. (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New target hook. * config/sparc/sparc.c (emit_and_preserve): Preserve stack alignment. * config/sparc/sparc.md (movdi): Remove redundant test. From-SVN: r88985
Eric Botcazou committed -
2004-10-13 Paolo Bonzini <bonzini@gnu.org> * tree-dump.c (dump_options): Remove TDF_TREE, TDF_RTL, TDF_IPA from -fdump-tree-*-all. From-SVN: r88984
Paolo Bonzini committed -
* config/arm/arm-protos.h (arm_load_pic_register): Update prototype. * config/arm/arm.c (thumb_find_work_register): Update comments. (arm_load_pic_register): Add argument for scratch register. (arm_expand_prologue, thumb_expand_prologue): Pass extra argument. * config/arm/arm.md (builtin_setjmp_receiver): Ditto. From-SVN: r88982
Paul Brook committed -
From-SVN: r88981
Kazu Hirata committed -
From-SVN: r88980
Kazu Hirata committed -
PR tree-optimization/17724 * tree-cfg.c (tree_purge_dead_eh_edges): Free dominance info. * g++.dg/opt/pr17724-1.C: New test. * g++.dg/opt/pr17724-2.C: New test. * g++.dg/opt/pr17724-3.C: New test. * g++.dg/opt/pr17724-4.C: New test. * g++.dg/opt/pr17724-5.C: New test. * g++.dg/opt/pr17724-6.C: New test. Co-Authored-By: Zdenek Dvorak <dvorakz@suse.cz> From-SVN: r88979
Jakub Jelinek committed -
2004-10-13 Dorit Naishlos <dorit@il.ibm.com> * rs6000.c (altivec_builtin_mask_for_load): Made static GTY(()). (altivec_builtin_mask_for_store): Likewise. (altivec_init_builtins): Use lang_hooks.builtin_function to create the decls for builtin_altivec_mask_for_load/store. From-SVN: r88978
Dorit Naishlos committed -
From-SVN: r88977
Nick Clifton committed -
From-SVN: r88976
Kazuhiro Inaoka committed -
2004-10-13 Paolo Carlini <pcarlini@suse.de> * include/bits/basic_string.tcc (_S_create): Use consistently the exponential policy, simplify. * testsuite/performance/21_strings/string_append_2.cc: New. * include/ext/array_allocator.h (allocate): Fix bad_alloc check. * testsuite/ext/array_allocator/2.cc: Fix wrt 64-bit archs (in that case sizeof(_Rep) == 24). From-SVN: r88972
Paolo Carlini committed -
* basic-block.h (edge_iterator): Keep the address of VEC(edge) *. (ei_container): New; renamed. (ei_start, ei_last): New macros. (ei_start_1, ei_last_1): Renamed from ei_start. (ei_last_1, ei_end_p): Use ei_container() where applicable. (ei_one_before_end_p, ei_next, ei_edge): Likewise. * gcse.c (remove_reachable_equiv_notes): Use ei_container(). From-SVN: r88966
Ben Elliston committed -
2004-10-11 Sebastian Pop <pop@cri.ensmp.fr> * Makefile.in (tree-ssa-loop-niter.o): Depends on tree-data-ref.h. * cfgloop.c (initialize_loops_parallel_p): New. (flow_loops_find): Initialize the parallel_p field to true for all the loops. * tree-ssa-loop-niter.c: Include "tree-data-ref.h". (estimate_numbers_of_iterations_loop): Infers the loop bounds from the size of the data accessed in the loop. (struct nb_iter_bound): Moved... * cfgloop.h (struct nb_iter_bound): ... here. (estimated_nb_iterations, parallel_p): New fields in struct loop. (record_estimate): Declare extern here. * tree-chrec.c: Fix comments. (nb_vars_in_chrec): New function. * tree-chrec.h (nb_vars_in_chrec): Declared here. * tree-data-ref.c: Don't include lambda.h, that is already included in tree-data-ref.h. (tree_fold_divides_p): Don't check for integer_onep. (tree_fold_bezout): Removed. (gcd): New static duplicated function. (int_divides_p, dump_subscript): New. (dump_data_dependence_relation): Use dump_subscript. (dump_dist_dir_vectors, dump_ddrs, compute_estimated_nb_iterations, estimate_niter_from_size_of_data): New. (analyze_array_indexes, analyze_array): Call estimate_niter_from_size_of_data during the detection of array references. Pass in a pointer to the statement that contains the array reference. (all_chrecs_equal_p): New. (compute_distance_vector): Renamed compute_subscript_distance. Deal with multivariate conflict functions. (initialize_data_dependence_relation): Initialize DDR_AFFINE_P, DDR_SIZE_VECT, DDR_DIST_VECT, and DDR_DIR_VECT. (non_affine_dependence_relation): New. (analyze_ziv_subscript, analyze_siv_subscript_cst_affine, analyze_siv_subscript, analyze_miv_subscript, analyze_overlapping_iterations, subscript_dependence_tester): Initialize and return last_conflicts function. (initialize_matrix_A, FLOOR, compute_overlap_steps_for_affine_univar, compute_overlap_steps_for_affine_1_2): New. (analyze_siv_subscript_affine_cst): Removed. (analyze_subscript_affine_affine): Disprove dependences based on the iteration domains. Solve the univariate dependence case as before, but use lambda_matrix_right_hermite instead of tree_fold_bezout. Implement the multivariate case of 2 versus 1 variables. (build_classic_dist_vector, build_classic_dir_vector): Implement some unhandled cases. (find_data_references_in_loop): Compute and initialize loop->estimated_nb_iterations and loop->parallel_p. (analyze_all_data_dependences): Modify the debug dump order. * tree-data-ref.h (SUB_LAST_CONFLICT_IN_A, SUB_LAST_CONFLICT_IN_B, subscript->last_conflict_in_a, subscript->last_conflict_in_b): Removed. (SUB_LAST_CONFLICT, subscript->last_conflict, data_dependence_relation->affine_p, data_dependence_relation->size_vect, DDR_AFFINE_P, DDR_SIZE_VECT): New. (find_data_references_in_loop, initialize_data_dependence_relation, dump_subscript, dump_ddrs, dump_dist_dir_vectors): Declared here. From-SVN: r88965
Sebastian Pop committed -
2004-10-12 Kelley Cook <kcook@gcc.gnu.org> * configure: Regenerate. From-SVN: r88962
Kelley Cook committed -
[[Split portion of a mixed commit.]] From-SVN: r88960.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r88958.2
GCC Administrator committed -
2004-10-12 Paolo Carlini <pcarlini@suse.de> PR libstdc++/17948 * include/bits/stl_tree.h (erase(iterator, iterator)): Revert wrong commit of 2004-10-07. 2004-10-12 Scott Snyder <snyder@fnal.gov> PR libstdc++/17948 * testsuite/23_containers/set/modifiers/17948.cc: New. From-SVN: r88956
Paolo Carlini committed
-
- 12 Oct, 2004 3 commits
-
-
2004-10-12 Kelley Cook <kcook@gcc.gnu.org> * configure.in (*-*-cygwin*): Supress warning if newlib not present. * configure: Regenerate. From-SVN: r88954
Kelley Cook committed -
From-SVN: r88951
Fariborz Jahanian committed -
PR 17892. OKed by Roger Sayle. From-SVN: r88950
Fariborz Jahanian committed
-