- Dec 09, 2004
-
-
Paolo Carlini authored
2004-12-09 Paolo Carlini <pcarlini@suse.de> * include/tr1/type_traits: Implement remove_extent and remove_all_extents. * testsuite/tr1/4_metaprogramming/array_modifications/ remove_all_extents.cc: New. * testsuite/tr1/4_metaprogramming/array_modifications/ remove_extent.cc: Likewise. From-SVN: r91958
-
Richard Henderson authored
PR target/17025 * config/i386/i386.md (testqi_1_maybe_si, andqi_2_maybe_si): New. (test_qi_1, andqi_2): Do not promote to simode. From-SVN: r91956
-
David Edelsohn authored
PR bootstrap/18895 Revert 2004-12-07 change. * Makefile.am (AM_MAKEFLAGS): Delete. * Makefile.in: Regenerate. From-SVN: r91955
-
Andrew Pinski authored
2004-12-09 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/18904 * g++.dg/opt/ptrmem5.C: New test. 2004-12-09 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/18904 * tree-chrec.c (chrec_convert): Use fold_convert instead of convert. From-SVN: r91954
-
Matt Rice authored
2004-12-09 Matt Rice <ratmice@yahoo.com> PR preprocessor/18102 * c-incpath.c (remove_duplicates): Check for construct equality. From-SVN: r91953
-
Alexandre Oliva authored
gcc/cp/ChangeLog: PR c++/18757 * parser.c (cp_parser_template_id): Don't create a CPP_TEMPLATE_ID if parsing failed. gcc/testsuite/ChangeLog: * g++.dg/parse/typename5.C: Adjust for new error. * g++.dg/parse/typename7.C: New. From-SVN: r91935
-
Dorit Naishlos authored
2004-12-09 Dorit Naishlos <dorit@il.ibm.com> * genopinit.c (vec_realign_store_optab): Initialization removed. * optabs.c (optab_for_tree_code): REALIGN_STORE_EXPR case removed. * optabs.h (optab_index): OTI_vec_realign_store Removed. (vec_realign_store_optab): Removed. * target-def.h (TARGET_VECTORIZE_BUILTIN_MASK_FOR_STORE): Removed. * target.h (builtin_mask_for_store): Removed. * tree.def (REALIGN_STORE_EXPR): Removed. * config/rs6000/rs6000.c (rs6000_builtin_mask_for_store): Removed. (altivec_builtin_mask_for_store): Removed. (altivec_init_builtins): Removed initialization of altivec_builtin_mask_for_store. * doc/tm.texi (TARGET_VECTORIZE_MISALIGNED_MEM_OK): New. (TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD): New. From-SVN: r91932
-
Nathan Sidwell authored
* tree.def (SET_TYPE): Remove. (CONSTRUCTOR): Update description. * builtins.c (type_to_class) Remove SET_TYPE case. * dbxout.c (dbxout_type): Likewise. * dwarf2out.c (is_base_type): Likewise. (gen_set_type_die): Remove. (gen_type_die): Remove SET_TYPE case. * expr.c (count_type_elements): Likewise. (mostly_zeroes_p): Likewise. (store_constructor): Likewise. * print_tree.c (print_node): Likewise. * stor-layout.c (layout_type): Likewise. * tree-browser.c (browse_tree): Likewise. * tree-inline.c (remap_type): Likewise. * tree-pretty-print.c (dump_generic_node): Likewise. * tree.c (type_contains_plaeholder_1, type_hash_eq, variably_modified_type_p, initializer_zerop): Likewise. * tree.h (SET_OR_ARRAY_CHECK): Remove. (AGGREGATE_TYPE_P): Remove SET_TYPE check. (TYPE_DOMAIN): Use ARRAY_TYPE_CHECK. * typeclass.h (enum type_class): Remove set_type_class. * varasm.c (const_hash_1): Remove SET_TYPE case. (compare_constant, copy_constant, output_constant): Likewise. * config/i386/i386.c (classify_argument): Likewise. * config/ia64/ia64.c (hfa_element_mode): Likewise. * config/sparc/sparc.c (sparc_type_code): Likewise. * ada/decl.c (gnat_substitute_in_type): Remove SET_TYPE case. From-SVN: r91931
-
Nathan Sidwell authored
PR c++/16681 * tree-inline.c (estimate_num_insns_1): Add RANGE_EXPR case. From-SVN: r91930
-
Volker Reichelt authored
PR c++/18073 * typeck.c (build_reinterpret_cast_1): Allow cast from vector type. * g++.dg/other/mmintrin.C: New test. From-SVN: r91929
-
Nathan Sidwell authored
cp: PR c++/16681 * init.c (build_zero_init): Build a RANGE_EXPR for an array initializer. testsuite: PR c++/16681 * g++.dg/init/array15.C: New. * g++.dg/init/array16.C: New. From-SVN: r91928
-
Richard Henderson authored
From-SVN: r91927
-
Kelley Cook authored
2004-12-08 Kelley Cook <kcook@gcc.gnu.org> * Makefile.am: Add ../config to ACLOCAL_AMFLAGS. * aclocal.m4, Makefile.in, testsuite/Makefile.in: Regenerate. From-SVN: r91926
-
Eric Christopher authored
2004-12-08 Eric Christopher <echristo@redhat.com> * config/mips/mips.c (mips_scalar_mode_supported_p): Rewrite to avoid call to default function. From-SVN: r91925
-
GCC Administrator authored
From-SVN: r91923
-
- Dec 08, 2004
-
-
Kelley Cook authored
2004-12-08 Kelley Cook <kcook@gcc.gnu.org> * typeck.c: Remove DOS line endings. From-SVN: r91919
-
Richard Henderson authored
* intrinsic.c (gfc_convert_type_warn): Propagate the input shape to the output expression. * iresolve.c (gfc_resolve_cshift, gfc_resolve_eoshift): Suppress warning conversion. (gfc_resolve_reshape): Force convert SHAPE and ORDER parameters to index kind. From-SVN: r91917
-
David Edelsohn authored
* Makefile.def (flags_to_pass): Add PICFLAG_FOR_TARGET. * Makefile.tpl (EXTRA_HOST_FLAGS): Add PICFLAG. (EXTRA_TARGET_FLAGS): Add PICFLAG. * Makefile.in: Regenerate. From-SVN: r91916
-
Zack Weinberg authored
PR 17982 * varasm.c (pending_assemble_externals): New static. (assemble_external_real): Meat of assemble_external split out to this new function. (process_pending_assemble_externals): New function. (assemble_external): Use gcc_assert. If flag_unit_at_a_time is true and the basic test passes, merely cons the decl onto the pending list to be handled later. * tree.h: Declare process_pending_assemble_externals. * cgraphunit.c (cgraph_optimize): Call it. * config/h8300/h8300.h: Do not define ASM_OUTPUT_EXTERNAL. From-SVN: r91914
-
Kazu Hirata authored
* cfgloopmanip.c (create_preheader): Speed up by "unrolling" and simplifying FOR_EACH_EDGE. From-SVN: r91913
-
Paolo Carlini authored
2004-12-08 Paolo Carlini <pcarlini@suse.de> * include/tr1/type_traits: Implement is_same, add_reference and remove_reference. * testsuite/testsuite_tr1.h (test_relationship): New. * testsuite/tr1/4_metaprogramming/reference_modifications/ add_reference.cc: New. * testsuite/tr1/4_metaprogramming/reference_modifications/ remove_reference.cc: Likewise. * testsuite/tr1/4_metaprogramming/relationships_between_types/ is_same/is_same.cc: Likewise. * testsuite/tr1/4_metaprogramming/relationships_between_types/ is_same/typedefs.cc: Likewise. * testsuite/tr1/4_metaprogramming/type_properties/is_const/ is_const.cc: Minor tweaks. * testsuite/tr1/4_metaprogramming/type_properties/is_volatile/ is_volatile.cc: Likewise. From-SVN: r91907
-
Christopher Faylor authored
From-SVN: r91906
-
David Edelsohn authored
* Makefile.am (AM_MAKEFLAGS): Remove duplicate LIBCFLAGS and PICFLAG. * Makefile.in: Regenerated. From-SVN: r91905
-
David Edelsohn authored
From-SVN: r91904
-
David Edelsohn authored
* Makefile.am (LIBCFLAGS): Remove duplicate. (PICFLAG): Remove duplicate. * Makefile.in: Regenerated. From-SVN: r91903
-
Tobias Schlüter authored
fortran/ PR fortran/18826 * resolve.c (resolve_code): Impose correct restrictions on assigned variable. testsuite/ PR fortran/18826 * gfortran.dg/assign_1.f90: New test. From-SVN: r91902
-
Andrew Haley authored
2004-12-07 Andrew Haley <aph@redhat.com> PR java/18811: * jcf-parse.c (load_class): Remove sanity test for missing inner class file. From-SVN: r91901
-
Andrew Haley authored
2004-12-07 Andrew Haley <aph@redhat.com> * jcf-parse.c (load_class): Remove sanity test for missing inner class file. From-SVN: r91900
-
Tobias Schlüter authored
From-SVN: r91899
-
Tobias Schlüter authored
fortran/ * resolve.c (resolve_code): Impose correct restrictions on assigned variable. testsuite/ * gfortran.dg/assign_1.f90: New test. From-SVN: r91898
-
Arnaud Charlet authored
From-SVN: r91897
-
Arnaud Charlet authored
g-socket.ads (Get_Host_By_Address, [...]): Clarify documentation of the behaviour of these functions when... * g-socket.ads (Get_Host_By_Address, Get_Host_By_Name): Clarify documentation of the behaviour of these functions when passed an IP address that has no record in the system hosts database and no reverse record in the DNS. * cstand.adb, a-tags.ads: Fix typos in comment. * exp_ch2.adb, exp_ch3.adb, exp_ch5.adb, exp_ch8.adb, exp_ch9.adb, exp_pakd.adb, interfac.ads, sem_ch6.adb, sem_ch7.adb, sem_ch10.adb, sem_ch13.adb, sem_ch3.adb, s-poosiz.ads: Minor reformatting * make.adb: Minor reformatting Add some ??? comments asking for more comments * s-poosiz.adb: Minor reformatting Add comments on alignment requirement * sinfo.ads: Remove obsolete comment and fix typo. * gnat_ugn.texi: Update the section "The GNAT Driver and Project Files" with the new tool and package names. Reformatting to suppress most of the warnings for line too long Document the new section "Project Search Path:" in the output of gnatls -v. Add gnatmetric section * vms_data.ads: Correct GNAT METRIC qualifiers: -I-, -Idir and -gnatec= are not direct switches of gnatmetric. Changed -eis to -eps and -eit to -ept. Added qualifier /ELEMENT_METRICS=CONSTRUCT_NESTING_MAX for new switch -ec. From-SVN: r91896
-
Arnaud Charlet authored
From-SVN: r91895
-
Arnaud Charlet authored
* sem_ch8.adb (Find_Type): If node is a reference to 'Base and the prefix is not a scalar type, place error message on prefix, not on type entity. From-SVN: r91894
-
Arnaud Charlet authored
* sem_ch5.adb (One_Bound): Remove call to Resolve, as the bound needs to be resolved later as part of Analyze_Iteration_Scheme's call to Make_Index. From-SVN: r91893
-
Arnaud Charlet authored
sem_ch4.adb (Process_Implicit_Dereference_Prefix): New subprogram used to record an implicit dereference as a read operation on... * sem_ch4.adb (Process_Implicit_Dereference_Prefix): New subprogram used to record an implicit dereference as a read operation on its prefix when operating under -gnatc. Necessary to avoid spurious 'variable assigned but never read' warnings in that mode. (Process_Indexed_Component, Analyze_Selected_Component): When the prefix is a non-overloaded implicit dereference, call the above subprogram to ensure proper recording of references. From-SVN: r91892
-
Arnaud Charlet authored
* nlists.adb (Prepend_Debug): Remove parameters and nest within Prepend. (Remove_Next_Debug): Same fix * nlists.ads: Correct bad comments for Prev and Prev_Non_Pragma (we do maintain back pointers now, though we did not used to, and comments were out of date). (Prepend): Remove pragma Inline. (Remove_Next): Same cleanup From-SVN: r91891
-
Arnaud Charlet authored
* misc.c (gnat_types_compatible_p, LANG_HOOKS_TYPES_COMPATIBLE_P): Remove. (LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS): New. * adaint.h: (__gnat_dup, __gnat_dup2): Add missing decls. * trans.c (Exception_Handler_to_gnu_sjlj): Also handle renamed exception. (call_to_gnu): Convert to actual DECL_ARG_TYPE, not variant of it. From-SVN: r91890
-
Arnaud Charlet authored
From-SVN: r91889
-
Arnaud Charlet authored
* lib-xref.adb (Generate_Reference): Handle properly a reference to an entry formal, when an accept statement has a pragma Unreferenced for it. * sem_ch9.adb (Analyze_Accept_Statement): Reset the Is_Referenced flag and the Has_Pragma_Unreferenced flag for each formal before analyzing the body, to ensure that warnings are properly emitted for each accept statement of a given task entry. From-SVN: r91888
-