- 09 Oct, 2007 24 commits
-
-
* inclhack.def (darwin_externc): New. * fixincl.x: Regenerate. * tests/base/mach-o/swap.h: New. From-SVN: r129188
Geoffrey Keating committed -
2007-10-09 Geoffrey Keating <geoffk@apple.com> * dwarf2out.c (output_call_frame_info): FDEs are always emitted if flag_exceptions is not set. * config/darwin.c (darwin_emit_unwind_label): Rewrite to use assemble_name rather than incorrectly emulating it. Index: gcc/testsuite/ChangeLog 2007-10-09 Geoffrey Keating <geoffk@apple.com> * gcc.dg/unwind-1.c: New. From-SVN: r129187
Geoffrey Keating committed -
* doc/extend.texi (Deprecated Features): Mention that <? and >? and friends are removed from G++. From-SVN: r129186
Geoffrey Keating committed -
2007-10-09 Vladimir Makarov <vmakarov@redhat.com> * MAINTAINERS (Register allocation reviewer): Add myself. From-SVN: r129184
Vladimir Makarov committed -
2007-10-09 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * c-opts.c (c_common_handle_option): -Wnontemplate-friend, -Wwrite-strings and -Wmultichar are enabled by default, so Wall enabling them is redundant. Don't check two times for c_dialect_cxx. From-SVN: r129183
Manuel López-Ibáñez committed -
2007-10-09 Wolfgang Bangerth <bangerth@dealii.org> PR libstdc++/33485 continued. * include/parallel/multiway_mergesort.h: Use __builtin_alloca. From-SVN: r129182
Wolfgang Bangerth committed -
2007-10-09 Zhou Drangon <drangon.mail@gmail.com> PR libstdc++/33682 * libsupc++/guard.cc: Make single conditional variable implementation dependent to __GTHREAD_HAS_COND. From-SVN: r129181
Zhou Drangon committed -
2007-10-09 Benjamin Kosnik <bkoz@montsouris.artheist.org> PR libstdc++/33489 continued. * include/parallel/features.h (_GLIBCXX_LOSER_TREE): Set to zero. (_GLIBCXX_LOSER_TREE_POINTER): Set to one. (_GLIBCXX_LOSER_TREE_UNGUARDED): Set to zero. (_GLIBCXX_LOSER_TREE_POINTER_UNGUARDED): Set to one. * include/parallel/multiway_merge.h (parallel_multiway_merge): Change array of value_type to array of value_type pointers. (multiway_merge_bubble): Same. (multiway_merge_loser_tree): Same. * include/parallel/merge.h (merge_advance_movc): Change to avoid default construction. * include/parallel/multiseq_selection.h (multiseq_partition): Replace value_type, bool pair with value_type*, null-initialized. * include/parallel/multiway_mergesort.h (parallel_sort_mwms): Don't use array form of operator new for value_types. (parallel_sort_mwms_pu): Same. * include/parallel/quicksort.h (parallel_sort_qs_divide): Don't use array form to construct pointer to value_type on stack, instead use __builtin_alloca. * include/parallel/random_shuffle.h (sequential_random_shuffle): Same, but use operator new. (parallel_random_shuffle_drs_pu): Same. * include/parallel/partial_sum.h ( parallel_partial_sum_linear): Same. * include/parallel/losertree.h: Format. * include/parallel/settings.h: Format. * include/parallel/multiway_merge.h: Move traits to.... * include/parallel/losertree.h: ... here. From-SVN: r129179
Benjamin Kosnik committed -
2007-10-09 Thomas Koenig <tkoenig@gcc.gnu.org> PR libfortran/33683 * gfortran.dg/gamma_5.f90: Adjust tolerance to avoid failure on some common systems. From-SVN: r129174
Thomas Koenig committed -
2007-10-09 Paolo Carlini <pcarlini@suse.de> * include/tr1_impl/type_traitsfwd.h (add_reference): Remove. * include/tr1/type_traits (add_reference): Add forward declaration. * include/tr1_impl/functional (class _Mu<>): Fix. From-SVN: r129171
Paolo Carlini committed -
2007-10-09 H.J. Lu <hongjiu.lu@intel.com> * ra-conflict.c (record_one_conflict_between_regnos): Revert the last change. (set_conflicts_for_earlyclobber): Likewise. (global_conflicts): Likewise. From-SVN: r129170
H.J. Lu committed -
* longlong.h (count_leading_zeros): Replace '{' and '}' with '%{' and '%}', respectively. From-SVN: r129169
Kazu Hirata committed -
* config/m68k/m68k.c (print_operand): Handle '{' and '}'. * config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '{' and '}'. * config/m68k/m68k.md: Replace '{' with '%{' where '{' is meant to be output. From-SVN: r129168
Kazu Hirata committed -
2007-10-09 Richard Guenther <rguenther@suse.de> PR middle-end/33692 * gimplify.c (canonicalize_component_ref): Honor qualifiers of referenced structure and component. * gcc.dg/pr33692.c: New testcase. From-SVN: r129167
Richard Guenther committed -
gcc/ 2007-10-09 Kenneth Zadeck <zadeck@naturalbridge.com> PR middle-end/33669 * ra-conflict.c (record_one_conflict_between_regnos, set_conflicts_for_earlyclobber, global_conflicts): Improved logging. (global_conflicts): Removed incorrect check. gcc/testsuite/ 2007-10-09 Kenneth Zadeck <zadeck@naturalbridge.com> PR middle-end/33669 * gcc.c-torture/execute/pr33669.c: New. From-SVN: r129166
Kenneth Zadeck committed -
2007-10-09 Paolo Carlini <pcarlini@suse.de> * include/bits/boost_concept_check.h (*AssociativeContainerConcept): Remove, unused. From-SVN: r129165
Paolo Carlini committed -
gcc/ PR tree-optimization/33615 * tree-ssa-pre.c (compute_avail): Don't call make_values_for_stmt if the statement might throw. Fix formatting. gcc/testsuite/ PR tree-optimization/33615 * g++.dg/tree-ssa/pr33615-2.C: New test. From-SVN: r129164
Richard Sandiford committed -
gcc/ PR tree-optimization/33615 * tree-ssa-loop-im.c (movement_possibility): Return MOVE_IMPOSSIBLE if the rhs might throw. gcc/testsuite/ PR tree-optimization/33615 * g++.dg/tree-ssa/pr33615.C: New test. From-SVN: r129163
Richard Sandiford committed -
* invoke.texi (align-threshold, align-loop-iterations): Document. * final.c: Include cfgloop.h, params.h (compute_alignments): Dump decisions and compare them with loop structure; honor given parameters. (pass_compute_alignments): New dump file. * params.def (PARAM_ALIGN_THRESHOLD, PARAM_ALIGN_LOOP_ITERATIONS): New. * Makefile.in (final.o): Add dependency on cfgloop.h and params.h From-SVN: r129162
Jan Hubicka committed -
PR tree-optimization/33655 PR middle-end/22156 * tree-sra.c (bitfield_overlaps_p): When fld->element is INTEGER_CST, convert it to bitsizetype before size_binop call. From-SVN: r129152
James E Wilson committed -
PR tree-optimization/33572 * tree-inline.c (update_ssa_across_abnormal_edges): Tolerate the absence of a corresponding edge from the exit block. From-SVN: r129151
Alexandre Oliva committed -
PR middle-end/22156 * tree-sra.c (instantiate_element): Use BYTES_BIG_ENDIAN for bit-field layout. (sra_build_assignment): Likewise. Set up mask depending on precision, not type. (sra_build_bf_assignment): Use BYTES_BIG_ENDIAN. Don't overflow computing bit masks. (sra_build_elt_assignment): Don't view-convert from signed to unsigned. (sra_explode_bitfield_assignment): Use bit-field type if possible. Use BYTES_BIG_ENDIAN. From-SVN: r129150
Alexandre Oliva committed -
From-SVN: r129149
Alexandre Oliva committed -
From-SVN: r129147
GCC Administrator committed
-
- 08 Oct, 2007 16 commits
-
-
PR tree-optimization/33572 * g++.dg/torture/pr33572.C: Replace with complete test. From-SVN: r129144
Alexandre Oliva committed -
* tree-sra.c (scalarize_lsdt): Fix thinko in testing whether the original stmt can throw. From-SVN: r129143
Alexandre Oliva committed -
2007-10-08 Johannes Singler <singler@ira.uka.de> * include/parallel/base.h: Added plus and multiplies functor for differently typed objects. * include/parallel/numeric: Use it. * include/parallel/for_each_selectors.h: Allowed different types. * include/parallel/partial_sum.h: Fixed return value. * testsuite/26_numerics/accumulate/1.cc: Tests for accumulate. * testsuite/26_numerics/inner_product/1.cc: Tests for inner_product. From-SVN: r129140
Johannes Singler committed -
PR fortran/33689 fortran/ * resolve.c (gfc_resolve_expr): Fix indentation. (resolve_fl_variable_derived): Rename argument. (resolve_fl_variable): Fix case in message. Clarify logic. Correctly simplify array bounds. testsuite/ * gfortran.dg/spec_expr_5.f90: New. From-SVN: r129139
Tobias Schlüter committed -
2007-10-08 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_move.h (_GLIBCXX_MOVE): Add. * include/bits/stl_algobase.h: Adjust. * include/bits/stl_pair.h: Likewise. * include/bits/stl_algo.h: Minor formatting fixes. From-SVN: r129138
Paolo Carlini committed -
darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Register '#pragma mark' to be executed at preprocessing time. * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Register '#pragma mark' to be executed at preprocessing time. From-SVN: r129134
Geoffrey Keating committed -
gcc/ * varasm.c (compare_constant): Removed call to lang_hooks.expand_constant. (copy_constants): Removed call to lang_hooks.expand_constant. (compute_reloc_for_constant): Removed call to lang_hooks.expand_constant. (output_addressed_constants): Removed call to lang_hooks.expand_constant. (constructor_static_from_elts_p): Removed call to lang_hooks.expand_constant. (output_constant): Removed calls to lang_hooks.expand_constant. * langhooks.h (struct lang_hooks): Removed field expand_constant. * langhooks-def.h (lhd_return_tree): Removed. (LANG_HOOKS_EXPAND_CONSTANT): Removed. (LANG_HOOKS_INITIALIZER): Removed LANG_HOOKS_EXPAND_CONSTANT. * langhooks.c (lhd_return_tree): Removed. gcc/cp/ * typeck2.c (digest_init): Call cplus_expand_constant after convert_for_initialization. * cp-objcp-common.h (LANG_HOOKS_EXPAND_CONSTANT): Removed. * expr.c (cplus_expand_constant): Updated function description. gcc/ada/ * misc.c (LANG_HOOKS_PUSHDECL): Replaced lhd_return_tree with gnat_return_tree. (gnat_init_gcc_eh): Replaced gnat_eh_runtime_type with gnat_return_tree. (gnat_eh_runtime_type): Removed. (gnat_return_tree): New function. From-SVN: r129133
Ollie Wild committed -
2007-10-08 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/33489 * include/parallel/multiseq_selection.h: Remove default constructed value_type. * include/parallel/partition.h: * include/parallel/partial_sum.h: Format. From-SVN: r129132
Benjamin Kosnik committed -
combine.c (setup_incoming_promotions): Ensure that arguments that have not undergone mode promotions do not... gcc/ * combine.c (setup_incoming_promotions): Ensure that arguments that have not undergone mode promotions do not incorrectly get marked as being sign- or zero-extended. From-SVN: r129131
Mark Shinwell committed -
2007-10-08 Richard Guenther <rguenther@suse.de> PR middle-end/33693 PR middle-end/33695 PR middle-end/33697 * fold-const.c (fold_binary): Use correct types in folding of a * (1 << b) to (a << b). Likewise for ~A & ~B to ~(A | B) and building of RROTATE_EXPR. * gcc.dg/pr33693.c: New testcase. * gcc.dg/pr33695.c: Likewise. * gcc.dg/pr33697.c: Likewise. From-SVN: r129130
Richard Guenther committed -
* docs/html/parallel_mode.html: Added reference to MCSTL. More documentation on compile-time settings and tuning. * include/parallel/multiway_merge.h: Added reference to paper. * include/parallel/multiseq_selection.h: Added reference to paper. * include/parallel/workstealing.h: Added reference to paper. * include/parallel/balanced_quicksort.h: Added reference to paper. * include/parallel/tree.h: Added reference to paper. From-SVN: r129129
Johannes Singler committed -
2007-10-08 Richard Guenther <rguenther@suse.de> PR middle-end/33691 PR middle-end/33694 PR middle-end/33696 * fold-const.c (fold_binary): Use the correct types when folding (A | CST1) & CST2 to (A & CST2) | (CST1 & CST2). (fold_binary): Use the correct types when folding (-A) - B to (-B) - A. (fold_unary): Use the correct types when folding ~(X). * gcc.dg/pr33691.c: New testcase. * gcc.dg/pr33694.c: Likewise. * gcc.dg/pr33696.c: Likewise. From-SVN: r129128
Richard Guenther committed -
2007-10-08 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * doc/invoke.texi (Wall): fix formatting issues. contrib/ * texi2pod.pl: Handle @asis. (postprocess): Move @gccoptlist{} after all formatting commands. From-SVN: r129125
Manuel López-Ibáñez committed -
2007-10-08 Paolo Carlini <pcarlini@suse.de> * include/std/utility (identity, move, forward): Move to... * include/bits/stl_move.h: ... here. * include/Makefile.am: Add. * include/bits/stl_algobase.h: Include the latter. * include/Makefile.in: Regenerate. * testsuite/20_util/pair/moveable.cc: Remove dg-require-rvalref. 2007-10-08 Chris Jefferson <chris@bubblescope.net> Paolo Carlini <pcarlini@suse.de> * include/bits/stl_pair.h (pair<>:pair(pair&&), pair<>::operator=(pair&&)): Add. From-SVN: r129124
Paolo Carlini committed -
2007-10-08 Paolo Carlini <pcarlini@suse.de> * include/std/utility (identity, move, forward): Move to... * include/bits/stl_move.h: ... here. * include/Makefile.am: Add. * include/bits/stl_algobase.h: Include the latter. * include/Makefile.in: Regenerate. * testsuite/20_util/pair/moveable.cc: Remove dg-require-rvalref. 2007-10-08 Chris Jefferson <chris@bubblescope.net> Paolo Carlini <pcarlini@suse.de> * include/bits/stl_pair.h (pair<>:pair(pair&&), pair<>::operator=(pair&&)): Add. From-SVN: r129123
Paolo Carlini committed -
* configure.ac (CFLAGS_FOR_BUILD, CXXFLAGS_FOR_BUILD, LDFLAGS_FOR_BUILD): Default them to host flags only for $host = $build. Set default CXXFLAGS_FOR_BUILD to CXXFLAGS, not CFLAGS. Set default LDFLAGS_FOR_BUILD to LDFLAGS, not CFLAGS. * configure: Regenerate. From-SVN: r129122
Mike Frysinger committed
-