aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-05-07type_traits (integral_constant<>::value): Define.Paolo Carlini3-1/+47
2006-05-07 Paolo Carlini <pcarlini@suse.de> * include/tr1/type_traits (integral_constant<>::value): Define. * testsuite/tr1/4_metaprogramming/helper_classes/static_definition.cc: New. From-SVN: r113605
2006-05-07ChangeLog: haste made me write my name, but I'm only the commiter of ↵Steven Bosscher1-1/+1
revision 113603. * ChangeLog: haste made me write my name, but I'm only the commiter of revision 113603. From-SVN: r113604
2006-05-07re PR fortran/27378 ([4.1 only] ICE on unexpected ELSE statement)Steven Bosscher2-0/+7
PR fortran/27378 * parse.c (next_statement): Add check to avoid an ICE when gfc_current_locus.lb is not set. From-SVN: r113603
2006-05-07re PR fortran/27457 (ICE in match_case_eos())Tobias Schlüter4-0/+26
fortran/ PR fortran/27457 * match.c (match_case_eos): Error out on garbage following CASE(...). testsuite/ PR fortran/27457 * gfortran.dg/select_6.f90: New. From-SVN: r113602
2006-05-07re PR middle-end/27136 (Compile failure with -O -ffast-math)Richard Guenther4-2/+31
2006-05-07 Richard Guenther <rguenther@suse.de> PR tree-optimization/27136 * tree-ssa-loop-niter.c (get_val_for): Correct function comment, assert requirements. (loop_niter_by_eval): Stop processing if the iterated value did not simplify. * gcc.dg/torture/pr27136.c: New testcase. From-SVN: r113601
2006-05-07opts.c (flag_see): remove its setting at -O3.Mircea Namolaru2-1/+4
2006-05-07 Mircea Namolaru <namolaru@il.ibm.com> * opts.c (flag_see): remove its setting at -O3. From-SVN: r113598
2006-05-07re PR fortran/24813 (ICE with scalarization LEN of character types)Paul Thomas6-1/+41
2006-05-07 Paul Thomas <pault@gcc.gnu.org> PR fortran/24813 * trans-array.c (get_array_ctor_strlen): Remove static attribute. * trans.h: Add prototype for get_array_ctor_strlen. * trans-intrinsic.c (gfc_conv_intrinsic_len): Switch on EXPR_ARRAY and call get_array_ctor_strlen. 2006-05-07 Paul Thomas <pault@gcc.gnu.org> PR fortran/24813 * gfortran.dg/char_cons_len_1.f90: New test. From-SVN: r113594
2006-05-07Daily bump.GCC Administrator1-1/+1
From-SVN: r113592
2006-05-06r113612@merlin: rearnsha | 2006-05-07 00:19:18 +0100Richard Earnshaw5-117/+206
r113612@merlin: rearnsha | 2006-05-07 00:19:18 +0100 * genpeep.c (main): Make insn-peep.c depend on flags.h. * arm/constraints.md: New file. * arm.h (REG_CLASS_FROM_LETTER_P): Delete. (CONST_OK_FOR_ARM_LETTER, CONST_OK_FOR_THUMB_LETTER) (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_ARM_LETTER) (CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT_STR_ARM) (CONSTRAINT_LEN, EXTRA_CONSTRAINT_THUMB, EXTRA_CONSTRAINT_STR) (EXTRA_MEMORY_CONSTRAINT): Likewise. * arm.md: Include constraints.md. (thumb_movsi_insn): Use satisfies_constraint_J. (movhi, movqi): Use satisfies_constraint_I. From-SVN: r113588
2006-05-06jni.exp (gcj_jni_compile_c_to_so): Add check for HP-UX and add appropriate ↵Andreas Tobler3-8/+24
extension for shared libraries, sl. 2006-05-06 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Add check for HP-UX and add appropriate extension for shared libraries, sl. (gcj_jni_test_one): Likewise. * testsuite/lib/libjava.exp (libjava_find_lib): Add sl to the shared library extensions. From-SVN: r113587
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-05re PR libgcj/27294 (gij throws NullPointerException, when the interpreter is ↵Tom Tromey2-1/+22
not enabled) PR libgcj/27294: * java/lang/natVMClassLoader.cc (defineClass): Throw VirtualMachineError if no interpreter configured. From-SVN: r113554
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 Coudert15-25/+67
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 Haley10-4/+143
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-04re PR libgcj/26861 (VirtualMachineError in interperter.)Tom Tromey3-23/+19
PR libgcj/26861: * interpret.cc (run) <insn_getfield>: Removed 0xffff check. <insn_putfield>: Likewise. (NULLCHECK): Define unconditionally. * link.cc (ensure_class_linked): Removed dead code. From-SVN: r113531
2006-05-04Class.h (JV_STATE_LOADING): Added comment.Tom Tromey6-16/+67
* java/lang/Class.h (JV_STATE_LOADING): Added comment. * Makefile.in: Rebuilt. * Makefile.am (nat_source_files): Added natSystemClassLoader.cc. * gnu/gcj/runtime/natSystemClassLoader.cc: New file. * gnu/gcj/runtime/SystemClassLoader.java (nativeClasses): New field. (loadedClasses): Removed. (findClass): Declare. (addClass): Add to nativeClasses, not loadedClasses. From-SVN: r113530
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-04re PR libgcj/26858 (NullPointerException not generated for large classes...)Andrew Haley2-2/+5
2006-05-04 Andrew Haley <aph@redhat.com> PR java/26858 * testsuite/libjava.lang/PR26858.xfail: Delete. From-SVN: r113526
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-04re PR libstdc++/27404 (Rope iterators are not InputIterators)Douglas Gregor2-1/+22
2006-05-04 Douglas Gregor <dgregor@cs.indiana.edu> PR libstdc++/27404 * include/ext/rope (_Rope_const_iterator<>::operator*() const, _Rope_iterator<>::operator*() const): Add. From-SVN: r113519
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