aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2006-05-07avr.h (CRT_BINUTILS_SPECS): Fixed crt* file name for atmega645 device.Anatoly Sokolov2-1/+6
* config/avr/avr.h (CRT_BINUTILS_SPECS): Fixed crt* file name for atmega645 device. From-SVN: r113585
2006-05-06re PR c++/27427 (ICE with invalid template parameter)Volker Reichelt4-0/+23
PR c++/27427 * pt.c (convert_nontype_argument): Return early on invalid arguments. * g++.dg/template/incomplete2.C: New test. From-SVN: r113582
2006-05-06re PR tree-optimization/27151 (ICE with -ftree-vectorize with mixed types)Richard Guenther4-0/+30
2006-05-06 Richard Guenther <rguenther@suse.de> PR tree-optimization/27151 * tree-vect-transform.c (vectorizable_condition): Punt on values that have a different type than the condition. * gcc.dg/vect/pr27151.c: New testcase. From-SVN: r113580
2006-05-06Credit Stanislaw Skowronek in 2006-05-02 change.Stanislaw Skowronek1-1/+2
From-SVN: r113577
2006-05-06* pt.c (process_template_parm): Remove superfluous temporary.Volker Reichelt2-4/+4
From-SVN: r113573
2006-05-06re PR c++/27430 (ICE on array of voids as template parameter)Volker Reichelt4-6/+21
PR c++/27430 * pt.c (process_template_parm): Handle erroneous non-type parameters. * g++.dg/template/void1.C: New test. From-SVN: r113572
2006-05-06re PR c++/27423 (ICE on default argument for void parameter)Volker Reichelt4-1/+13
PR c++/27423 * typeck.c (convert_for_initialization): Skip erroneous types. * g++.dg/other/void2.C: New test. From-SVN: r113571
2006-05-06re PR c++/27422 (ICE with invalid function argument)Volker Reichelt4-1/+17
PR c++/27422 * typeck.c (convert_arguments): Return early on args with invalid types. * g++.dg/conversion/void1.C: New test. From-SVN: r113568
2006-05-06Daily bump.GCC Administrator1-1/+1
From-SVN: r113566
2006-05-05invoke.texi: Update description of -fall-intrinsicsSteven G. Kargl2-1/+11
2006-05-05 Steven G. Kargl <kargls@comcast.net> * invoke.texi: Update description of -fall-intrinsics * options.c (gfc_post_options): Disable -Wnonstd-intrinsics if -fall-intrinsics is used. (gfc_handle_option): Permit -Wno-nonstd-intrinsics. From-SVN: r113562
2006-05-05c-parser.c (c_parser_cast_expression): Only insert casts into hash table if ↵Aldy Hernandez9-10/+102
pointer. PR/21391 * c-parser.c (c_parser_cast_expression): Only insert casts into hash table if pointer. * function.c (used_types_insert_helper): Rename from used_types_insert. (used_types_insert): Call used_types_insert_helper. * function.h (used_types_insert): Accept only one argument. * cp/typeck.c (build_static_cast_1): Save casted types in used types hash table. (build_reinterpret_cast_1): Same. * cp/rtti.c (build_dynamic_cast_1): Same. * testsuite/g++.dg/other/unused1.C: New. From-SVN: r113561
2006-05-05re PR objc/27240 (ICE with invalid fields)Volker Reichelt4-0/+18
PR objc/27240 * objc-act.c (objc_is_public): Return early on invalid type. * objc.dg/member-1.m: New test. From-SVN: r113559
2006-05-05rs6000.md: Mark all "X" constraints for clobbered scratch with output modifier.David Edelsohn2-11/+16
* config/rs6000/rs6000.md: Mark all "X" constraints for clobbered scratch with output modifier. From-SVN: r113555
2006-05-05* gfortran.dg/large_real_kind_form_io_2.f90: Use nearest.Steve Ellcey2-2/+6
From-SVN: r113553
2006-05-05re PR libfortran/26985 (incorrect matmul result)Francois-Xavier Coudert2-0/+26
PR libfortran/26985 * m4/matmul.m4: Correct the condition for the memset call, and remove the unneeded call to size0. * generated/matmul_r4.c: Regenerate. * generated/matmul_r8.c: Regenerate. * generated/matmul_r10.c: Regenerate. * generated/matmul_r16.c: Regenerate. * generated/matmul_c4.c: Regenerate. * generated/matmul_c8.c: Regenerate. * generated/matmul_c10.c: Regenerate. * generated/matmul_c16.c: Regenerate. * generated/matmul_i4.c: Regenerate. * generated/matmul_i8.c: Regenerate. * generated/matmul_i16.c: Regenerate. * gfortran.dg/matmul_2.f90: New test. From-SVN: r113552
2006-05-05run_all.sh: Use sync when main not found.Laurent GUERBY2-4/+17
2005-05-05 Laurent GUERBY <laurent@guerby.net> * ada/acats/run_all.sh: Use sync when main not found. From-SVN: r113550
2006-05-05java-tree.h (uses_jv_markobj_p): Declare.Tom Tromey4-19/+36
* java-tree.h (uses_jv_markobj_p): Declare. * class.c (uses_jv_markobj_p): Removed. * boehm.c (PROCEDURE_OBJECT_DESCRIPTOR): New define. (get_boehm_type_descriptor): Use it. (uses_jv_markobj_p): Moved from class.c. Return bool. From-SVN: r113549
2006-05-05Daily bump.GCC Administrator1-1/+1
From-SVN: r113547
2006-05-04* java-tree.def (THIS_EXPR): Now a tcc_expression.Tom Tromey2-1/+5
From-SVN: r113542
2006-05-04re PR target/26481 (ICE with -mcpu=power and struct passing)David Edelsohn2-6/+12
PR target/26481 * config/rs6000/rs6000.md (stmsi_power): Mark clobber constraint with output modifier. From-SVN: r113539
2006-05-04re PR target/26765 (ICE in in extract_insn with __thread and optimization)Kazu Hirata4-8/+31
gcc/ PR target/26765 * config/mips/mips.c (mips_symbolic_address_p): Return true for SYMBOL_TLSGD, SYMBOL_TLSLDM, SYMBOL_DTPREL, SYMBOL_TPREL, SYMBOL_GOTTPREL, and SYMBOL_TLS. gcc/testsuite/ PR target/26765 * gcc.target/mips/pr26765.c: New. From-SVN: r113536
2006-05-04[multiple changes]Andrew Haley5-1/+101
2006-05-04 Andrew Haley <aph@redhat.com> * class.c (make_field_value): Always build_address_of fdecl if there is an initializer. 2006-05-03 Andrew Haley <aph@redhat.com> PR libgcj/27352 * expr.c (maybe_rewrite_invocation): New function. (rewrite_arglist_getclass): Likewise. (rules): New. (expand_invoke): Call maybe_rewrite_invocation. * parse.y (patch_invoke): Likewise. * java-tree.h: (maybe_rewrite_invocation): New function. 2006-05-03 Andrew Haley <aph@redhat.com> PR libgcj/27352 * java/lang/Class.java (getClassLoader(Class)): New. forName(String, Class): New. * java/lang/natClass.cc (getClassLoader(Class)): New. 2006-05-02 Andrew Haley <aph@redhat.com> * prims.cc (_Jv_NewMultiArray): Check for phantom class. From-SVN: r113532
2006-05-04bfin: New directory.Bernd Schmidt6-0/+347
* gcc.target/bfin: New directory. * gcc.target/bfin/bfin.exp: New file. * gcc.target/bfin/frmul.c: New file. * gcc.target/bfin/arith.c: New file. * gcc.target/bfin/mul-combine.c: New file. * gcc.target/bfin/shift.c: New file. From-SVN: r113529
2006-05-04re PR tree-optimization/14287 ([tree-ssa] does not remove unnecessary ↵Richard Guenther8-3/+153
extensions) 2006-05-04 Richard Guenther <rguenther@suse.de> PR tree-optimization/14287 PR tree-optimization/14844 PR tree-optimization/19792 PR tree-optimization/21608 PR tree-optimization/27090 * tree-ssa-pre.c (try_combine_conversion): New function. (compute_avail): After constructing the value-handle expression, use try_combine_conversion to combine NOP_EXPRs with previous value-handle expressions and use the result if it is available. * gcc.dg/tree-ssa/ssa-fre-1.c: New testcase. * gcc.dg/tree-ssa/ssa-fre-2.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-3.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-4.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-5.c: Likewise. From-SVN: r113527
2006-05-04* config/mips/linux64.h (DWARF_OFFSET_SIZE): Remove.Joseph Myers2-5/+4
From-SVN: r113524
2006-05-04simplify.c (ascii_table): Fix wrong entry.Tobias Schlüter2-1/+5
* simplify.c (ascii_table): Fix wrong entry. From-SVN: r113523
2006-05-04re PR middle-end/25962 (Pointer (null) check after the use in cgraph.c)Jan Hubicka2-2/+7
PR middle-end/25962 * cgraphunit.c (verify_cgraph_node): Fix cgraph_hash testing. From-SVN: r113522
2006-05-04bfin.c: Include "optabs.h".Bernd Schmidt3-1/+474
* config/bfin/bfin.c: Include "optabs.h". (bfin_rtx_costs): Some costs for vector operations, to allow combine to do more work. (enum bfin_builtins): Add a number of fractional and vector builtins. (bfin_init_builtins): Likewise. (struct builtin_description, bdesc_2arg, bdesc_1arg): New. (safe_vector_operand, bfin_expand_binop_builtin, bfin_expand_unop_builtin): New functions. (bfin_expand_builtin): Handle the new builtins. * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __ADSPBLACKFIN__. From-SVN: r113521
2006-05-04predicates.md (const01_rtx): Tell generator programs that this only matches ↵Bernd Schmidt3-25/+32
CONST_INTs. * config/bfin/predicates.md (const01_rtx): Tell generator programs that this only matches CONST_INTs. All users changed to VOIDmode operands. From-SVN: r113520
2006-05-04[multiple changes]Razya Ladelsky16-37/+4030
2006-05-04 Leehod Baruch <leehod@il.ibm.com> * see.c: New file. * Makefile.in (OBJS-common): Add see.o. (see.o): Add dependencies. * common.opt (fsee): New flag for the see optimization was added. * opts.c (flag_see): Initialized. * passes.c (init_optimization_passes, pass_see): New pass. * rtl.h (see_main): Declaration as extern. * timevar.def (TV_SEE): New. * tree-pass.h (pass_see): Declaration as extern. * invoke.texi (-fsee): Document. * recog.c (validate_simplify_insn): New function. * recog.h (validate_simplify_insn): Declaration as extern. * df-problems.c (df_chain_dump): Check for NULL. 2006-05-04 Kenneth Zadeck <zadeck@naturalbridge.com> Daniel Berlin <dberlin@dberlin.org> * cfgrtl.c (insert_insn_bb_end_new): New function. * basic-block.h (insert_insn_bb_end_new): Declaration as extern. 2006-05-04 Leehod Baruch <leehod.baruch@weizmann.ac.il> * df.h (struct web_entry): Moved from web.c. (union_defs): Declaration as extern. (unionfind_root): Likewise. (unionfind_union): Likewise. * web.c (struct web_entry): Moved to df.h. (unionfind_root): Remove static declaration. (unionfind_union): Likewise. (union_defs): Likewise and generalize to use callback function. (web_main): Update arguments for union_defs function call. From-SVN: r113518
2006-05-04re PR tree-optimization/26447 (verify_flow_info failed, load PRE with java ↵Richard Guenther2-8/+18
program) 2006-05-04 Richard Guenther <rguenther@suse.de> PR tree-optimization/26447 * tree-ssa-pre.c (realify_fake_stores): For necessary loads produce SSA_NAME copies before the store stmt to avoid breaking exception handling. From-SVN: r113517
2006-05-04re PR tree-optimization/27285 (ivopts postgresql miscompilation)Jakub Jelinek2-0/+49
PR tree-optimization/27285 * gcc.c-torture/execute/pr27285.c: New test. From-SVN: r113516
2006-05-04re PR middle-end/27388 (omp_is_private issues)Jakub Jelinek6-6/+104
PR middle-end/27388 * gimplify.c (omp_is_private): If var is shared in some outer context, return false instead of true. Stop searching on parallel context boundary. * gcc.dg/gomp/pr27388-1.c: New test. * gcc.dg/gomp/pr27388-2.c: New test. * gcc.dg/gomp/pr27388-3.c: New test. From-SVN: r113514
2006-05-04re PR c++/27359 (ICE with missing initialization of iteration variable in ↵Jakub Jelinek4-4/+25
parallel for loop) PR c++/27359 * parser.c (cp_parser_omp_for_loop): Only call cp_parser_abort_tentative_parse if cp_parser_parse_definitely was not called. * g++.dg/gomp/pr27359.C: New test. From-SVN: r113513
2006-05-04re PR java/8260 (gcj -fprofile-arcs doesn't work)Alexandre Oliva2-8/+14
PR java/8260 * coverage.c: Use get_gcov_unsigned_t() instead of unsigned_type_node all over. From-SVN: r113512
2006-05-04Daily bump.GCC Administrator1-1/+1
From-SVN: r113508
2006-05-03re PR fortran/26896 (Description of implementation of -Wtabs/-Wno-tabs reversed)Steven G. Kargl8-13/+56
2006-03-30 Steven G. Kargl <kargls@comcast.net> PR fortran/26896 * lang.opt: Fix -Wtab description PR fortran/20248 * lang.opt: New flag -fall-intrinsics. * invoke.texi: Document option. * gfortran.h (options_t): New member flag_all_intrinsics. * options.c (gfc_init_options, gfc_handle_option): Set new option. sort nearby misplaced options. * intrinsic.c (add_sym, make_generic, make_alias): Use it. 2006-03-30 Steven G. Kargl <kargls@comcast.net> * gfortran.dg/iargc.f90: New test. From-SVN: r113502
2006-05-03re PR tree-optimization/27381 (ice on valid code with -O)Andrew MacLeod3-8/+25
2006-05-02 Andrew MacLeod <amacleod@redhat.com> PR tree-optimization/27381 * tree-phinodes.c (remove_phi_arg_num): When moving a phi argument, maintain the same immediate_use links. * tree-ssa-operands.c (dump_immediate_uses_for): Show iteration marker node rather than segfaulting. From-SVN: r113499
2006-05-03re PR fortran/27395 (Problem with arrays in the OpenMP REDUCTION clause in ↵Jakub Jelinek2-2/+9
Fortran) PR fortran/27395 * gimplify.c (gimplify_scan_omp_clauses): Compare OMP_CLAUSE_CODE rather than TREE_CODE to OMP_CLAUSE_REDUCTION. Set also GOVD_SEEN bit for OMP_CLAUSE_REDUCTION_PLACEHOLDER. * testsuite/libgomp.fortran/pr27395-1.f90: New test. * testsuite/libgomp.fortran/pr27395-2.f90: New test. From-SVN: r113494
2006-05-03re PR tree-optimization/26626 (ICE in in add_virtual_operand)Daniel Berlin4-1/+43
2006-05-02 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/26626 * tree-ssa-structalias.c (compute_points_to_sets): For now, solve always. * tree-ssa-operands.c (access_can_touch_variable): Allow typecasting through union pointers. From-SVN: r113493
2006-05-03re PR c++/27102 (ICE with invalid class name in function template)Mark Mitchell4-6/+26
PR c++/27102 * decl.c (grokdeclarator): Robustify checks for defining members of incomplete types. PR c++/27102 * g++.dg/template/crash49.C: New test. From-SVN: r113492
2006-05-03Daily bump.GCC Administrator1-1/+1
From-SVN: r113490
2006-05-02re PR testsuite/27032 (gcc.c-torture/compile/pr23237.c fails)Steve Ellcey2-2/+7
PR testsuite/27032 * gcc.c-torture/compile/pr23237.c: Move dg-do line. From-SVN: r113484
2006-05-02re PR c++/26943 ([gomp] firstprivate + lastprivate uses inefficient barrier)Jakub Jelinek2-11/+69
PR c++/26943 * omp-low.c (maybe_lookup_decl_in_outer_ctx): New function. (build_outer_var_ref): Use maybe_lookup_decl_in_outer_ctx to find if var will be a global variable even in the nested context. (omp_copy_decl): Only check for global variable at the end, it might be overridden in outer contexts. (scan_sharing_clauses): For global variables don't create a field. (lower_rec_input_clauses): Do nothing for global shared variables. Emit a barrier at the end of ILIST if there were any decls in both firstprivate and lastprivate clauses. (lower_send_clauses): Do nothing for global variables except for COPYIN. * testsuite/libgomp.c/pr26943-1.c: New test. * testsuite/libgomp.c/pr26943-2.c: New test. * testsuite/libgomp.c/pr26943-3.c: New test. * testsuite/libgomp.c/pr26943-4.c: New test. * testsuite/libgomp.c++/pr27337.C: Remove barrier. * testsuite/libgomp.c++/pr26943.C: New test. From-SVN: r113483
2006-05-02tree.c (unsigned_type_for, [...]): Make sure a type of the correct ↵Zdenek Dvorak2-1/+8
signedness is returned. * tree.c (unsigned_type_for, signed_type_for): Make sure a type of the correct signedness is returned. From-SVN: r113482
2006-05-02re PR tree-optimization/27364 (VRP miscompiles some unsigned math)Jeff Law4-1/+47
PR tree-optimization/27364 * tree-vrp.c (vrp_int_const_binop): Fix detection of overflow from multiply expressions. * gcc.c-torture/execute/pr27364.c: New test. From-SVN: r113481
2006-05-02re PR c++/27309 (ICE on invalid constructor definition)Mark Mitchell8-20/+54
PR c++/27309 * class.c (add_method): Call grok_special_member_properties. * decl.c (grokdeclarator): Don't call it here. (copy_fn_p): A TEMPLATE_DECL is never a copy constructor or assignment operator. Set TYPE_HAS_CONSTURCTOR if DECL is a constructor. (start_method): Don't call grok_special_member_properties. * method.c (implicitly_declare_fn): Likewise. * pt.c (instantiate_class_template): Likewise. * decl2.c (grokfield): Likewise. PR c++/27309 * g++.dg/parser/ctor5.C: New test. From-SVN: r113473
2006-05-02* tree-flow-inline.h (op_iter_init_phiuse): Fixed typo.Tom Tromey2-2/+6
From-SVN: r113472
2006-05-02re PR target/27387 (Thumb thunk is not PIC)Kazu Hirata1-0/+0
gcc/ PR target/27387 * arm.c (arm_output_mi_thunk): Use pc-relative addressing when -mthumb -fPIC are used. testsuite/ PR target/27387 * gcc.target/arm/arm.exp: New. * gcc.target/arm/pr27387.C: Likewise. From-SVN: r113468
2006-05-02re PR target/27387 (Thumb thunk is not PIC)Kazu Hirata5-1/+111
gcc/ PR target/27387 * arm.c (arm_output_mi_thunk): Use pc-relative addressing when -mthumb -fPIC are used. testsuite/ PR target/27387 * gcc.target/arm/arm.exp: New. * gcc.target/arm/pr27387.C: Likewise. From-SVN: r113467