platform/upstream/gcc.git
15 years agographite.c (graphite_trans_scop_block): Do not block single nested loops.
Sebastian Pop [Sat, 17 Jan 2009 15:13:12 +0000 (15:13 +0000)]
graphite.c (graphite_trans_scop_block): Do not block single nested loops.

2009-01-17  Sebastian Pop  <sebastian.pop@amd.com>
    Tobias Grosser  <tobi.grosser@amd.com>

* graphite.c (graphite_trans_scop_block): Do not block single
nested loops.

Co-Authored-By: Tobias Grosser <tobi.grosser@amd.com>
From-SVN: r143468

15 years agogcc_release (JAVA_DIRS): Remove fastjar.
Richard Guenther [Sat, 17 Jan 2009 14:53:57 +0000 (14:53 +0000)]
gcc_release (JAVA_DIRS): Remove fastjar.

2009-01-17  Richard Guenther  <rguenther@suse.de>

* gcc_release (JAVA_DIRS): Remove fastjar.

From-SVN: r143465

15 years agore PR fortran/38657 (PUBLIC/PRIVATE Common blocks)
Paul Thomas [Sat, 17 Jan 2009 11:58:48 +0000 (11:58 +0000)]
re PR fortran/38657 (PUBLIC/PRIVATE Common blocks)

2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38657
* module.c (write_common_0): Add argument 'this_module' and
check that non-use associated common blocks are written first.
(write_common): Call write_common_0 twice, once with true and
then with false.

2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38657
* gfortran.dg/module_commons_3.f90: Reapply.

From-SVN: r143463

15 years agore PR fortran/34955 (transfer_assumed_size_1.f90: Valgrind error: invalid read of...
Paul Thomas [Sat, 17 Jan 2009 11:32:02 +0000 (11:32 +0000)]
re PR fortran/34955 (transfer_assumed_size_1.f90: Valgrind error: invalid read of size 3)

2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34955
* trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Has
been absorbed into gfc_conv_intrinsic_transfer. All
references to it in trans-intrinsic.c have been changed
accordingly.  PR fixed by using a temporary for scalar
character transfer, when the source is shorter than the
destination.

2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34955
* gfortran.dg/transfer_intrinsic_1.f90: New test.
* gfortran.dg/transfer_intrinsic_2.f90: New test.

From-SVN: r143462

15 years agore PR fortran/38657 (PUBLIC/PRIVATE Common blocks)
Paul Thomas [Sat, 17 Jan 2009 09:43:57 +0000 (09:43 +0000)]
re PR fortran/38657 (PUBLIC/PRIVATE Common blocks)

2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38657
* module.c (write_common_0): Revert patch of 2009-01-10.

2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38657
* gfortran.dg/module_commons_3.f90: Remove

From-SVN: r143459

15 years agoMakefile.am (sources): Add math_stubs_float.cc.
Benjamin Kosnik [Sat, 17 Jan 2009 02:03:25 +0000 (02:03 +0000)]
Makefile.am (sources): Add math_stubs_float.cc.

2009-01-16  Benjamin Kosnik  <bkoz@redhat.com>

* src/Makefile.am (sources): Add math_stubs_float.cc.
* src/Makefile.in: Regenerate.
* src/math_stubs_float.cc: New, from libmath/stubs.c.

From-SVN: r143457

15 years agofoldaddr-1.c: Add the missing '}'.
H.J. Lu [Sat, 17 Jan 2009 01:31:44 +0000 (01:31 +0000)]
foldaddr-1.c: Add the missing '}'.

2009-01-16  H.J. Lu  <hongjiu.lu@intel.com>

* gcc.dg/tree-ssa/foldaddr-1.c: Add the missing '}'.

From-SVN: r143455

15 years agoDaily bump.
GCC Administrator [Sat, 17 Jan 2009 00:17:01 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r143453

15 years agore PR c++/38877 (Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006)
Jason Merrill [Fri, 16 Jan 2009 22:40:25 +0000 (17:40 -0500)]
re PR c++/38877 (Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006)

        PR c++/38877
        * tree.c (lvalue_p_1): Allow non-fields in COMPONENT_REF.
        * init.c (build_new): Don't call describable_type unless we
        have an auto.

From-SVN: r143448

15 years agoMakefile.in: Fix multilib handling for powerpc64-linux.
Jakub Jelinek [Fri, 16 Jan 2009 22:38:12 +0000 (23:38 +0100)]
Makefile.in: Fix multilib handling for powerpc64-linux.

* gcc-interface/Makefile.in: Fix multilib handling for
powerpc64-linux.

From-SVN: r143447

15 years agore PR c++/38877 (Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006)
Jason Merrill [Fri, 16 Jan 2009 22:36:32 +0000 (17:36 -0500)]
re PR c++/38877 (Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006)

        PR c++/38877
        * tree.c (lvalue_p_1): Allow non-fields in COMPONENT_REF.
        * init.c (build_new): Don't call describable_type unless we
        have an auto.

From-SVN: r143446

15 years agore PR c++/29470 (Using declaration access semantics change with templates)
Jason Merrill [Fri, 16 Jan 2009 22:36:11 +0000 (17:36 -0500)]
re PR c++/29470 (Using declaration access semantics change with templates)

        PR c++/29470
        * pt.c (tsubst_decl) [USING_DECL]: Propagate access flags.

From-SVN: r143445

15 years agoebitmap.h (ebitmap_iter_init): Initialize all fields.
Alexandre Oliva [Fri, 16 Jan 2009 20:44:25 +0000 (20:44 +0000)]
ebitmap.h (ebitmap_iter_init): Initialize all fields.

* ebitmap.h (ebitmap_iter_init): Initialize all fields.
* ipa-struct-reorg.c (gen_struct_type): Replace known-true
test with assertion.

From-SVN: r143443

15 years agore PR tree-optimization/38835 (field-insensitive PTA causes libstdc++ miscompiles)
Richard Guenther [Fri, 16 Jan 2009 19:18:18 +0000 (19:18 +0000)]
re PR tree-optimization/38835 (field-insensitive PTA causes libstdc++ miscompiles)

2009-01-16  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38835
PR middle-end/36227
* fold-const.c (fold_binary): Remove PTR + INT -> (INT)(PTR p+ INT)
and INT + PTR -> (INT)(PTR p+ INT) folding.
* tree-ssa-address.c (create_mem_ref): Properly use POINTER_PLUS_EXPR.

java/
* builtins.c (build_addr_sum): Use POINTER_PLUS_EXPR.

* gcc.c-torture/execute/pr36227.c: New testcase.
* gcc.dg/tree-ssa/foldaddr-1.c: XFAIL.
* g++.dg/init/const7.C: Likewise.

From-SVN: r143442

15 years agore PR target/38554 (ICE when compiling pamfunc.c in netpbm with -O1 enabled)
Adam Nemet [Fri, 16 Jan 2009 18:56:47 +0000 (18:56 +0000)]
re PR target/38554 (ICE when compiling pamfunc.c in netpbm with -O1 enabled)

PR target/38554
* expmed.c (expand_shift): With SHIFT_COUNT_TRUNCATED, don't lift
the subreg from a lowpart subreg if it is also casting the value.

testsuite/
PR target/38554
* gcc.c-torture/compile/pr38554.c: New test.

From-SVN: r143440

15 years agore PR c++/38579 (Template: Wrong inherited copy-ctor visibility)
Jason Merrill [Fri, 16 Jan 2009 18:35:28 +0000 (13:35 -0500)]
re PR c++/38579 (Template: Wrong inherited copy-ctor visibility)

        PR c++/38579
        * search.c (protected_accessible_p): N doesn't vary.

From-SVN: r143439

15 years agographite.c (compare_prefix_loops): New.
Sebastian Pop [Fri, 16 Jan 2009 15:20:16 +0000 (15:20 +0000)]
graphite.c (compare_prefix_loops): New.

2009-01-16  Sebastian Pop  <sebastian.pop@amd.com>
    Tobias Grosser  <tobi.grosser@amd.com>

* graphite.c (compare_prefix_loops): New.
(build_scop_canonical_schedules): Rewritten.
(graphite_transform_loops): Move build_scop_canonical_schedules
after build_scop_iteration_domain.

Co-Authored-By: Tobias Grosser <tobi.grosser@amd.com>
From-SVN: r143437

15 years agographite.c (add_conditions_to_domain): Add the loops to the dimension of the iteratio...
Sebastian Pop [Fri, 16 Jan 2009 15:18:28 +0000 (15:18 +0000)]
graphite.c (add_conditions_to_domain): Add the loops to the dimension of the iteration domain.

2009-01-16  Sebastian Pop  <sebastian.pop@amd.com>
    Tobias Grosser  <tobi.grosser@amd.com>

* graphite.c (add_conditions_to_domain): Add the loops to
the dimension of the iteration domain.  Do copy the domain
only when it exists.
(build_scop_conditions_1): Do not call add_conditions_to_domain.
(add_conditions_to_constraints): New.
(can_generate_code_stmt, can_generate_code): Removed.
(gloog): Do not call can_generate_code.
(graphite_transform_loops): Call add_conditions_to_constraints
after building the iteration domain.

Co-Authored-By: Tobias Grosser <tobi.grosser@amd.com>
From-SVN: r143436

15 years agore PR tree-optimization/38789 (__builtin_constant_p appears to evaluate to true for...
Jakub Jelinek [Fri, 16 Jan 2009 15:01:24 +0000 (16:01 +0100)]
re PR tree-optimization/38789 (__builtin_constant_p appears to evaluate to true for non-constant arguments.)

PR tree-optimization/38789
* tree-ssa-threadedge.c
(record_temporary_equivalences_from_stmts_at_dest): Ignore calls to
__builtin_constant_p.

* gcc.c-torture/compile/pr38789.c: New test.

From-SVN: r143435

15 years agodce.c (delete_unmarked_insns): Reversed the order that insns are examined before...
Kenneth Zadeck [Fri, 16 Jan 2009 13:41:11 +0000 (13:41 +0000)]
dce.c (delete_unmarked_insns): Reversed the order that insns are examined before deleting them.

2009-01-16  Kenneth Zadeck <zadeck@naturalbridge.com>

* dce.c (delete_unmarked_insns): Reversed the order that insns are
examined before deleting them.

From-SVN: r143433

15 years agofunction.c (aggregate_value_p): Correctly extract the function type from CALL_EXPR_FN...
Richard Earnshaw [Fri, 16 Jan 2009 13:20:32 +0000 (13:20 +0000)]
function.c (aggregate_value_p): Correctly extract the function type from CALL_EXPR_FN lookup.

* function.c (aggregate_value_p): Correctly extract the function
type from CALL_EXPR_FN lookup.

From-SVN: r143432

15 years agore PR fortran/38152 (procedure pointers as module variables)
Janus Weil [Fri, 16 Jan 2009 12:03:51 +0000 (13:03 +0100)]
re PR fortran/38152 (procedure pointers as module variables)

2009-01-16  Janus Weil  <janus@gcc.gnu.org>

PR fortran/38152
* expr.c (gfc_check_pointer_assign): Allow use-associated procedure
pointers as lvalue.
* trans-decl.c (get_proc_pointer_decl,gfc_create_module_variable):
Enable procedure pointers as module variables.

2009-01-16  Janus Weil  <janus@gcc.gnu.org>

PR fortran/38152
* gfortran.dg/proc_ptr_13.f90: New.

From-SVN: r143430

15 years agopicochip.c (picochip_override_options): Revert CFI asm flag disable commited previously.
Hariharan Sandanagobalane [Fri, 16 Jan 2009 09:56:23 +0000 (09:56 +0000)]
picochip.c (picochip_override_options): Revert CFI asm flag disable commited previously.

        * config/picochip/picochip.c (picochip_override_options): Revert
          CFI asm flag disable commited previously.

From-SVN: r143429

15 years agoMakefile.def (configure-opcodes): Depend on configure-libiberty.
Alan Modra [Fri, 16 Jan 2009 08:07:23 +0000 (08:07 +0000)]
Makefile.def (configure-opcodes): Depend on configure-libiberty.

* Makefile.def (configure-opcodes): Depend on configure-libiberty.
(all-opcodes): Depend on all-libiberty.
* Makefile.in: Regenerate.

From-SVN: r143426

15 years agore PR c++/38850 (Cannot find inline friend function in template class when called...
Jason Merrill [Fri, 16 Jan 2009 05:04:26 +0000 (00:04 -0500)]
re PR c++/38850 (Cannot find inline friend function in template class when called from within a template function)

        PR c++/38850
        * pt.c (tsubst_copy_and_build): Tell finish_call_expr to
        accept hidden friends.

From-SVN: r143422

15 years agoconfig.host (i[34567]86-*-linux*, [...]): Add t-softfp to tmake_file.
Ben Elliston [Fri, 16 Jan 2009 04:00:48 +0000 (04:00 +0000)]
config.host (i[34567]86-*-linux*, [...]): Add t-softfp to tmake_file.

* config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
to tmake_file.

From-SVN: r143421

15 years agoMakefile.am (sources): Add math_stubs_long_double.cc.
Benjamin Kosnik [Fri, 16 Jan 2009 02:55:11 +0000 (02:55 +0000)]
Makefile.am (sources): Add math_stubs_long_double.cc.

2009-01-15  Benjamin Kosnik  <bkoz@redhat.com>

* src/Makefile.am (sources): Add math_stubs_long_double.cc.
* src/Makefile.in: Regenerate.
* src/math_stubs_long_double.cc: New, from libmath/stubs.c.

From-SVN: r143420

15 years agoDaily bump.
GCC Administrator [Fri, 16 Jan 2009 00:17:14 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r143418

15 years agographite.c (scan_tree_for_params): On substractions negate all the coefficients of...
Sebastian Pop [Thu, 15 Jan 2009 23:23:48 +0000 (23:23 +0000)]
graphite.c (scan_tree_for_params): On substractions negate all the coefficients of the term.

2009-01-15  Sebastian Pop  <sebastian.pop@amd.com>
    Tobias Grosser  <tobi.grosser@amd.com>
    Jan Sjodin  <jan.sjodin@amd.com>

* graphite.c (scan_tree_for_params): On substractions negate
all the coefficients of the term.
(clast_to_gcc_expression_red): New.  Handle reduction expressions
of more than two operands.
(clast_to_gcc_expression): Call clast_to_gcc_expression_red.
(get_vdef_before_scop): Handle also the case of default definitions.

Co-Authored-By: Jan Sjodin <jan.sjodin@amd.com>
Co-Authored-By: Tobias Grosser <tobi.grosser@amd.com>
From-SVN: r143415

15 years agore PR c++/29388 (ICE with invalid nested name specifier)
Andrew Pinski [Thu, 15 Jan 2009 22:10:24 +0000 (22:10 +0000)]
re PR c++/29388 (ICE with invalid nested name specifier)

2009-01-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/29388
        * decl.c (grokdeclarator): Check for a non namespace/class context.

2009-01-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/29388
        * g++.dg/template/error37.C: New testcase.

From-SVN: r143411

15 years agocaller-save.c (add_used_regs_1, [...]): New functions.
Richard Sandiford [Thu, 15 Jan 2009 21:22:32 +0000 (21:22 +0000)]
caller-save.c (add_used_regs_1, [...]): New functions.

gcc/
* caller-save.c (add_used_regs_1, add_used_regs): New functions.
(insert_one_insn): Use them instead of REG_DEAD and REG_INC notes.
Also use them when walking CALL_INSN_FUNCTION_USAGE.

From-SVN: r143409

15 years agore PR libstdc++/32666 (FAIL: abi_check hppa)
Benjamin Kosnik [Thu, 15 Jan 2009 20:02:11 +0000 (20:02 +0000)]
re PR libstdc++/32666 (FAIL: abi_check hppa)

2009-01-15  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/32666
* config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.

2009-01-15  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/32666
* Makefile.am (hosted_source): Remove libmath directory.
* Makefile.in: Regenerate.
* linkage.m4 (GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT): Remove.
(AC_REPLACE_MATHFUNCS): Remove.
(GLIBCXX_CHECK_MATH_SUPPORT): Remove copysign, copysignl checks as done
in GLIBCXX_CHECK_C99_TR1.
* acinclude.m4: Remove libmath, need_math.
* crossconfig.m4: Remove use of HAVE_COPYSIGN, HAVE_COPYSIGNL,
HAVE_COPYSIGNF, GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT, need_libmath.
* configure.ac: Same.
* configure: Regenerate.
* fragment.am: Fix comment.
* config.h.in: Regenerate.
* src/Makefile.in: Regenerate.
* src/Makefile.am: Remove libmath references.
* doc/Makefile.in: Regenerate.
* po/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

* src/compatibility.cc: Also export long double versions of "C" math
library if hppa-linux.
* config/abi/pre/gnu.ver: Remove unused __signbit exports.
* doc/xml/manual/appendix_contributing.xml: Remove libmath reference.

* libmath: Remove.
* libmath/signbit.c: Same.
* libmath/stubs.c: Same.
* libmath/Makefile.in: Same.
* libmath/copysignf.c: Same.
* libmath/mathconf.h: Same.
* libmath/signbitf.c: Same.
* libmath/Makefile.am: Same.
* libmath/signbitl.c: Same.

From-SVN: r143406

15 years agore PR c++/36334 (typedef to function type leads to problems)
Jason Merrill [Thu, 15 Jan 2009 18:14:32 +0000 (13:14 -0500)]
re PR c++/36334 (typedef to function type leads to problems)

        PR c++/36334
        PR c++/37646
        * tree.c (lvalue_p_1): Handle BASELINK.  A COMPONENT_REF to
        a function isn't necessarily an lvalue. Take tree, not const_tree.
        (lvalue_p, real_lvalue_p): Take tree, not const_tree.
        * typeck.c (lvalue_or_else): Likewise.
        * cp-tree.h: Adjust prototypes.

From-SVN: r143404

15 years agore PR c++/38357 (ICE cc1plus (Segmentation fault))
Steve Ellcey [Thu, 15 Jan 2009 18:09:04 +0000 (18:09 +0000)]
re PR c++/38357 (ICE cc1plus (Segmentation fault))

PR c++/38357
* g++.dg/template/crash87.C: New test.

From-SVN: r143403

15 years agore PR c++/38357 (ICE cc1plus (Segmentation fault))
Steve Ellcey [Thu, 15 Jan 2009 18:07:46 +0000 (18:07 +0000)]
re PR c++/38357 (ICE cc1plus (Segmentation fault))

PR c++/38357
* pt.c (tsubst): Check for NULL args.

From-SVN: r143402

15 years agore PR middle-end/37843 (unaligned stack in main due to tail call optimization)
H.J. Lu [Thu, 15 Jan 2009 15:44:41 +0000 (15:44 +0000)]
re PR middle-end/37843 (unaligned stack in main due to tail call optimization)

gcc/

2009-01-15  H.J. Lu  <hongjiu.lu@intel.com>
    Joey Ye  <joey.ye@intel.com>

PR middle-end/37843
* cfgexpand.c (expand_stack_alignment): Don't update stack
boundary nor check incoming stack boundary here.
(gimple_expand_cfg): Update stack boundary and check incoming
stack boundary here.

gcc/testsuite/

2009-01-15  H.J. Lu  <hongjiu.lu@intel.com>

PR middle-end/37843
* gcc.target/i386/pr37843-3.c: Replace _Decimal128 with __m128.

Co-Authored-By: Joey Ye <joey.ye@intel.com>
From-SVN: r143400

15 years agodce.c (find_call_stack_args, [...]): Fixed comments.
Kenneth Zadeck [Thu, 15 Jan 2009 15:27:20 +0000 (15:27 +0000)]
dce.c (find_call_stack_args, [...]): Fixed comments.

2009-01-15  Kenneth Zadeck <zadeck@naturalbridge.com>

* dce.c (find_call_stack_args, delete_unmarked_insns): Fixed
comments.

From-SVN: r143398

15 years agoacinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME], [...]): Remove.
Chris Fairles [Thu, 15 Jan 2009 14:01:04 +0000 (14:01 +0000)]
acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME], [...]): Remove.

2009-01-15  Chris Fairles  <cfairles@gcc.gnu.org>
    Paolo Carlini  <paolo.carlini@oracle.com>

* acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME],
[GLIBCXX_CHECK_NANOSLEEP]): Remove.
([GLIBCXX_ENABLE_LIBSTDCXX_TIME]): Add.
* configure.ac: Adjust.
* doc/xml/manual/configure.xml: Update.
* testsuite/lib/libstdc++.exp (check_v3_target_sched_yield): Add.
* testsuite/lib/dg-options.exp (dg-require-sched-yield): Add.
* testsuite/30_threads/thread/this_thread/2.cc: Use the latter.
* configure: Regenerate.
* config.h.in: Likewise.

* src/thread.cc (thread::thread(), thread::~thread, thread::get_id,
thread::joinable, thread::swap, this_thread::get_id,
this_thread::yield): Define inline...
* include/std/thread: ... here.
* config/abi/pre/gnu.ver: Adjust.

Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com>
From-SVN: r143397

15 years agoconfigure.ac (ia64*-*-*vms*): Add case with no gdb or ld support.
Douglas B Rupp [Thu, 15 Jan 2009 13:14:16 +0000 (13:14 +0000)]
configure.ac (ia64*-*-*vms*): Add case with no gdb or ld support.

* configure.ac (ia64*-*-*vms*): Add case with no gdb or ld support.
* configure: Regenerate.

From-SVN: r143394

15 years agore PR c++/38636 (ICE with broken ctor declaration)
Dodji Seketeli [Thu, 15 Jan 2009 13:01:36 +0000 (13:01 +0000)]
re PR c++/38636 (ICE with broken ctor declaration)

gcc/cp/ChangeLog:
2009-01-13  Dodji Seketeli  <dodji@redhat.com>

PR c++/38636
* name-lookup.c (pushtag): Don't create members to types that are not
being created.

gcc/testsuite/ChangeLog:
2009-01-13  Dodji Seketeli  <dodji@redhat.com>

PR c++/38636
* g++.dg/parse/crash50.C: New test.

From-SVN: r143392

15 years agore PR rtl-optimization/38245 (stack corruption when a call is removed but not the...
Jakub Jelinek [Thu, 15 Jan 2009 08:07:38 +0000 (09:07 +0100)]
re PR rtl-optimization/38245 (stack corruption when a call is removed but not the outgoing argument pushes)

PR rtl-optimization/38245
* calls.c (expand_call): Add stack arguments to
CALL_INSN_FUNCTION_USAGE even for pure calls (when
ACCUMULATE_OUTGOING_ARGS) and even for args partially passed
in regs and partially in memory or BLKmode arguments.
(emit_library_call_value_1): Add stack arguments to
CALL_INSN_FUNCTION_USAGE even for pure calls (when
ACCUMULATE_OUTGOING_ARGS).
* dce.c: Include tm_p.h.
(find_call_stack_args): New function.
(deletable_insn_p): Call it for CALL_P insns.  Add ARG_STORES
argument.
(mark_insn): Call find_call_stack_args for CALL_Ps.
(prescan_insns_for_dce): Walk insns backwards in bb rather than
forwards.  Allocate and free arg_stores bitmap if needed, pass it
down to deletable_insn_p, don't mark stores set in arg_stores
bitmap, clear the bitmap at the beginning of each bb.
* Makefile.in (dce.o): Depend on $(TM_P_H).

* gcc.dg/pr38245-3.c: New test.
* gcc.dg/pr38245-3.h: New file.
* gcc.dg/pr38245-4.c: New file.
* gcc.dg/pr38364.c: New test.

From-SVN: r143387

15 years agoFix PR22599
Michael Meissner [Wed, 14 Jan 2009 22:40:34 +0000 (22:40 +0000)]
Fix PR22599

From-SVN: r143386

15 years agoChangeLog-2007: Clean out svn merge droppings.
Steven G. Kargl [Wed, 14 Jan 2009 21:22:53 +0000 (21:22 +0000)]
ChangeLog-2007: Clean out svn merge droppings.

2009-01-14  Steven G. Kargl  <kargl@gcc.gnu.org>

        * ChangeLog-2007: Clean out svn merge droppings.

From-SVN: r143385

15 years agore PR middle-end/38431 ([graphite] several ICEs with CP2K (summary))
Sebastian Pop [Wed, 14 Jan 2009 21:11:05 +0000 (21:11 +0000)]
re PR middle-end/38431 ([graphite] several ICEs with CP2K (summary))

2009-01-14  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/38431
* graphite.c (get_vdef_before_scop, scop_adjust_vphi): New.
(scop_adjust_phis_for_liveouts): Call scop_adjust_vphi.
(gloog): Do not call cleanup_tree_cfg.
(graphite_transform_loops): Call cleanup_tree_cfg after all
scops have been code generated.

From-SVN: r143384

15 years agomips.exp (mips_option_tests(-mips16)): Make the sequence PC-relative.
Adam Nemet [Wed, 14 Jan 2009 19:46:38 +0000 (19:46 +0000)]
mips.exp (mips_option_tests(-mips16)): Make the sequence PC-relative.

* gcc.target/mips/mips.exp (mips_option_tests(-mips16)): Make the
sequence PC-relative.

From-SVN: r143382

15 years agolong-calls-1.c: Tolerate the lack of sibling calls and/or PLT markers.
Mark Mitchell [Wed, 14 Jan 2009 19:37:02 +0000 (19:37 +0000)]
long-calls-1.c: Tolerate the lack of sibling calls and/or PLT markers.

* gcc.target/arm/long-calls-1.c: Tolerate the lack of sibling
calls and/or PLT markers.
* gcc.target/arm/long-calls-2.c: Tolerate the lack of sibling
calls and/or PLT markers.
* gcc.target/arm/long-calls-3.c: Tolerate the lack of sibling
calls and/or PLT markers.
* gcc.target/arm/long-calls-4.c: Tolerate the lack of sibling
calls and/or PLT markers.

From-SVN: r143381

15 years agoFix non-UTF-8 sequence in ChangeLog-2006 and left-over
Jakub Jelinek [Wed, 14 Jan 2009 18:57:55 +0000 (19:57 +0100)]
Fix non-UTF-8 sequence in ChangeLog-2006 and left-over
conflict marker in testsuite/ChangeLog-2008.

From-SVN: r143380

15 years agotarget-supports.exp (check_effective_target_powerpc_spe_nocache): New function.
Daniel Jacobowitz [Wed, 14 Jan 2009 17:58:13 +0000 (17:58 +0000)]
target-supports.exp (check_effective_target_powerpc_spe_nocache): New function.

* lib/target-supports.exp (check_effective_target_powerpc_spe_nocache):
New function.
* gcc.target/powerpc/20030218-1.c: Skip if not powerpc_spe_nocache
and use consistent CFLAGS.
* gcc.target/powerpc/20030505.c: Likewise.
* gcc.target/powerpc/20081204-1.c: Likewise.
* gcc.target/powerpc/ppc-spe.c: Likewise.
* gcc.target/powerpc/spe1.c: Likewise.
* g++.dg/ext/spe1.C: Likewise.
* g++.dg/other/opaque-1.C: Likewise.
* g++.dg/other/opaque-2.C: Likewise.
* g++.dg/other/opaque-3.C: Likewise.

Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
Co-Authored-By: Nathan Froyd <froydnj@codesourcery.com>
From-SVN: r143379

15 years agovect-105.c: Prevent compiler from hoisting abort out of loop.
Mark Mitchell [Wed, 14 Jan 2009 17:54:07 +0000 (17:54 +0000)]
vect-105.c: Prevent compiler from hoisting abort out of loop.

* gcc.dg/vect/vect-105.c: Prevent compiler from hoisting abort
out of loop.

From-SVN: r143378

15 years agopr38811.C: New file.
Vladimir Makarov [Wed, 14 Jan 2009 17:33:48 +0000 (17:33 +0000)]
pr38811.C: New file.

2009-01-14  Vladimir Makarov  <vmakarov@redhat.com>

* testsuite/g++.dg/torture/pr38811.C: New file.

From-SVN: r143376

15 years agogty.texi (Invoking the garbage collector): Added new node and section documenting...
Basile Starynkevitch [Wed, 14 Jan 2009 17:08:47 +0000 (17:08 +0000)]
gty.texi (Invoking the garbage collector): Added new node and section documenting ggc_collect.

2009-01-14  Basile Starynkevitch  <basile@starynkevitch.net>
* doc/gty.texi (Invoking the garbage collector): Added new node
and section documenting ggc_collect.

From-SVN: r143375

15 years agore PR tree-optimization/38826 (points-to result wrong for reads from call-clobbered...
Richard Guenther [Wed, 14 Jan 2009 16:45:22 +0000 (16:45 +0000)]
re PR tree-optimization/38826 (points-to result wrong for reads from call-clobbered vars)

2009-01-14  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38826
PR middle-end/38477
* tree-ssa-structalias.c (emit_alias_warning): Emit the pointer
initialization notes only if we actually emitted a warning.
(intra_create_variable_infos): Add constraints for a result decl
that is passed by hidden reference.
(build_pred_graph): Mark all related variables non-direct on
address-taking.

* gcc.dg/Wstrict-aliasing-bogus-pta-1.c: New testcase.

From-SVN: r143374

15 years agopr38786.c: Fix commit problem.
Sebastian Pop [Wed, 14 Jan 2009 15:29:39 +0000 (15:29 +0000)]
pr38786.c: Fix commit problem.

2009-01-13  Sebastian Pop  <sebastian.pop@amd.com>

* gcc.dg/graphite/pr38786.c: Fix commit problem.

From-SVN: r143373

15 years agooops - omitted from previous delta
Nick Clifton [Wed, 14 Jan 2009 13:04:25 +0000 (13:04 +0000)]
oops - omitted from previous delta

From-SVN: r143370

15 years agore PR c++/37862 (Parenthesised indirection alters class member access)
Nick Clifton [Wed, 14 Jan 2009 13:00:21 +0000 (13:00 +0000)]
re PR c++/37862 (Parenthesised indirection alters class member access)

        PR c++/37862
        * parser.c: Pass cp_id_kind computed in
        cp_parser_postfix_dot_deref_expression to
        cp_parser_primary_expression.

        * g++.cp/parse/pr37862.C: New test.

From-SVN: r143369

15 years agoMAINTAINERS (Write After Approval): Add myself.
Ramana Radhakrishnan [Wed, 14 Jan 2009 12:49:05 +0000 (12:49 +0000)]
MAINTAINERS (Write After Approval): Add myself.

2009-01-12  Ramana Radhakrishnan  <ramana.r@gmail.com>

* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r143367

15 years agoira-conflicts.c: Include addresses.h for the definition of base_reg_class.
Nick Clifton [Wed, 14 Jan 2009 11:28:01 +0000 (11:28 +0000)]
ira-conflicts.c: Include addresses.h for the definition of base_reg_class.

        * ira-conflicts.c: Include addresses.h for the definition of
        base_reg_class.
        (ira_build_conflicts): Use base_reg_class instead of
        BASE_REG_CLASS.
        * Makefile.in: Add a dependency of ira-conflicts.o on
        addresses.h.

From-SVN: r143365

15 years agore PR target/38811 (internal compiler error: in compensate_edge, at reg-stack.c:2754)
Vladimir Makarov [Wed, 14 Jan 2009 03:35:35 +0000 (03:35 +0000)]
re PR target/38811 (internal compiler error: in compensate_edge, at reg-stack.c:2754)

2009-01-13  Vladimir Makarov  <vmakarov@redhat.com>

PR target/38811
* Makefile.in (ira-lives.o): Add except.h.

* ira-lives.c: Include except.h.
(process_bb_node_lives): Process can_throw_internal.

From-SVN: r143362

15 years ago2009-01-14 Julian Brown <julian@codesourcery.com>
Julian Brown [Wed, 14 Jan 2009 01:44:39 +0000 (01:44 +0000)]
2009-01-14  Julian Brown  <julian@codesourcery.com>

* gcc.target/arm/eabi1.c (__eabi_uread4, __eabi_uwrite4)
(__eabi_uread8, __eabi_uwrite8): Change spellings of declarations
to...
(__aeabi_uread4, __aeabi_uwrite4, __aeabi_uread8, __aeabi_uwrite8):
These.

From-SVN: r143361

15 years agoDaily bump.
GCC Administrator [Wed, 14 Jan 2009 00:17:02 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r143358

15 years agore PR rtl-optimization/38774 (ice in df_refs_verify, at df-scan.c:4307)
Jakub Jelinek [Tue, 13 Jan 2009 22:36:06 +0000 (23:36 +0100)]
re PR rtl-optimization/38774 (ice in df_refs_verify, at df-scan.c:4307)

PR rtl-optimization/38774
* combine.c (simplify_set): When undoing cc_use change, don't do
PUT_CODE on the newly created comparison, but instead put back the
old comparison.

* gcc.dg/torture/pr38774.c: New test.

From-SVN: r143355

15 years agoinvoke.texi (ARM Options): Update lists of -mcpu and -march values.
Joseph Myers [Tue, 13 Jan 2009 21:18:50 +0000 (21:18 +0000)]
invoke.texi (ARM Options): Update lists of -mcpu and -march values.

* doc/invoke.texi (ARM Options): Update lists of -mcpu and -march
values.  Remove duplicate arm8 entry.

From-SVN: r143353

15 years agore PR c++/38795 (ICE with reinterpret_cast and variadic templates)
Jakub Jelinek [Tue, 13 Jan 2009 18:11:50 +0000 (19:11 +0100)]
re PR c++/38795 (ICE with reinterpret_cast and variadic templates)

PR c++/38795
* tree.c (cp_walk_subtrees): Handle REINTERPRET_CAST_EXPR,
STATIC_CAST_EXPR, CONST_CAST_EXPR and DYNAMIC_CAST_EXPR the same
as CAST_EXPR.

* g++.dg/cpp0x/pr38795.C: New test.

From-SVN: r143351

15 years agoaltivec-consts.c: Run if vmx_hw, compile otherwise.
Daniel Jacobowitz [Tue, 13 Jan 2009 17:52:32 +0000 (17:52 +0000)]
altivec-consts.c: Run if vmx_hw, compile otherwise.

* gcc.target/powerpc/altivec-consts.c: Run if vmx_hw, compile
otherwise.  Do not check for AltiVec at runtime.
* gcc.target/powerpc/altivec-varargs-1.c: Likewise.
* gcc.target/powerpc/altivec-vec-merge.c: Likewise.
* gcc.target/powerpc/altivec-1.c: Likewise.
* gcc.target/powerpc/altivec-3.c: Likewise.
* gcc.target/powerpc/altivec-10.c: Likewise.
* gcc.target/powerpc/altivec-12.c: Likewise.
* gcc.target/powerpc/altivec-24.c: Likewise.
* gcc.target/powerpc/altivec-cell-2.c: Likewise.
* gcc.target/powerpc/altivec-cell-3.c: Likewise.
* gcc.target/powerpc/altivec-cell-4.c: Likewise.
* gcc.target/powerpc/pr35907.c: Likewise.
* gcc.target/powerpc/altivec-cell-8.c: Run if cell_hw, compile
otherwise.  Do not check for Cell at runtime.
* gcc.target/powerpc/altivec_check.h: Delete.

* g++.dg/ext/altivec-2.C: Do not check for AltiVec at runtime.
* g++.dg/ext/altivec-3.C: Run if vmx_hw, compile otherwise.  Do
not check for AltiVec at runtime.
* g++.dg/ext/altivec-cell-2.C: Likewise.
* g++.dg/ext/altivec-cell-3.C: Likewise.
* g++.dg/ext/altivec-cell-4.C: Likewise.
* g++.dg/eh/simd-2.C: Only use -maltivec if vmx_hw.
* g++.dg/eh/check-vect.h (sig_ill_handler): Remove AltiVec runtime
check.
* g++.dg/ext/altivec_check.h: Delete.

Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
Co-Authored-By: Nathan Froyd <froydnj@codesourcery.com>
From-SVN: r143350

15 years agoaltivec-macros.c: Require a powerpc_altivec_ok effective target.
Nathan Froyd [Tue, 13 Jan 2009 17:50:39 +0000 (17:50 +0000)]
altivec-macros.c: Require a powerpc_altivec_ok effective target.

* gcc.target/powerpc/altivec-macros.c: Require a powerpc_altivec_ok
effective target.  Adjust line numbers accordingly.

From-SVN: r143349

15 years agosse-10.c: Pass -mno-omit-leaf-frame-pointer.
Mark Mitchell [Tue, 13 Jan 2009 16:48:26 +0000 (16:48 +0000)]
sse-10.c: Pass -mno-omit-leaf-frame-pointer.

2009-01-13  Mark Mitchell  <mark@codesourcery.com>

* gcc.target/i386/sse-10.c: Pass -mno-omit-leaf-frame-pointer.

From-SVN: r143345

15 years agore PR middle-end/38786 ([graphite] ICE with -floop-block in verify_ssa)
Sebastian Pop [Tue, 13 Jan 2009 15:33:13 +0000 (15:33 +0000)]
re PR middle-end/38786 ([graphite] ICE with -floop-block in verify_ssa)

2009-01-13  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/38786
* gcc.dg/graphite/pr38786.c: New.
* graphite.c (expand_scalar_variables_ssa_name): New, outlined from
the SSA_NAME case of expand_scalar_variables_expr.
Set the type of an expression to the type of its assign statement.
(expand_scalar_variables_expr): Also gather the scalar computation
used to index the memory access.  Do not pass loop_p.
Fix comment.  Stop recursion on tcc_constant or tcc_declaration.
(expand_scalar_variables_stmt): Pass to expand_scalar_variables_expr
the gimple_stmt_iterator where it inserts new code.  Do not pass loop_p.
(copy_bb_and_scalar_dependences): Do not pass loop_p.
(translate_clast): Update call to copy_bb_and_scalar_dependences.

From-SVN: r143341

15 years agographite.h (debug_value): Removed.
Sebastian Pop [Tue, 13 Jan 2009 15:27:09 +0000 (15:27 +0000)]
graphite.h (debug_value): Removed.

2009-01-13  Sebastian Pop  <sebastian.pop@amd.com>

* graphite.h (debug_value): Removed.
* graphite.c (debug_value): Removed.

From-SVN: r143340

15 years agoarm.c (output_move_double): Don't synthesize thumb-2 ldrd/strd with two 32-bit instru...
Richard Earnshaw [Tue, 13 Jan 2009 14:31:56 +0000 (14:31 +0000)]
arm.c (output_move_double): Don't synthesize thumb-2 ldrd/strd with two 32-bit instructions.

* arm.c (output_move_double): Don't synthesize thumb-2 ldrd/strd with
two 32-bit instructions.

From-SVN: r143339

15 years agoarm.c (struct processors): Pass for speed down into cost helper functions.
Richard Earnshaw [Tue, 13 Jan 2009 14:09:50 +0000 (14:09 +0000)]
arm.c (struct processors): Pass for speed down into cost helper functions.

* arm.c (struct processors): Pass for speed down into cost helper
functions.
(const_ok_for_op): Handle COMPARE and inequality nodes.
(arm_rtx_costs_1): Rewrite.
(arm_size_rtx_costs): Update prototype.
(arm_rtx_costs): Pass speed down to helper functions.
(arm_slowmul_rtx_costs): Rework cost calculations.
(arm_fastmul_rtx_costs, arm_xscale_rtx_costs): Likewise.
(arm_9e_rtx_costs): Likewise.

From-SVN: r143338

15 years agohash_data_map_rand.cc: Add dg-timeout-factor 2.0.
Uros Bizjak [Tue, 13 Jan 2009 12:55:08 +0000 (13:55 +0100)]
hash_data_map_rand.cc: Add dg-timeout-factor 2.0.

* testsuite/ext/pb_ds/regression/hash_data_map_rand.cc:
Add dg-timeout-factor 2.0.
* testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Ditto.

From-SVN: r143335

15 years agot-softfp: New file.
Ben Elliston [Tue, 13 Jan 2009 11:53:41 +0000 (11:53 +0000)]
t-softfp: New file.

* config/t-softfp: New file.
* config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
(powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.

From-SVN: r143334

15 years ago* scripts/extract_symvers: Escape [ and ] brackets.
Uros Bizjak [Tue, 13 Jan 2009 08:30:12 +0000 (09:30 +0100)]
* scripts/extract_symvers: Escape [ and ] brackets.

From-SVN: r143333

15 years agoalpha.c (alpha_legitimate_address_p): Explicit relocations of local symbols wider...
Uros Bizjak [Tue, 13 Jan 2009 08:04:11 +0000 (09:04 +0100)]
alpha.c (alpha_legitimate_address_p): Explicit relocations of local symbols wider than UNITS_PER_WORD are not valid.

* config/alpha/alpha.c (alpha_legitimate_address_p): Explicit
relocations of local symbols  wider than UNITS_PER_WORD are not valid.
(alpha_legitimize_address): Do not split local symbols wider than
UNITS_PER_WORD into HIGH/LO_SUM parts.

testsuite/ChangeLog:

Revert:
2009-01-05  Uros Bizjak  <ubizjak@gmail.com>

* gcc.dg/compat/struct-layout-1_generate.c (dg-options): Add -mieee
for alpha*-*-* targets.
* g++.dg/compat/struct-layout-1_generate.c (dg-options): Ditto.

From-SVN: r143332

15 years agoextract_symvers: Add sed script to remove ' [<other>: xx] ' field from readelf output.
Uros Bizjak [Tue, 13 Jan 2009 07:42:26 +0000 (08:42 +0100)]
extract_symvers: Add sed script to remove ' [<other>: xx] ' field from readelf output.

* scripts/extract_symvers: Add sed script to remove ' [<other>: xx] '
field from readelf output.

From-SVN: r143331

15 years agore PR bootstrap/38580 (Bootstrap broken on mingw32)
Danny Smith [Tue, 13 Jan 2009 07:40:51 +0000 (07:40 +0000)]
re PR bootstrap/38580 (Bootstrap broken on mingw32)

PR bootstrap/38580
* gcc.c (process_command): Replace call to execvp with calls
to pex_one and exit.

From-SVN: r143330

15 years agore PR libfortran/38772 (r143102 reveals missed error checking on floating point reads)
Jerry DeLisle [Tue, 13 Jan 2009 05:53:07 +0000 (05:53 +0000)]
re PR libfortran/38772 (r143102 reveals missed error checking on floating point reads)

2009-01-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/38772
* gfortran.dg/fmt_bz_bn_err.f: New test.

From-SVN: r143328

15 years agore PR libfortran/38772 (r143102 reveals missed error checking on floating point reads)
Jerry DeLisle [Tue, 13 Jan 2009 05:40:36 +0000 (05:40 +0000)]
re PR libfortran/38772 (r143102 reveals missed error checking on floating point reads)

2009-01-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/38772
* io/read.c (read_f): Clean up loop conditions for BZ/BN,
allowing proper digit testing. White space fix.

From-SVN: r143327

15 years agoadd missing target-supports.exp commit
Nathan Froyd [Tue, 13 Jan 2009 03:14:32 +0000 (03:14 +0000)]
add missing target-supports.exp commit

From-SVN: r143326

15 years ago* gcc.target/powerpc/ppc-spe64-1.c: Add dg-error handler.
Nathan Froyd [Tue, 13 Jan 2009 03:11:48 +0000 (03:11 +0000)]
* gcc.target/powerpc/ppc-spe64-1.c: Add dg-error handler.

From-SVN: r143325

15 years agotarget-supports.exp (check_effective_target_powerpc64): New.
Daniel Jacobowitz [Tue, 13 Jan 2009 03:05:10 +0000 (03:05 +0000)]
target-supports.exp (check_effective_target_powerpc64): New.

* lib/target-supports.exp (check_effective_target_powerpc64): New.
* gcc.target/powerpc/darwin-longlong.c: Explicitly require 64-bit
instruction support.  Do not check for it at runtime.

From-SVN: r143324

15 years agore PR target/38384 (shared link/execute fails for cross gcc from linux to target...
Benjamin Kosnik [Tue, 13 Jan 2009 01:49:30 +0000 (01:49 +0000)]
re PR target/38384 (shared link/execute fails for cross gcc from linux to target hppa64-hp-hpux11.00)

2009-01-12  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/38384
* crossconfig.m4 (hpux): Update for 10.20, 11, 11.20.
* configure: Regenerate.

2009-01-12  Benjamin Kosnik  <bkoz@redhat.com>

* crossconfig.m4 (linux): Add GCC_CHECK_TLS to define _GLIBCXX_HAVE_TLS.
Use GLIBCXX_CHECK_COMPILER_FEATURES to compute SECTION_FLAGS.

From-SVN: r143322

15 years agotweak comment
Jason Merrill [Tue, 13 Jan 2009 01:29:48 +0000 (20:29 -0500)]
tweak comment

From-SVN: r143321

15 years agore PR c++/35109 (ICE in lookup_name_real, at cp/name-lookup.c:4056)
Jason Merrill [Tue, 13 Jan 2009 01:23:34 +0000 (20:23 -0500)]
re PR c++/35109 (ICE in lookup_name_real, at cp/name-lookup.c:4056)

        PR c++/35109
        * name-lookup.c (lookup_name_real): Keep looking past a hidden
        binding.

Co-Authored-By: Steve Ellcey <sje@cup.hp.com>
From-SVN: r143320

15 years agoDaily bump.
GCC Administrator [Tue, 13 Jan 2009 00:16:57 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r143318

15 years agore PR c++/36019 (template parameter does not hide class name)
Dodji Seketeli [Mon, 12 Jan 2009 22:47:49 +0000 (22:47 +0000)]
re PR c++/36019 (template parameter does not hide class name)

gcc/cp/ChangeLog:
2009-01-12  Dodji Seketeli  <dodji@redhat.com>

PR c++/36019
* pt.c (parameter_of_template_p): New function.
* cp-tree.h: Declare it.
* name-lookup.c (binding_to_template_parms_of_scope_p): New
function.
(outer_binding): Take template parameters in account when looking for
a name binding.

gcc/testsuite/ChangeLog:
2009-01-12  Dodji Seketeli  <dodji@redhat.com>

PR c++/36019
* g++.dg/lookup/hidden-class12.C: New test.
* g++.dg/lookup/hidden-class13.C: New test.
* g++.dg/lookup/hidden-class14.C: New test.
* g++.dg/lookup/hidden-class15.C: New test.
* g++.dg/lookup/hidden-class16.C: New test.

From-SVN: r143315

15 years agoMAINTAINERS: Add myself to reviewers (Fortran).
Steven G. Kargl [Mon, 12 Jan 2009 21:56:28 +0000 (21:56 +0000)]
MAINTAINERS: Add myself to reviewers (Fortran).

2009-01-12  Steven G. Kargl  <sgk@troutmask.apl.washington.edu>

* MAINTAINERS: Add myself to reviewers (Fortran).

From-SVN: r143312

15 years agore PR tree-optimization/38515 (Disabling PPL/CLOOG with configure does not work)
Sebastian Pop [Mon, 12 Jan 2009 21:36:58 +0000 (21:36 +0000)]
re PR tree-optimization/38515 (Disabling PPL/CLOOG with configure does not work)

2009-01-12  Sebastian Pop <sebastian.pop@amd.com>

PR tree-optimization/38515
* configure.ac (cloog-polylib): Removed.
(with_ppl, with_cloog): Test for "no".
* configure: Regenerated.

From-SVN: r143311

15 years agowo_prof_single_str_global.c: Mask return value.
Mark Mitchell [Mon, 12 Jan 2009 21:29:43 +0000 (21:29 +0000)]
wo_prof_single_str_global.c: Mask return value.

* gcc.dg/struct/wo_prof_single_str_global.c: Mask return value.
* gcc.dg/struct/wo_prof_single_str_local.c: Mask return value.
* gcc.dg/struct/wo_prof_single_str_pointer.c: Mask return value.

From-SVN: r143309

15 years agore PR c++/31488 (va_list considered non-POD)
Jason Merrill [Mon, 12 Jan 2009 21:07:46 +0000 (16:07 -0500)]
re PR c++/31488 (va_list considered non-POD)

        PR c++/31488
        * tree.c (pod_type_p): Return 1 for structs created by the back end.

From-SVN: r143308

15 years agoppc-spe.c: Compile for all EABI targets.
Daniel Jacobowitz [Mon, 12 Jan 2009 20:53:18 +0000 (20:53 +0000)]
ppc-spe.c: Compile for all EABI targets.

* gcc.target/powerpc/ppc-spe.c: Compile for all EABI targets.
Explicitly enable SPE.
* gcc.target/powerpc/20030505.c: Likewise.  Add dg-message
directive.

* gcc.target/powerpc/20030218-1.c: Pass -mfloat-gprs=single.
Expect -flax-vector-conversions message.  Adjust incompatible
types errors.
* gcc.target/powerpc/spe1.c: Pass -mspe and -mfloat-gprs=single.
Make Foo extern.

* gcc.dg/cpp/assert4.c: Recognize __PPC__.

* g++.dg/other/opaque-1.C: Run on targets with SPE.

* g++.dg/ext/spe-1.C: Pass -mspe and -mfloat-gprs=single.
* g++.dg/other/opaque-2.C: Likewise.
* g++.dg/other/opaque-3.C: Likewise.

From-SVN: r143307

15 years agore PR target/29141 (static constructors beyond 64k fail)
Anatoly Sokolov [Mon, 12 Jan 2009 20:41:57 +0000 (23:41 +0300)]
re PR target/29141 (static constructors beyond 64k fail)

PR target/29141
* config/avr/t-avr (LIB1ASMFUNCS): Add _tablejump_elpm.
* config/avr/libgcc.S (__do_global_ctors, __do_global_dtors): Add
variant for devices with 3-byte PC.
(__tablejump_elpm__) : New.

From-SVN: r143306

15 years agore PR c/32041 (offsetof buglet)
Jakub Jelinek [Mon, 12 Jan 2009 19:44:33 +0000 (20:44 +0100)]
re PR c/32041 (offsetof buglet)

PR c/32041
* c-parser.c (c_parser_postfix_expression): Allow `->' in
offsetof member-designator, handle it as `[0].'.

* parser.c (cp_parser_builtin_offsetof): Allow `->' in
offsetof member-designator, handle it as `[0].'.

* gcc.dg/pr32041.c: New test.
* g++.dg/parse/offsetof9.C: New test.

From-SVN: r143305

15 years agosimd1.C: Ignore irrelevant warning.
Daniel Jacobowitz [Mon, 12 Jan 2009 19:28:58 +0000 (19:28 +0000)]
simd1.C: Ignore irrelevant warning.

* g++.dg/conversion/simd1.C: Ignore irrelevant warning.
* g++.dg/ext/attribute-test-1.C: Likewise.
* g++.dg/ext/attribute-test-2.C: Likewise.
* g++.dg/ext/attribute-test-3.C: Likewise.
* g++.dg/ext/attribute-test-4.C: Likewise.

Co-Authored-By: Nathan Froyd <froydnj@codesourcery.com>
From-SVN: r143304

15 years agodecl.c (gnat_to_gnu_entity): Really strip only useless conversions around renamed...
Eric Botcazou [Mon, 12 Jan 2009 19:14:43 +0000 (19:14 +0000)]
decl.c (gnat_to_gnu_entity): Really strip only useless conversions around renamed objects.

* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Really strip
only useless conversions around renamed objects.

From-SVN: r143303

15 years agonatUnsafe.cc (spinlock contructor): Call sched_yield().
Andrew Haley [Mon, 12 Jan 2009 17:39:10 +0000 (17:39 +0000)]
natUnsafe.cc (spinlock contructor): Call sched_yield().

2009-01-12  Andrew Haley  <aph@redhat.com>

* sun/misc/natUnsafe.cc (spinlock contructor): Call sched_yield().

From-SVN: r143302

15 years agopa.c (pa_asm_output_mi_thunk): Use pc-relative branch to thunk function when...
John David Anglin [Mon, 12 Jan 2009 17:29:25 +0000 (17:29 +0000)]
pa.c (pa_asm_output_mi_thunk): Use pc-relative branch to thunk function when...

* pa.c (pa_asm_output_mi_thunk): Use pc-relative branch to thunk
function when not using named sections on targets with named sections
if branch distance is less than 262132.

From-SVN: r143300

15 years agoRotated ChangeLogs.
Andrew Haley [Mon, 12 Jan 2009 16:45:32 +0000 (16:45 +0000)]
Rotated ChangeLogs.

From-SVN: r143297

15 years agoRotate ChangeLogs.
Andrew Haley [Mon, 12 Jan 2009 16:42:19 +0000 (16:42 +0000)]
Rotate ChangeLogs.

From-SVN: r143296

15 years ago* sv.po: Update.
Joseph Myers [Mon, 12 Jan 2009 16:26:27 +0000 (16:26 +0000)]
* sv.po: Update.

From-SVN: r143295