aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-01-05stabs-1.m: Allow labels to be begin with $L as well as .L.Richard Sandiford2-1/+5
gcc/testsuite/ * objc.dg/stabs-1.m: Allow labels to be begin with $L as well as .L. From-SVN: r131341
2008-01-05c-omp.c (check_omp_for_incr_expr): Handle CONVERT_EXPR.Richard Sandiford2-0/+5
gcc/ * c-omp.c (check_omp_for_incr_expr): Handle CONVERT_EXPR. From-SVN: r131340
2008-01-05mips.c (mips_in_small_data_p): Reinstate size > 0 check.Richard Sandiford2-1/+7
gcc/ * config/mips/mips.c (mips_in_small_data_p): Reinstate size > 0 check. From-SVN: r131339
2008-01-05re PR fortran/34676 (IO error delayed)Jerry DeLisle2-0/+22
2008-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/34676 * gfortran.dg/list_read_8.f90: New test. From-SVN: r131338
2008-01-05re PR fortran/34676 (IO error delayed)Jerry DeLisle2-3/+14
2008-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/34676 * io/list_read.c (next_char): Only save the EOF condition for later if advance="no". From-SVN: r131337
2008-01-05re PR tree-optimization/34618 (ICE with -fmudflap and vectorization)Jakub Jelinek4-1/+26
PR tree-optimization/34618 * tree-outof-ssa.c (create_temp): Copy over DECL_GIMPLE_REG_P flag from T. * testsuite/libmudflap.c/pass62-frag.c: New test. From-SVN: r131336
2008-01-05re PR target/34673 (ICE in extract_insn, at recog.c:1990)Uros Bizjak4-25/+24
PR target/34673 * config/i386/i386.c (ix86_emit_swsqrtsf): Swap input operands in the call to gen_rtx_NE. Remove unneeded VECTOR_MODE_P check. Update copyright year. * config/i386/i386.md (rsqrtsf2): Enable for TARGET_SSE_MATH. Update copyright year. * config/i386/sse.md (rsqrtv4sf2): Ditto. Unconditionally expand using NR fixup. From-SVN: r131335
2008-01-05tree-vrp.c (find_conditional_asserts): Remove redundant check that edge does ↵Zhouyi Zhou2-7/+10
not point to current bb before changing... * tree-vrp.c (find_conditional_asserts): Remove redundant check that edge does not point to current bb before changing need_assert. From-SVN: r131333
2008-01-05Daily bump.GCC Administrator1-1/+1
From-SVN: r131331
2008-01-04re PR libgcj/34444 (Class.getEnclosingClass() returns null on enclosed class)Andrew Haley2-1/+8
2008-01-04 Andrew Haley <aph@redhat.com> PR libgcj/34444 * java/lang/natClass.cc (Class::getEnclosingClass): Call getDeclaringClass(). From-SVN: r131326
2008-01-04re PR tree-optimization/34029 (internal compiler error: verify_stmts failed)Richard Guenther5-0/+51
2008-01-04 Richard Guenther <rguenther@suse.de> PR middle-end/34029 * tree-cfg.c (verify_expr): Do not look inside ADDR_EXPRs for verifying purposes if they are is_gimple_min_invariant. * gcc.c-torture/compile/pr34029-1.c: New testcase. * gcc.c-torture/compile/pr34029-2.c: Likewise. From-SVN: r131325
2008-01-04re PR java/17779 (ICE: Seg fault)Andrew Haley2-1/+7
2008-01-04 Andrew Haley <aph@redhat.com> PR java/17779 * jcf-parse.c (parse_zip_file_entries): Move decl to compile on C90. From-SVN: r131324
2008-01-04re PR tree-optimization/34448 (ICE in declare_inline_vars, at ↵Aldy Hernandez4-15/+116
tree-inline.c:3243) PR tree-optimization/34448 PR tree-optimization/34465 * gimplify.c (gimplify_init_constructor): Add new parameter notify_temp_creation. Use it. (gimplify_modify_expr_rhs): Take volatiles into account when optimizing constructors. Do not optimize constructors if gimplify_init_constructor will dump to memory. * gcc.dg/tree-ssa/pr32901.c: Tests const volatiles. * gcc.c-torture/compile/pr34448.c: New. From-SVN: r131323
2008-01-04re PR gcov-profile/34609 (ICE with "-ftest-coverage" and references)Jakub Jelinek4-6/+49
PR gcov-profile/34609 * tree-inline.c (declare_return_variable): Set TREE_ADDRESSABLE on return_slot if result is TREE_ADDRESSABLE. * g++.dg/gcov/gcov-6.C: New test. From-SVN: r131322
2008-01-04re PR c++/34611 (Broken diagnostic: 'tree_list' not supported by dump_expr)Paolo Carlini2-1/+12
2008-01-04 Paolo Carlini <pcarlini@suse.de> Jakub Jelinek <jakub@redhat.com> PR c++/34611 * error.c (dump_template_argument): Deal with TREE_LIST. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r131321
2008-01-04re PR tree-optimization/31081 (Inliner messes up SSA for abnormals)Richard Guenther3-0/+77
2008-01-04 Richard Guenther <rguenther@suse.de> PR tree-optimization/31081 * g++.dg/torture/pr31081-1.C: New testcase. * g++.dg/torture/pr31081-2.C: Likewise. From-SVN: r131320
2008-01-04re PR java/17779 (ICE: Seg fault)Andrew Haley2-5/+23
2008-01-03 Andrew Haley <aph@redhat.com> PR java/17779 * jcf-parse.c (parse_zip_file_entries): Unset TYPE_ALIAS_SET if we're about to re-layout the type. From-SVN: r131319
2008-01-04mips.md (sqrt_condition): Tweak comment.Richard Sandiford6-6/+49
gcc/ * config/mips/mips.md (sqrt_condition): Tweak comment. (recip_condition): Likewise. Require TARGET_FLOAT64 for DFmode. gcc/testsuite/ * gcc.target/mips/rsqrt-1.c: Require -mgp64. * gcc.target/mips/rsqrt-2.c: Likewise. * gcc.target/mips/rsqrt-4.c: New test. From-SVN: r131318
2008-01-04re PR fortran/34557 (Rejects valid: EQUIVALENCE of character substrings)Tobias Burnus4-0/+22
2008-01-04 Tobias Burnus <burnus@net-b.de> PR fortran/34557 * primary.c (match_varspec): Gobble whitespace before checking for '('. 2008-01-04 Tobias Burnus <burnus@net-b.de> PR fortran/34557 * gfortran.dg/equiv_substr.f90: New. From-SVN: r131317
2008-01-04Daily bump.GCC Administrator1-1/+1
From-SVN: r131314
2008-01-04re PR c/34457 (ICE with VLA and -combine)Tom Tromey5-2/+43
gcc/ PR c/34457: * c-common.c (c_type_hash): Handle VLAs. gcc/testsuite PR c/34457: * gcc.dg/pr34457-2.c: New file. * gcc.dg/pr34457-1.c: New file. From-SVN: r131311
2008-01-03Tidy.Eric Botcazou1-13/+0
From-SVN: r131310
2008-01-03Fix incorrectly applied patch in last commit.Jan Hubicka1-1/+1
From-SVN: r131309
2008-01-03re PR tree-optimization/34458 (ICE in int_cst_value, at tree.c:8047 at -O3)Sebastian Pop4-39/+22
2008-01-03 Sebastian Pop <sebastian.pop@amd.com> Revert fix for PR tree-optimization/34458. From-SVN: r131308
2008-01-03re PR tree-optimization/34458 (ICE in int_cst_value, at tree.c:8047 at -O3)Sebastian Pop4-16/+55
2008-01-02 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/34458 * tree-data-ref.c (dd_int_cst_value): New. (initialize_matrix_A, compute_overlap_steps_for_affine_1_2, analyze_subscript_affine_affine, build_classic_dist_vector_1, add_multivariate_self_dist, init_omega_eq_with_af): Use dd_int_cst_value instead of int_cst_value. * testsuite/gcc.dg/tree-ssa/pr34458.c: New. From-SVN: r131307
2008-01-03re PR tree-optimization/31081 (Inliner messes up SSA for abnormals)Jan Hubicka3-7/+48
PR tree-optimization/31081 * tree-inline.c (remap_ssa_name): Initialize uninitialized SSA vars to 0 when inlining and not inlining to first basic block. (remap_decl): When var is initialized to 0, don't set default_def. (expand_call_inline): Set entry_bb. * tree-inline.h (copy_body_data): Add entry_bb. From-SVN: r131306
2008-01-03re PR fortran/34565 (internal write to string array fails)Thomas Koenig9-22/+113
2008-01-03 Thomas Koenig <tkoenig@gcc.gnu.org> PR libfortran/34565 * io/io.h: Adjust protoypes for open_internal(), next_array_record() and init_loop_spec(). * io/list_read.c (next_char): Use argument "finished" of next_array_record to check for end on internal file. * io/unit.c: Calculate the offset for an array internal file and supply this informatin to open_internal(). * io/unix.c (open_internal): Set the offset for the internal file on open. * io/transfer.c (init_loop_spec): Calculate the starting record in case of negative strides. Return size of 0 for an empty array. (next_array_record): Use an extra flag to signal that the array is finished. (next_record_r): Use the new flag to next_array_record(). (next_record_w): Likewise. 2008-01-03 Thomas Koenig <tkoenig@gcc.gnu.org> PR libfortran/34565 * gfortran.dg/internal_readwrite_1.f90: New test. * gfortran.dg/internal_readwrite_2.f90: New test. From-SVN: r131305
2008-01-03re PR preprocessor/34602 (Internal error with invalid #line directive)Tom Tromey4-4/+26
libcpp PR preprocessor/34602. * directives.c (do_line): Don't try to spell EOF token. (do_linemarker): Add comment. gcc/testsuite PR preprocessor/34602: * gcc.dg/cpp/pr34602.c: New file. From-SVN: r131304
2008-01-03re PR c++/34619 (ICE with "-fmudflap" and templates)Jakub Jelinek4-1/+32
PR c++/34619 * cgraphunit.c (cgraph_build_static_cdtor): set_cfun back to NULL before returning. * testsuite/libmudflap.c++/pass61-frag.cxx: New test. From-SVN: r131302
2008-01-03re PR ada/34647 (Ada runtime includes unsafe calls to mktemp and tmpname on ↵Tero Koskinen6-9/+96
OpenBSD) 2008-01-03 Tero Koskinen <tero.koskinen@iki.fi> gcc/ada/ PR ada/34647 * adaint.c (__gnat_open_new_temp, __gnat_tmp_name): Use mkstemp() on OpenBSD as is done on other BSD systems. PR ada/34645 * sysdep.c (__gnat_ttyname, getc_immediate_nowait, getc_immediate_common): Treat OpenBSD as FreeBSD regarding immediate I/O. PR ada/34644 * env.c (__gnat_clearenv): Treat OpenBSD as other BSD systems missing clearenv(). PR ada/34646 * init.c (__gnat_error_handler, __gnat_install_handler, __gnat_init_float): Define for OpenBSD. * initialize.c (__gnat_initialize): Define for OpenBSD. From-SVN: r131301
2008-01-03re PR tree-optimization/29484 (tree-inline.c bug with local static vars)Jakub Jelinek6-2/+138
PR tree-optimization/29484 * tree-inline.c (inline_forbidden_p_2): New function. (inline_forbidden_p): Disallow inlining if some static var has an address of a local LABEL_DECL in its initializer. * doc/extend.texi (Labels as Values): Document &&foo behaviour vs. inlining. * gcc.c-torture/execute/20071220-1.c: New test. * gcc.c-torture/execute/20071220-2.c: New test. From-SVN: r131300
2008-01-03re PR tree-optimization/34635 (tree check: expected polynomial_chrec, have ↵Sebastian Pop5-3/+53
integer_cst in add_multivariate_self_dist, at tree-data-ref.c:2813) 2007-12-19 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/34635 * tree-data-ref.c (add_other_self_distances): Make sure that the evolution step is constant. * gcc.dg/tree-ssa/pr34635.c: New. * gcc.dg/tree-ssa/pr34635-1.c: New. From-SVN: r131275
2008-01-03re PR middle-end/34562 (FAIL: g++.dg/other/first-global.C scan-assembler ↵John David Anglin2-1/+7
_GLOBAL__I_foobar) PR middle-end/34562 * g++.dg/other/first-global.C: Also accept _GLOBAL__I_65535_0_foobar in scan-assembler check. From-SVN: r131274
2008-01-03Daily bump.GCC Administrator1-1/+1
From-SVN: r131272
2008-01-03re PR middle-end/34608 (ICE with "-ftest-coverage -fopenmp")Jakub Jelinek4-1/+49
PR middle-end/34608 * omp-low.c (expand_omp_parallel): Purge dead EH edges in the child fn. * g++.dg/gomp/pr34608.C: New test. From-SVN: r131264
2008-01-02Rotate Fortran ChangeLogs.Tobias Schlüter4-8250/+8250
From-SVN: r131261
2008-01-022008-01-02 Paolo Carlini <pcarlini@suse.de>Paolo Carlini2-8244/+8243
* ChangeLog rotation. From-SVN: r131260
2008-01-02tree-sra.c (scalarize_init): Insert the generate_element_init statements ↵Richard Sandiford2-2/+8
after the generate_element_zero... gcc/ * tree-sra.c (scalarize_init): Insert the generate_element_init statements after the generate_element_zero statements. From-SVN: r131258
2008-01-02re PR tree-optimization/34093 (ICE in ssa_operand_alloc, at ↵Richard Guenther4-5/+56
tree-ssa-operands.c:484) 2008-01-02 Richard Guenther <rguenther@suse.de> PR middle-end/34093 PR middle-end/31976 * tree-ssa-operands.c (ssa_operand_alloc): Also allocate a buffer for very large number of operands instead of ICEing. * gcc.c-torture/compile/pr34093.c: New testcase. From-SVN: r131257
2008-01-02(ix86_expand_prologue): Save red-zone while stack probing.Arthur Norman2-4/+16
PR 34013. From-SVN: r131255
2008-01-02c-opts.c (sanitize_cpp_opts): Don't warn about "long long" when in C++0x mode.Douglas Gregor6-3/+29
2008-01-01 Douglas Gregor <doug.gregor@gmail.com> * c-opts.c (sanitize_cpp_opts): Don't warn about "long long" when in C++0x mode. 2008-01-01 Douglas Gregor <doug.gregor@gmail.com> * parser.c (cp_parser_check_decl_spec): Don't warn about "long long" in C++0x mode; change the warning to note that "long long" is only unsupported in C++98 mode. 2008-01-01 Douglas Gregor <doug.gregor@gmail.com> * g++.dg/cpp0x/long_long.C: New. From-SVN: r131254
2008-01-02Daily bump.GCC Administrator1-1/+1
From-SVN: r131252
2008-01-01re PR libmudflap/26442 (ICE on valid unreachable code (and no name) when ↵Volker Reichelt4-2/+29
compiling with -fmudflap) PR libmudflap/26442 * tree-mudflap.c (mx_register_decls): Guard warning by !DECL_ARTIFICIAL check. * testsuite/libmudflap.c++/pass60-frag.cxx: New test. From-SVN: r131249
2008-01-01tag_manager.c: Include stdlib.h.Andrew Pinski3-3/+10
2008-01-01 Andrew Pinski <andrew_pinski@playstation.sony.com> * gcc.target/spu/tag_manager.c : Include stdlib.h. * gcc.target/spu/Wmain.c: Fix the line numbers for the warning on the function main. From-SVN: r131248
2008-01-01re PR libstdc++/34095 (parallel mode: segfault in std::sort)Paolo Carlini9-17/+68
2008-01-01 Paolo Carlini <pcarlini@suse.de> PR libstdc++/34095 * include/parallel/multiway_merge.h (multiway_merge_bubble, parallel_multiway_merge): Together with ::operator new use ::operator delete. * include/parallel/losertree.h (LoserTree<>::~LoserTree): Likewise. * include/parallel/quicksort.h (parallel_sort_qs_divide): Likewise. * include/parallel/random_shuffle.h (parallel_random_shuffle_drs_pu, sequential_random_shuffle): Likewise. * include/parallel/tree.h (_M_not_sorted_bulk_insertion_construction): Likewise. * include/parallel/multiway_mergesort.h (parallel_sort_mwms_pu, parallel_sort_mwms): Likewise. * include/parallel/partial_sum.h (parallel_partial_sum_linear): Likewise. * testsuite/25_algorithms/sort/34095.cc: New. From-SVN: r131247
2008-01-0134636.cc: Fix Copyright year.Paolo Carlini2-1/+5
2008-01-01 Paolo Carlini <pcarlini@suse.de> * testsuite/25_algorithms/sort/34636.cc: Fix Copyright year. From-SVN: r131246
2008-01-01re PR libstdc++/34636 (Parallel sort fails)Paolo Carlini3-14/+43
2008-01-01 Paolo Carlini <pcarlini@suse.de> PR libstdc++/34636 * include/parallel/algobase.h (lexicographical_compare_switch(..., random_access_iterator_tag, random_access_iterator_tag)): Careful with undereferenceable iterators. * testsuite/25_algorithms/sort/34636.cc: New. From-SVN: r131245
2008-01-01sse.md (sse5_pperm, [...]): Fix constraints.Jakub Jelinek4-19/+30
* config/i386/sse.md (sse5_pperm, sse5_pperm_pack_v2di_v4si, sse5_pperm_pack_v4si_v8hi, sse5_pperm_pack_v8hi_v16qi, sse5_perm<mode>): Fix constraints. * gcc.target/i386/i386.exp (check_effective_target_sse5): Use __v8hi rather than __v2di type. From-SVN: r131244
2008-01-01Daily bump.GCC Administrator1-1/+1
From-SVN: r131242
2007-12-31re PR fortran/34558 (ICE with same TYPE in both program and interface)Paul Thomas1-6/+8
2007-12-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/34558 * interface.c (gfc_compare_types): Prevent linked lists from putting this function into an endless recursive loop. 2007-12-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/34558 * gfortran.dg/linked_list_1.f90: New test. From-SVN: r131239