aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2009-02-26Split ChangeLog to ChangeLog-2007 and ChangeLog-2008.H.J. Lu3-6595/+6592
From-SVN: r144448
2009-02-26Correct year.H.J. Lu3-17/+17
From-SVN: r144447
2009-02-26re PR fortran/39292 (ICE in gfc_conv_array_initializer, at ↵Paul Thomas4-1/+35
fortran/trans-array.c:3884) 2009-02-26 Paul Thomas <pault@gcc.gnu.org> PR fortran/39292 * trans-array.c (gfc_conv_array_initializer): Convert all expressions rather than ICEing. 2009-02-26 Paul Thomas <pault@gcc.gnu.org> PR fortran/39292 * gfortran.dg/initialization_22.f90: New test. From-SVN: r144444
2009-02-26Daily bump.GCC Administrator1-1/+1
From-SVN: r144442
2009-02-25re PR rtl-optimization/39241 (ICE in subreg_get_info, at rtlanal.c:3104)H.J. Lu4-13/+31
gcc/ 2008-02-25 H.J. Lu <hongjiu.lu@intel.com> PR rtl-optimization/39241 * jump.c (rtx_renumbered_equal_p): Remove 2 superfluous calls to subreg_offset_representable_p. gcc/testsuite/ 2008-02-25 H.J. Lu <hongjiu.lu@intel.com> PR rtl-optimization/39241 * gcc.dg/torture/pr39241.c: New. From-SVN: r144430
2009-02-25regmove.c (regmove_optimize): Conform to struct rtl_opt_pass execute ↵Paolo Bonzini2-36/+24
function prototype. 2009-02-25 Paolo Bonzini <bonzini@gnu.org> * regmove.c (regmove_optimize): Conform to struct rtl_opt_pass execute function prototype. Get f and nregs from max_reg_num and get_insns. Remove the first backward pass as it's dead, guard the forward pass by flag_expensive_optimizations. (rest_of_handle_regmove): Delete. (pass_regmove): Replace it with regmove_optimize. From-SVN: r144429
2009-02-25tree-inline.c (initialize_cfun): Remove asserts for calls_setjmp and ↵Martin Jambor4-4/+60
alls_alloca function flags. 2009-02-25 Martin Jambor <mjambor@suse.cz> * tree-inline.c (initialize_cfun): Remove asserts for calls_setjmp and alls_alloca function flags. (copy_bb): Set calls_setjmp and alls_alloca function flags if such calls are detected. From-SVN: r144428
2009-02-25a-teioed.adb (Expand): Fix Result overflow.Laurent GUERBY2-0/+12
2009-02-25 Laurent GUERBY <laurent@guerby.net> * a-teioed.adb (Expand): Fix Result overflow. From-SVN: r144427
2009-02-25Makefile.in: Fix multilib handling for sparc64-linux.Laurent GUERBY2-1/+6
2009-02-25 Laurent GUERBY <laurent@guerby.net> * gcc-interface/Makefile.in: Fix multilib handling for sparc64-linux. From-SVN: r144426
2009-02-25regmove.c (discover_flags_reg, [...]): Delete.Paolo Bonzini2-173/+6
2009-02-25 Paolo Bonzini <bonzini@gnu.org> * regmove.c (discover_flags_reg, flags_set_1, mark_flags_life_zones, flags_set_1_rtx, flags_set_1_set): Delete. (regmove_optimize): Do not call mark_flags_life_zones. From-SVN: r144425
2009-02-25re PR target/35965 ([4.3 only] -fstack-protector produces segfaulting ↵Julian Brown2-2/+10
binaries on arm/armel) 2009-02-24 Julian Brown <julian@codesourcery.com> PR target/35965 * config/arm/arm.c (require_pic_register): Only set cfun->machine->pic_reg once per function. Patch commited by Doug Kwan <dougkwan@google.com> From-SVN: r144424
2009-02-24invoke.texi (Link Options): Document an easier way to pass options that take ↵Sandra Loosemore2-2/+19
arguments to the GNU linker... 2009-02-24 Sandra Loosemore <sandra@codesourcery.com> gcc/ * doc/invoke.texi (Link Options): Document an easier way to pass options that take arguments to the GNU linker using -Xlinker and -Wl. From-SVN: r144423
2009-02-25Daily bump.GCC Administrator1-1/+1
From-SVN: r144421
2009-02-24re PR target/33785 (TARGET_C99_FUNCTIONS default wrong in tm.texi)Steve Ellcey2-3/+8
PR target/33785 * doc/tm.texi (TARGET_C99_FUNCTIONS): Fix description. From-SVN: r144411
2009-02-24re PR c++/39242 (Inconsistent reject / accept of code)Richard Guenther4-2/+55
2009-02-24 Richard Guenther <rguenther@suse.de> PR c++/39242 * pt.c (instantiate_decl): Do not instantiate extern, non-inline declared functions. * g++.dg/template/instantiate10.C: New testcase. From-SVN: r144408
2009-02-24re PR debug/39285 (Missing debug info for enum members in C++)Richard Guenther2-0/+8
2009-02-24 Richard Guenther <rguenther@suse.de> PR debug/39285 * dwarf2out.c (gen_enumeration_type_die): Handle CONST_DECLs. From-SVN: r144407
2009-02-24re PR tree-optimization/39233 (ivopts + vrp miscompilation)Richard Guenther4-3/+32
2009-02-24 Richard Guenther <rguenther@suse.de> Zdenek Dvorak <ook@ucw.cz> PR tree-optimization/39233 * tree-ssa-loop-ivopts.c (add_candidate_1): Do not except pointers from converting them to a generic type. * gcc.c-torture/execute/pr39233.c: New testcase. Co-Authored-By: Zdenek Dvorak <ook@ucw.cz> From-SVN: r144405
2009-02-24re PR middle-end/39260 (Failed to build lame-3.98-2 source with graphite)Sebastian Pop4-3/+44
2009-02-23 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/39260 * graphite.c (harmful_stmt_in_bb): Stop a SCoP when the basic block contains a condition with a real type. (build_scop_conditions_1): Conditions are always last_stmt of a bb. * gcc.dg/graphite/pr39260.c: New. From-SVN: r144403
2009-02-23static-init1.C: Replace int with __PTRDIFF_TYPE__.H.J. Lu2-1/+5
2009-02-23 H.J. Lu <hongjiu.lu@intel.com> * g++.dg/init/static-init1.C: Replace int with __PTRDIFF_TYPE__. From-SVN: r144402
2009-02-24Daily bump.GCC Administrator1-1/+1
From-SVN: r144399
2009-02-23re PR c++/36411 (ICE with invalid template template parameter)H.J. Lu4-0/+21
gcc/cp 2009-02-23 H.J. Lu <hongjiu.lu@intel.com> PR c++/36411 * pt.c (coerce_template_template_parms): Return 0 if parameter is error_mark_node. gcc/testsuite/ 2009-02-23 H.J. Lu <hongjiu.lu@intel.com> PR c++/36411 * g++.dg/template/void14.C: New. From-SVN: r144396
2009-02-23re PR c++/38880 (g++.dg/init/const7.C XFAILed)Jason Merrill5-10/+27
PR c++/38880 * varasm.c (initializer_constant_valid_p) [PLUS_EXPR]: Check narrowing_initializer_constant_valid_p. (narrowing_initializer_constant_valid_p): Don't return null_pointer_node for adding a pointer to itself. From-SVN: r144395
2009-02-23pt.c (unify): Call maybe_adjust_types_for_deduction when deducing from an ↵Jason Merrill4-2/+39
initializer list. * pt.c (unify): Call maybe_adjust_types_for_deduction when deducing from an initializer list. From-SVN: r144392
2009-02-23re PR c/12245 (Uses lots of memory when compiling large initialized arrays)Jan Hubicka2-1/+6
PR c/12245 * ggc.h (htab_create_ggc): Use ggc_free to free hashtable when resizing. From-SVN: r144384
2009-02-23* s-oscons-tmplt.c [__osf__ && !_SS_MAXSIZE]: Undef AF_UNIX6.Rainer Orth2-1/+14
From-SVN: r144382
2009-02-23re PR tree-optimization/37709 (inlining causes explosion in debug info)Jan Hubicka6-60/+117
PR tree-optimization/37709 * tree.c (block_ultimate_origin): Move here from dwarf2out. * tree.h (block_ultimate_origin): Declare. * dwarf2out.c (block_ultimate_origin): Move to tree.c * tree-ssa-live.c (remove_unused_scope_block_p): Eliminate blocks containig no instructions nor live variables nor nested blocks. (dump_scope_block): New function. (remove_unused_locals): Enable removal of dead blocks by default; enable dumping at TDF_DETAILS. From-SVN: r144381
2009-02-23Daily bump.GCC Administrator1-1/+1
From-SVN: r144379
2009-02-22* zh_CN.po: Update.Joseph Myers2-1656/+706
From-SVN: r144374
2009-02-21i386.c (classify_argument): Don't allow COImode and OImode.H.J. Lu2-9/+29
2008-02-21 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (classify_argument): Don't allow COImode and OImode. (function_arg_advance_32): Don't allow OImode. (function_arg_32): Likewise. (function_value_32): Likewise. (return_in_memory_32): Likewise. (function_arg_64): Remove OImode comment. From-SVN: r144367
2009-02-21re PR target/39261 (_mm256_set_epi64x failed on 32bit)H.J. Lu2-2/+15
2008-02-21 H.J. Lu <hongjiu.lu@intel.com> PR target/39261 * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Use ix86_expand_vector_set for V4DImode in 64bit mode only. (ix86_expand_vector_init_one_var): Likewise. From-SVN: r144366
2009-02-22Daily bump.GCC Administrator1-1/+1
From-SVN: r144365
2009-02-21re PR fortran/38914 ([4.3 only] ICE with array inquiry functions above ↵Thomas Koenig7-26/+299
contains in parameter expression) 2008-02-21 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/38914 * array.c (ref_dimen_size): Rename to gfc_ref_dimen_size, make global. Change function name in error messages. (ref_size): Change ref_dimen_size to gfc_ref_dimen_size. (gfc_array_ref_shape): Likewise. * gfortran.h: Add prototype for gfc_ref_dimen_size. * simplify.c (simplify_bound_dim): Add ref argument. If the reference isn't a full array, return one for the lower bound and the extent for the upper bound. (simplify_bound): For array sections, take as from the argument. Add reference to all to simplify_bound_dim. 2008-02-21 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/38914 * bound_simplification_2.f90: New test case. * bound_7.f90: New test case. From-SVN: r144362
2009-02-21lex.c (lex_string): Return a CPP_LESS token for missing '>' in a header name.Joseph Myers2-0/+18
libcpp: * lex.c (lex_string): Return a CPP_LESS token for missing '>' in a header name. (_cpp_lex_direct): Handle this. gcc/testsuite: * gcc.dg/cpp/include4.c: New test. From-SVN: r144361
2009-02-21Mention PR bootstrap/39257.H.J. Lu1-0/+1
From-SVN: r144360
2009-02-21graphite.c (graphite_trans_loop_block): Adjust tile size to 51.Sebastian Pop2-1/+5
2009-02-21 Sebastian Pop <sebastian.pop@amd.com> * graphite.c (graphite_trans_loop_block): Adjust tile size to 51. From-SVN: r144358
2009-02-21Revert last change.Richard Sandiford3-40/+38
From-SVN: r144357
2009-02-21re PR target/39256 (__m256 isn't returned in ymm0 in 32bit)H.J. Lu4-2/+32
gcc/ 2008-02-21 H.J. Lu <hongjiu.lu@intel.com> PR target/39256 * config/i386/i386.c (type_natural_mode): Remove an extra space in the warning message. (function_value_32): Handle 32-byte vector modes. (return_in_memory_32): Likewise. gcc/testsuite/ 2008-02-21 Uros Bizjak <ubizjak@gmail.com> PR target/39256 * gcc.target/i386/abi-2.c: New. From-SVN: r144355
2009-02-21pr39228.x: New.Kaz Kojima2-0/+14
* gcc.c-torture/execute/pr39228.x: New. From-SVN: r144353
2009-02-21abi-1.c: Use scan-assembler-times "..." 1 instead of scan-assembler to check ↵Uros Bizjak3-3/+9
for xmm0... * gcc.target/i386/abi-1.c: Use scan-assembler-times "..." 1 instead of scan-assembler to check for xmm0 register. From-SVN: r144349
2009-02-21loop-iv.c (truncate_value): New function.Richard Sandiford3-33/+48
gcc/ * loop-iv.c (truncate_value): New function. (iv_subreg, get_iv_value, iv_number_of_iterations): Use it instead of lowpart_subreg. (lowpart_subreg): Move to... * emit-rtl.c: ...here. From-SVN: r144348
2009-02-21winnt.c (i386_pe_asm_output_aligned_decl_common): Revert accidental And ↵Danny Smith2-2/+5
undocumented change at revision 140860. * config/i386/winnt.c (i386_pe_asm_output_aligned_decl_common): Revert accidental And undocumented change at revision 140860. From-SVN: r144345
2009-02-21arm.c (arm_gimplify_va_arg_expr): Update prototype to take gimple_seq * ↵Joseph Myers2-4/+11
arguments. * config/arm/arm.c (arm_gimplify_va_arg_expr): Update prototype to take gimple_seq * arguments. (arm_mangle_type): Use CONST_CAST_TREE on type argument passed to types_compatible_p langhook. From-SVN: r144344
2009-02-21Daily bump.GCC Administrator1-1/+1
From-SVN: r144341
2009-02-20Update Copyright years for files modified in 2008 and/or 2009.Jakub Jelinek690-719/+821
From-SVN: r144324
2009-02-20arm.c (arm_builtin_va_list): New function.Mark Mitchell17-3/+204
2009-02-20 Mark Mitchell <mark@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * config/arm/arm.c (arm_builtin_va_list): New function. (arm_expand_builtin_va_start): Likewise. (arm_gimplify_va_arg_expr): Likewise. (TARGET_BUILD_BUILTIN_VA_LIST): Define. (TARGET_BUILD_BUILTIN_VA_START): Likewise. (TARGET_BUILD_BUILTIN_VA_ARG_EXPR): Likewise. (va_list_type): New variable. (arm_mangle_type): Mangle va_list_type appropriately. testsuite: * gcc.target/arm/va_list.c: New test. * g++.dg/abi/arm_va_list.C: Likewise. * lib/target-supports.exp (check_effective_target_arm_eabi): New function. * g++.dg/cpp0x/temp-va-arg-bug.C, g++.dg/other/stdarg1.C, g++.dg/warn/miss-format-1.C, g++.dg/warn/miss-format-3.C, g++.dg/warn/miss-format-4.C, g++.dg/warn/miss-format-5.C, g++.dg/warn/miss-format-6.C, g++.old-deja/g++.other/vaarg2.C, g++.old-deja/g++.other/vaarg3.C, g++.old-deja/g++.other/vaarg4.C, g++.old-deja/g++.pt/builtin.C: Use -Wno-abi on ARM EABI targets. Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r144323
2009-02-20re PR middle-end/39157 (Code that compiles fine in 1GB of memory with 4.1.2 ↵Jakub Jelinek7-6/+49
requires > 20GB in 4.2.* and higher) PR middle-end/39157 * Makefile.in (loop-invariant.o): Depend on $(PARAMS_H). * params.h (LOOP_INVARIANT_MAX_BBS_IN_LOOP): Define. * params.def (loop-invariant-max-bbs-in-loop): New parameter. * opts.c (decode_options): Set loop-invariant-max-bbs-in-loop parameter to 1000 for -O1 by default. * doc/invoke.texi (loop-invariant-max-bbs-in-loop): Document new parameter. * loop-invariant.c: Include params.h. (move_loop_invariants): Don't call move_single_loop_invariants on very large loops. From-SVN: r144320
2009-02-20re PR testsuite/38164 (gcc.target/i386/amd64-abi-3.c fails at -m64 on ↵Jack Howarth2-7/+10
i686-apple-darwin9) PR testsuite/38164 * gcc.target/i386/amd64-abi-3.c: Add -fomit-frame-pointer to dg-options. From-SVN: r144318
2009-02-20calls.c (emit_library_call_value_1): Use slot_offset instead of offset when ↵Jaka Mocnik2-2/+8
calculating bounds for indexing... * calls.c (emit_library_call_value_1): Use slot_offset instead of offset when calculating bounds for indexing stack_usage_map. Fixes a buffer overflow with certain target setups. From-SVN: r144317
2009-02-20re PR target/39240 (Invalid sibcall optimization with promoted return types ↵Jakub Jelinek4-0/+147
and differing signedness) PR target/39240 * calls.c (expand_call): Clear try_tail_call if caller and callee disagree in promotion of function return value. * gcc.c-torture/execute/pr39240.c: New test. From-SVN: r144316
2009-02-20re PR c++/39225 (ICE if destructor doen't match class name)Jason Merrill4-9/+40
PR c++/39225 * decl.c (grokdeclarator): Handle ~identifier. From-SVN: r144314