1. 29 Jun, 2008 15 commits
  2. 28 Jun, 2008 19 commits
    • namelist_50.f90: New test. · 23b1e6ac
      2008-06-28  Jerry DeLisle <jvdelisle@gcc.gnu.org>
      
      	* gfortran.dg/namelist_50.f90: New test.
      
      From-SVN: r137239
      Jerry DeLisle committed
    • stl_algo.h (partition_point): Add in C++0x mode. · d9be9bb3
      2008-06-28  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/stl_algo.h (partition_point): Add in C++0x mode.
      	* include/bits/algorithmfwd.h: Add.
      	* testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
      	* testsuite/25_algorithms/partition_point/1.cc: New.
      	* testsuite/25_algorithms/partition_point/check_type.cc: Likewise.
      	* testsuite/25_algorithms/partition_point/requirements/
      	explicit_instantiation/2.cc: Likewise.
      	* testsuite/25_algorithms/partition_point/requirements/
      	explicit_instantiation/pod.cc: Likewise.
      
      From-SVN: r137237
      Paolo Carlini committed
    • re PR libfortran/36657 (Namelist reading bug with string constant immediately followed by comment) · 7b063fdc
      2008-06-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/36657
      	* io/list_read.c (read_character): Check for '!' along with separators.
      	(find_nml_name): Likewise and eat the comment if found.
      
      From-SVN: r137236
      Jerry DeLisle committed
    • regrename.c (build_def_use): Don't copy RTX. · d1c1c79f
             * regrename.c (build_def_use): Don't copy RTX.
      
      From-SVN: r137235
      Andrew Jenner committed
    • extend.texi (Variable Attributes): Use @ref instead of @xref. · 38bb2b65
      2008-06-28  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/extend.texi (Variable Attributes): Use @ref instead of @xref.
      	(Type Attributes): Fix nesting of @table and @subsection.  Adjust
      	punctuation.  Use @ref instead of @xref.
      	(Function Names): Remove stray @display/@end display.
      	(C++ Attributes): Use @ref instead of @xref.
      	(Deprecated Features): Fix punctuation around @xref.
      	(Backwards Compatibility): Likewise.
      	* doc/rtl.texi (Incdec): Remove stray @table/@end table.
      
      From-SVN: r137234
      Sandra Loosemore committed
    • predicates.md (easy_fp_constant): Reject TFmode constants for E500 double. · 624b157f
      	* config/rs6000/predicates.md (easy_fp_constant): Reject TFmode
      	constants for E500 double.
      
      testsuite:
      	* gcc.c-torture/compile/20080628-1.c: New test.
      
      From-SVN: r137232
      Joseph Myers committed
    • re PR libstdc++/36660 (pb_ds/detail/resize_policy/sample_resize_trigger.hpp has… · e5e9ea16
      re PR libstdc++/36660 (pb_ds/detail/resize_policy/sample_resize_trigger.hpp has extra closing brace)
      
      2008-06-28  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/36660
      	* include/ext/pb_ds/detail/resize_policy/
      	sample_resize_trigger.hpp: Remove spurious namespace end.
      
      From-SVN: r137231
      Paolo Carlini committed
    • rtl.texi (const_vector): Document const_fixed as legitimate element type of const_vector. · ffba3fd0
      	* doc/rtl.texi (const_vector): Document const_fixed as legitimate
      	element type of const_vector.
      
      From-SVN: r137230
      Ulrich Weigand committed
    • i386.md (addti3, [...]): Remove FLAGS_REG clobber from expander pattern. · 7ae14d31
      	* config/i386/i386.md (addti3, adddi3, addsi3, addhi3, addqi3):
      	Remove FLAGS_REG clobber from expander pattern.
      	(subti3, subdi3, subsi3, subhi3, subqi3): Ditto.
      	(anddi3, andsi3, andhi3, andqi3): Ditto.
      	(iordi3, iorsi3, iorhi3, iorqi3): Ditto.
      	(xordi3, xorsi3, xorhi3, xorqi3): Ditto.
      	(negti2, negdi2, negsi2, neghi2, negqi2): Ditto.
      	(ashlsi3, ashlhi3, ashlqi3): Ditto.
      	(ashrsi3, ashrhi3, ashrqi3): Ditto.
      	(lshrsi3, lshrhi3, lshrqi3): Ditto.
      	(rotldi3, rotlsi3, rotlhi3, rotlqi3): Ditto.
      	(rotrdi3, rotrsi3, rotrhi3, rotrqi3): Ditto.
      
      From-SVN: r137229
      Uros Bizjak committed
    • gfc-internals.texi (section gfc_code): Extended documentation about gfc_code in… · b66c86cb
      gfc-internals.texi (section gfc_code): Extended documentation about gfc_code in the internal datastructures chapter...
      
      2008-06-28  Daniel Kraft  <d@domob.eu>
      
      	* gfc-internals.texi (section gfc_code):  Extended documentation about
      	gfc_code in the internal datastructures chapter including details about
      	how IF, DO and SELECT blocks look like and an example for how the
      	block-chaining works.
      
      From-SVN: r137226
      Daniel Kraft committed
    • pta-field-1.c: Add return 0. · f82c70cc
      2008-06-28  Richard Guenther  <rguenther@suse.de>
      
      	* gcc.c-torture/execute/pta-field-1.c: Add return 0.
      	* gcc.c-torture/execute/pta-field-2.c: Likewise.
      
      From-SVN: r137224
      Richard Guenther committed
    • Import GNU Classpath (classpath-0_97_2-release). · e0441a5b
      libjava/
      
      2008-06-28  Matthias Klose  <doko@ubuntu.com>
      
              Import GNU Classpath (classpath-0_97_2-release).
      
              * Regenerate class and header files.
              * Regenerate auto* files.
              * gcj/javaprims.h: Define jobjectRefType.
              * jni.cc (_Jv_JNI_GetObjectRefType): New (stub only).
              (_Jv_JNIFunctions): Initialize GetObjectRefType.
              * gnu/classpath/jdwp/VMVirtualMachine.java,
              java/security/VMSecureRandom.java: Merge from classpath.
              * HACKING: Fix typo.
              * ChangeLog-2007: New file.
              * configure.ac: Set JAVAC, pass --disable-regen-headers to classpath.
      
      libjava/classpath/
      
      2008-06-28  Matthias Klose  <doko@ubuntu.com>
      
              * m4/ac_prog_javac.m4: Disable check for JAVAC, when
              not configured with --enable-java-maintainer-mode.
              * aclocal.m4, configure: Regenerate.
              * native/jni/gstreamer-peer/Makefile.am: Do not link with
              libclasspathnative.
              * native/jni/gstreamer-peer/Makefile.in: Regenerate.
              * tools/Makefile.am, lib/Makefile.am: Use JAVAC for setting
              JCOMPILER, drop flags not understood by gcj.
      
      From-SVN: r137223
      Matthias Klose committed
    • tree-ssa-structalias.c (callused_id, [...]): Add. · 15c15196
      2008-06-28  Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa-structalias.c (callused_id, var_callused,
      	callused_tree): Add.
      	(handle_pure_call): New function.
      	(find_func_aliases): Call it.
      	(find_what_p_points_to): Handle the call-used set.
      	(clobber_what_escaped): Likewise.
      	(compute_call_used_vars): New function.
      	(init_base_vars): Init the call-used variable.
      	(do_sd_constraint): Do not propagate the solution from CALLUSED
      	but use CALLUSED as a placeholder.
      	(solve_graph): Likewise.
      	* tree-flow-inline.h (gimple_call_used_vars): New function.
      	* tree-flow.h (struct gimple_df): Add call_used_vars bitmap.
      	(compute_call_used_vars): Declare.
      	* tree-ssa-alias.c (set_initial_properties): Call
      	compute_call_used_vars.
      	(reset_alias_info): Clear call-used variables.
      	(add_call_clobber_ops): Assert we are not called for const/pure
      	functions.  Remove handling of them.
      	(add_call_read_ops): Handle pure functions by adding the
      	call-used set of variables as VUSEs.
      	* tree-ssa.c (init_tree_ssa): Allocate call-used bitmap.
      	(delete_tree_ssa): Free it.
      	* tree-dfa.c (remove_referenced_var): Clear the var from the
      	call-used bitmap.
      
      	* gcc.dg/tree-ssa/pr24287.c: Remove XFAIL.
      
      From-SVN: r137222
      Richard Guenther committed
    • tree.c (build_varargs_function_type_list): New. · ff1c393b
      2008-06-28  Kai Tietz  <kai.tietz@onevision.com>
      
              * tree.c (build_varargs_function_type_list): New.
              (build_function_type_list_1): New.
              (build_function_type_list): Use build_function_type_list_1.
              * tree.h (build_varargs_function_type_list): New.
      
      From-SVN: r137221
      Kai Tietz committed
    • re PR target/34856 (ICE with some constant vectors) · d74032d9
      	PR target/34856
      	* config/spu/spu.c (spu_builtin_splats): Do not generate
      	invalid CONST_VECTOR expressions.
      	(spu_expand_vector_init): Likewise.
      
      From-SVN: r137218
      Ulrich Weigand committed
    • Commit missing Makefile update for r137158. · 069a1c33
      From-SVN: r137216
      Steven Bosscher committed
    • optabs.c (libfunc_decls): New variable. · 61698f54
      gcc/
      	* optabs.c (libfunc_decls): New variable.
      	(libfunc_decl_hash, libfunc_decl_eq): New functions.
      	(init_one_libfunc): Reuse decls and SYMBOL_REFs when asked
      	for the same function twice.
      
      From-SVN: r137215
      Richard Sandiford committed
    • Daily bump. · d476e669
      From-SVN: r137211
      GCC Administrator committed
  3. 27 Jun, 2008 6 commits
    • vec.cc (__aeabi_vec_dtor_cookie): Handle NULL array address. · b8df3445
      2008-06-27  Mark Mitchell  <mark@codesourcery.com>
      
      	* libsupc++/vec.cc (__aeabi_vec_dtor_cookie): Handle NULL array
      	address.
      	(__aeabi_vec_delete): Likewise.
      	(__aeabi_vec_delete3): Likewise.
      	(__aeabi_vec_delete3_nodtor): Likewise.
      
      2008-06-27  Mark Mitchell  <mark@codesourcery.com>
      
      	* g++.dg/abi/arm_cxa_vec2.C: New test.
      
      From-SVN: r137207
      Mark Mitchell committed
    • re PR c++/36364 (Problem with -frepo) · 0ac69b47
      	PR c++/36364
      	* repo.c (repo_emit_p): Put const static data members initialized
      	by const expr into *.rpo file, just return 2 if IDENTIFIER_REPO_CHOSEN
      	for it is 0.
      
      	* g++.dg/template/repo9.C: New test.
      
      From-SVN: r137205
      Jakub Jelinek committed
    • re PR tree-optimization/36400 (points-to results wrong) · e3fd526b
      2008-06-27  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/36400
      	PR tree-optimization/36373
      	PR tree-optimization/36344
      	* tree-ssa-structalias.c (var_escaped, escaped_tree, escaped_id,
      	var_nonlocal, nonlocal_tree, nonlocal_id): New globals
      	(update_alias_info): Remove call clobbering code.
      	(make_constraint_to): New helper function.
      	(make_escape_constraint): Likewise.
      	(handle_rhs_call): Use it on all pointer containing arguments.
      	Also mark the static chain escaped.
      	(handle_lhs_call): Make constraints from NONLOCAL and ESCAPED
      	instead of ANYTHING.
      	(make_constraint_from): New helper split out from ...
      	(make_constraint_from_anything): ... here.
      	(find_func_aliases): Add constraints for escape sites.
      	(intra_create_variable_infos): Make constraints from NONLOCAL
      	for parameters.
      	(find_what_p_points_to): Interpret NONLOCAL and ESCAPED the same
      	as ANYTHING.
      	(clobber_what_p_points_to): Remove.
      	(clobber_what_escaped): New function.
      	(init_base_vars): Init NONLOCAL and ESCAPED.
      	(do_sd_constraint): Do not propagate the solution from ESCAPED
      	but use ESCAPED as a placeholder.
      	(solve_graph): Likewise.
      	* tree-flow.h (clobber_what_p_points_to): Remove.
      	(clobber_what_escaped): Declare.
      	* tree-ssa-alias.c (set_initial_properties): Call it.
      	Remove code clobbering escaped pointers.
      
      	* gcc.dg/torture/pr36373-1.c: New testcase.
      	* gcc.dg/torture/pr36373-2.c: Likewise.
      	* gcc.dg/torture/pr36373-3.c: Likewise.
      	* gcc.dg/torture/pr36373-4.c: Likewise.
      	* gcc.dg/torture/pr36373-5.c: Likewise.
      	* gcc.dg/torture/pr36373-6.c: Likewise.
      	* gcc.dg/torture/pr36373-7.c: Likewise.
      	* gcc.dg/torture/pr36373-8.c: Likewise.
      	* gcc.dg/torture/pr36373-9.c: Likewise.
      	* gcc.dg/torture/pr36373-10.c: Likewise.
      	* gcc.dg/torture/pr36400.c: Likewise.
      	* gcc.c-torture/execute/pta-field-1.c: Likewise.
      	* gcc.c-torture/execute/pta-field-2.c: Likewise.
      	* gcc.dg/tree-ssa/loadpre8.c: Remove XFAIL.
      	* gcc.dg/tree-ssa/pr24287.c: XFAIL.
      
      From-SVN: r137204
      Richard Biener committed
    • i386.md (ashlti3, [...]): Expand using ix86_expand_binary_operator directly. · 934f2a96
      	* config/i386/i386.md (ashlti3, ashrti3, lshrti3): Expand using
      	ix86_expand_binary_operator directly.
      	(*ashlti3_1): Rename from ashlti3_1.  Use nonmemory_operand predicate
      	for operand 2.
      	(*ashrti3_1): Ditto.
      	(*lshrti3_1): Ditto.
      	(*ashlti3_2, *ashrti3_2, *lshrti3_2): Remove insn patterns.
      	(ashlti, ashrti and lshrti splitters): Handle nonmemory operand 2
      	using only one splitter.  Conditionaly execute splitter before or
      	after peephole2 pass.
      	(ashlti, ashrti and lshrti peephole2): Define peephole2 patterns.
      	(x86_shld): Rename from x86_shld_1.  Compress operand 2 constraints.
      	Use only one alternative in asm template.
      	(x86_64_shld): Compress operand 2 constraints. Use only one alternative
      	in asm template.
      	(*ashldi3_cmp_rex64): Use const_1_to_63_operand operand predicate and
      	"J" operand constraint for operand 2.
      	(*ashldi3_cconly_rex64): Ditto.
      	(*ashrdi3_cmp_rex64): Ditto.
      	(*ashrdi3_cconly_rex64): Ditto.
      	(*lshrdi3_cmp_rex64): Ditto.
      	(*lshrdi3_cconly_rex64): Ditto.
      	* config/i386/predicates.md (const_1_to_63_operand): New predicate.
      	* config/i386/i386.md (print_operand) ['s']: Print ", " using fputs.
      	(split_ashr, split_ashl, split_lshr): Use gen_x86_shrd instead of
      	gen_x86_shrd_1.
      
      From-SVN: r137201
      Uros Bizjak committed
    • re PR c++/36655 (unjustified warning for "extern template" when using -pedantic -std=c++0x) · a7235bfb
      /cp
      2008-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/36655
      	* pt.c (do_decl_instantiation): In c++0x mode do not warn for
      	extern template.
      
      /testsuite
      2008-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/36655
      	* g++.dg/cpp0x/extern_template.C: New.
      
      From-SVN: r137200
      Paolo Carlini committed