aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2008-10-22frv.h (HARD_REGNO_RENAME_OK): Define.Nick Clifton2-27/+34
* config/frv/frv.h (HARD_REGNO_RENAME_OK): Define. Do not allow the fdpic register to be a target when running in fdpic mode. From-SVN: r141295
2008-10-22ipa-struct-reorg.c (create_new_alloc_sites): Properly insert the newly ↵Rafael Avila de Espindola2-1/+7
created statements. 2008-10-22 Rafael Espindola <espindola@google.com> * ipa-struct-reorg.c (create_new_alloc_sites): Properly insert the newly created statements. From-SVN: r141293
2008-10-22Daily bump.GCC Administrator1-1/+1
From-SVN: r141286
2008-10-21re PR target/37633 (wrong register use on sh64)Kaz Kojima4-47/+114
PR target/37633 * config/sh/sh.c (sh_hard_regno_mode_ok): New function. * config/sh/sh.h (HARD_REGNO_MODE_OK): Use it. * config/sh/sh-protos.h (sh_hard_regno_mode_ok): Declare. From-SVN: r141282
2008-10-22re PR target/37880 (Documentation of option -mcmodel=medium is wrong)Jakub Jelinek2-4/+11
PR target/37880 * doc/invoke.texi: Fix spelling of -mlarge-data-threshold option. Adjust -mcmodel=medium description for 2005-07-31 changes. From-SVN: r141281
2008-10-22re PR middle-end/35853 (-d is still referenced in some cases (documentation))Jan Hubicka2-27/+34
PR middle-end/35853 * doc/invoke.texi: Remove references to obsoleted -d dumps. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r141280
2008-10-21re PR middle-end/37815 (ICE in vt_add_function_parameters (bootstrap error))Richard Henderson4-5/+23
PR 37815 * emit-rtl.c (get_spill_slot_decl): Export. * emit-rtl.h (get_spill_slot_decl): Declare. * var-tracking.c (vt_add_function_parameters): Relax assertion on the contents of MEM_EXPR in a PARM_DECL to include a spill slot. From-SVN: r141278
2008-10-21re PR fortran/36795 (crash with character allocatable array argument)Paul Thomas2-0/+31
2008-10-21 Paul Thomas <pault@gcc.gnu.org> PR libfortran/36795 * gfortran.dg/char_expr_3.f90: Add the original test case. From-SVN: r141277
2008-10-21re PR libfortran/34670 (bounds checking for array intrinsics)Thomas Koenig2-0/+23
2008-10-21 Thomas Koenig <tkoenig@gcc.gnu.org> PR libfortran/34670 * intrinsics/transpose_generic.c: Implement bounds checking. * m4/transpose.m4: Likewise. * generated/transpose_c8.c: Regenerated. * generated/transpose_c16.c: Regenerated. * generated/transpose_r10.c: Regenerated. * generated/transpose_i8.c: Regenerated. * generated/transpose_c10.c: Regenerated. * generated/transpose_r4.c: Regenerated. * generated/transpose_c4.c: Regenerated. * generated/transpose_i16.c: Regenerated. * generated/transpose_i4.c: Regenerated. * generated/transpose_r8.c: Regenerated. * generated/transpose_r16.c: Regenerated. 2008-10-21 Thomas Koenig <tkoenig@gcc.gnu.org> PR libfortran/34670 * gfortran.dg/transpose_2.f90: New test. From-SVN: r141276
2008-10-21var-tracking.c (insn_stack_adjust_offset_pre_post): If insn has a ↵Bob Wilson2-8/+23
REG_FRAME_RELATED_EXPR note... * var-tracking.c (insn_stack_adjust_offset_pre_post): If insn has a REG_FRAME_RELATED_EXPR note, examine the pattern from the note instead of from insn. From-SVN: r141272
2008-10-21re PR middle-end/37669 (ice for legal code with -O2)Adam Nemet4-16/+35
PR middle-end/37669 * tree-ssa-ccp.c (ccp_fold_builtin): Only allow one argument to be processed by get_maxval_strlen. testsuite/ PR middle-end/37669 * gcc.c-torture/compile/pr37669-2.c: New test. From-SVN: r141270
2008-10-21re PR java/35485 (libjava is disabled by default)David Edelsohn2-3/+8
PR target/35485 * tree.c (get_file_function_name): Copy first_global_object_name. Centralize call to clean_symbol_name. From-SVN: r141269
2008-10-21config.gcc (powerpc-*): Make t-ppcgas imply usegas.h.Sandra Loosemore5-15/+41
2008-10-21 Sandra Loosemore <sandra@codesourcery.com> gcc/ * config.gcc (powerpc-*): Make t-ppcgas imply usegas.h. * config/svr4.h (SVR4_ASM_SPEC): New. (ASM_SPEC): Inherit from SVR4_ASM_SPEC. * config/rs6000/sysv4.h (ASM_SPEC): Inherit from SVR4_ASM_SPEC. * doc/invoke.texi (Option Summary): Add -T to linker options. (Link Options): Document -T. From-SVN: r141267
2008-10-21alias-19.c: New testcase.Richard Guenther2-0/+35
2008-10-21 Richard Guenther <rguenther@suse.de> * gcc.dg/tree-ssa/alias-19.c: New testcase. From-SVN: r141261
2008-10-21semantics.c (simplify_aggr_init_exprs_r): Remove.Richard Guenther2-34/+6
2008-10-21 Richard Guenther <rguenther@suse.de> * semantics.c (simplify_aggr_init_exprs_r): Remove. (expand_or_defer_fn): Do not walk the function body to simplify aggr_init_exprs. From-SVN: r141260
2008-10-21Daily bump.GCC Administrator1-1/+1
From-SVN: r141257
2008-10-21re PR debug/37020 (FAIL: gcc.dg/debug/dwarf2/dwarf-die3.c scan-assembler-not ↵Jakub Jelinek2-11/+5
DW_AT_inline) PR debug/37020 * c-decl.c (merge_decls): Don't call outlining_inline_function hook. From-SVN: r141253
2008-10-21tree-inline.c (tree_inlinable_function_p): Remove tuples debugging hack.Jakub Jelinek2-7/+4
* tree-inline.c (tree_inlinable_function_p): Remove tuples debugging hack. From-SVN: r141252
2008-10-21gimplify.c (gimplify_expr): Drop TREE_OVERFLOW from INTEGER_CSTs.Jakub Jelinek2-0/+15
* gimplify.c (gimplify_expr): Drop TREE_OVERFLOW from INTEGER_CSTs. From-SVN: r141251
2008-10-20tree-ssa-pre.c (insert_into_preds_of_block): Don't rewrite constant part of ↵Daniel Berlin2-11/+8
expression. 2008-10-20 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-pre.c (insert_into_preds_of_block): Don't rewrite constant part of expression. From-SVN: r141249
2008-10-20re PR c/12603 (No return statement warning on function that never returns ↵Manuel López-Ibáñez2-0/+13
with -O3) 2008-10-20 Manuel López-Ibáñez <manu@gcc.gnu.org> PR 12603 * gcc.dg/pr12603.c: New testcase. From-SVN: r141244
2008-10-20* doc/install.texi: Fix typos in previous patch.Tobias Schlüter2-6/+10
From-SVN: r141240
2008-10-20Daily bump.GCC Administrator1-1/+1
From-SVN: r141236
2008-10-19re PR c++/37004 ([C++ only] Wconversion warns for short y = 0x7fff; short z ↵Manuel López-Ibáñez5-40/+84
= (short) x & y;) 2008-10-20 Manuel López-Ibáñez <manu@gcc.gnu.org> PR c++/37004 cp/ * typeck.c (cp_common_type): New. The same as type_after_usual_arithmetic_conversions but without promotions. (type_after_usual_arithmetic_conversions): Do the promotions and call cp_common_type. (common_type): Make it behave like the C version of this function. Do not handle pointer types. (common_pointer_type): Move handling of pointer types from common_type to here. (cp_build_binary_op): Use common_pointer_type instead of common_type in call to pointer_diff. Use cp_common_type instead of common_type. * cp-tree.h (common_pointer_type): Declare. testsuite/ * g++.dg/warn/Wconversion-pr34389.C: Remove XFAIL. From-SVN: r141233
2008-10-19* doc/install.texi: Document in-tree building of gcc and mpfr.Tobias Schlüter2-3/+19
From-SVN: r141232
2008-10-19tree-ssa-alias.c (may_alias_p): Remove bogus shortcut.Richard Guenther2-10/+4
2008-10-19 Richard Guenther <rguenther@suse.de> * tree-ssa-alias.c (may_alias_p): Remove bogus shortcut. From-SVN: r141229
2008-10-19re PR c/30260 (Enumeration types and enumeration constants erroneously given ↵Manuel López-Ibáñez4-17/+72
unsigned types) 2008-10-19 Manuel López-Ibáñez <manu@gcc.gnu.org> PR c/30260 * c-decl.c (finish_enum): Convert non-integer enumerators to enum type. (build_enumerator): Convert enumerators that fit in integer to integer type. testsuite/ * gcc.dg/pr30260.c: New. From-SVN: r141224
2008-10-19Convert gcc/testsuite/ChangeLog to UTF-8.Manuel López-Ibáñez1-8/+8
Command used: LC_ALL=C sed -i \ -e 's/D\(o\|\xf6\)nmez/D\xc3\xb6nmez/' \ -e 's/\(Av\|\xc3\xc2v\|\x81\xc1v\|\xc1v\|\xef\xbf\xbdv\?\|\x81\xc3\x81v\|\xc3v\)ila/\xc3\x81vila/' \ -e 's/Esp\(in\|\xc3\xc2\xadn\|\x81\xedn\|\xedn\|\xef\xbf\xbdn\?\|\xef\xbf\xbd\xadn\|\x81\xc3\xadn\)dola/Esp\xc3\xadndola/' \ -e 's/Schl\(u\|\xc3\xc2\xbc\|\xef\xbf\xbd\|\xfcu\?\|\x81\xfc\|\x81\xc3\xbc\|\xc3\xaf\xc2\xbf\xc2\xbd\|\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xc2\xbc\)ter/Schl\xc3\xbcter/' \ -e 's/Humi\(e\|\xe8\|\xc3\xc2\xa8\)res/Humi\xc3\xa8res/' \ -e 's/L\(ow\|\xc3\xaf\xc2\xbf\xc2\xbd\|oew\|\xf6w\)is/L\xc3\xb6wis/' \ -e 's/G\xfctlein/G\xc3\xbctlein/' \ -e 's/G\xe1[b]or/G\xc3\xa1bor/' \ -e 's/L\xf3ki/L\xc3\xb3ki/' \ -e 's/Fautr\xc3 /Fautr\xc3\xa9 /' \ -e 's/S\xe9[b]astian/S\xc3\xa9bastian/' \ -e 's/Th\xef\xbf\xbd[d]ore/Th\xc3\xa9odore/' \ -e 's/Cors\xc3\xc2\xa9pius/Cors\xc3\xa9pius/' \ -e 's/K\xfchl/K\xc3\xbchl/' \ -e 's/R\xf6nnerup/R\xc3\xb6nnerup/' \ -e 's/L\xf8vset/L\xc3\xb8vset/' \ -e 's/Ph\x81\xfb\x81\xf4ng-Th\x81\xe5o/Ph\xc3\xbb\xc3\xb4ng-Th\xc3\xa5o/' \ -e 's/V\x81\xf5/V\xc3\xb5/' \ -e 's/J\xf6nsson/J\xc3\xb6nsson/' \ -e 's/V\xef\xbf\xbdis\xef\xbf\xbdnen/V\xc3\xa4is\xc3\xa4nen/' \ -e 's/J\xef\xbf\xbdrg/J\xc3\xb6rg/' \ -e 's/M\xef\xbf\xbdsli/M\xc3\xb6sli/' \ -e 's/R\xe4ty/R\xc3\xa4ty/' \ -e 's/2003\xc2\xad-/2003-/' \ -e 's/\xc2\xa0/ /g' \ -e 's/ \xa0/ /g' \ -e 's/\xa0 //' \ gcc/testsuite/ChangeLog From-SVN: r141223
2008-10-19re PR fortran/37723 (wrong result for left-right hand side array overlap and ↵Paul Thomas4-0/+47
(possibly) negative strides) 2008-10-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/37723 * dependency.c (gfc_dep_resolver ): If we find equal array element references, go on to the next reference. 2008-10-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/37723 * gfortran.dg/dependency_22.f90: New test. From-SVN: r141221
2008-10-19Daily bump.GCC Administrator1-1/+1
From-SVN: r141217
2008-10-18i386.md (unnamed peephole2): Do not force memory operands of arith or ↵Uros Bizjak3-73/+84
logical instructions into registers... * config/i386/i386.md (unnamed peephole2): Do not force memory operands of arith or logical instructions into registers for non-TARGET_READ_MODIFY targets. (ffs_cmove): Change operand 0 predicate to register_operand. Change operand 1 predicate to nonimmediate_operand. (ffsdi2): Ditto. (*ffs_no_cmove): Change operand 0 predicate to register_operand. From-SVN: r141213
2008-10-18tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Guard VIEW_CONVERT_EXPR ↵Richard Guenther2-18/+28
case against invalid gimple. 2008-10-18 Richard Guenther <rguenther@suse.de> * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Guard VIEW_CONVERT_EXPR case against invalid gimple. From-SVN: r141212
2008-10-18dll-2.c: Revert revision 138893: Change "dg-message" back to "dg-warning".Danny Smith3-3/+9
* gcc.dg/dll-2.c: Revert revision 138893: Change "dg-message" back to "dg-warning". * gcc.dg/dll-3.c: Likewise. From-SVN: r141209
2008-10-18Daily bump.GCC Administrator1-1/+1
From-SVN: r141205
2008-10-17trans.c (gnat_to_gnu): Simplify expansion to use only a single check instead ↵Geert Bosch2-47/+48
of three... * gcc-interface/trans.c (gnat_to_gnu) <N_Slice>: Simplify expansion to use only a single check instead of three, and avoid unnecessary COMPOUND_EXPR. (emit_check): Avoid useless COMPOUND_EXPRs and SAVE_EXPRs, sometimes creating more opportunities for optimizations. From-SVN: r141198
2008-10-17c-parser.c (c_parser_binary_expression): Silence the uninitialized variable ↵Andreas Krebbel2-1/+6
warning emitted for binary_loc. 2008-10-17 Andreas Krebbel <krebbel1@de.ibm.com> * c-parser.c (c_parser_binary_expression): Silence the uninitialized variable warning emitted for binary_loc. From-SVN: r141193
2008-10-17Daily bump.GCC Administrator1-1/+1
From-SVN: r141185
2008-10-16tree-ssa-pre.c (phi_translate_set): Add constants to phi translation cache.Daniel Berlin2-3/+7
2008-10-16 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-pre.c (phi_translate_set): Add constants to phi translation cache. From-SVN: r141182
2008-10-16re PR target/37381 (ICE in ia64_speculate_insn, at config/ia64/ia64.c:6902)Alexander Monakov2-0/+102
2008-10-16 Alexander Monakov <amonakov@ispras.ru> PR target/37381 * gcc.c-torture/compile/pr37381.c: New test. From-SVN: r141177
2008-10-16re PR c/33192 (__imag operator drops side effects in subexpr)Joseph Myers4-1/+30
PR c/33192 * c-typeck.c (build_unary_op): Use omit_one_operand for IMAGPART_EXPR of real argument. testsuite: * gcc.dg/imag-1.c: New test. From-SVN: r141176
2008-10-16resolve.c (resolve_elemental_actual): Handle calls to intrinsic subroutines ↵Daniel Kraft4-2/+30
correctly. 2008-10-16 Daniel Kraft <d@domob.eu> * resolve.c (resolve_elemental_actual): Handle calls to intrinsic subroutines correctly. 2008-10-16 Daniel Kraft <d@domob.eu> * gfortran.dg/elemental_intrinsic_1.f03: New test. From-SVN: r141175
2008-10-16re PR tree-optimization/37664 (ice in remove_range_assertions, at ↵Jakub Jelinek4-1/+25
tree-vrp.c:5116) PR tree-optimization/37664 * fold-const.c (fold_binary): When optimizing comparison with highest or lowest type's value, don't consider TREE_OVERFLOW. * gcc.c-torture/compile/pr37664.c: New test. From-SVN: r141171
2008-10-16re PR c++/35483 (GCC on AIX doesn't support dollar in symbols name.)David Edelsohn10-7/+31
gcc/ PR target/35483 * Makefile.in (coverage.o): Depend on $(TM_P_H). * coverage.c: Include tm_p.h. * config/rs6000/x-aix (jc1): Override LDFLAGS. * config/rs6000/xcoff.h (ASM_GENERATE_INTERNAL_LABEL): Strip dollar signs from PREFIX. * config/rs6000/rs6000.c (output_toc): Use RS6000_OUTPUT_BASENAME instead of manual strip_name_encoding. java/ PR target/35483 * Make-lang.in (class.o): Depend on $(TM_P_H). (expr.o): Same. * class.c: Include tm_p.h. * expr.c: Include tm_p.h. From-SVN: r141170
2008-10-16re PR middle-end/37418 (error: type mismatch in address expression, ↵Richard Biener7-3/+46
verify_gimple failed) 2008-10-16 Joseph Myers <joseph@codesourcery.com> Richard Guenther <rguenther@suse.de> PR middle-end/37418 * tree-ssa.c (useless_type_conversion_p_1): Do not treat volatile qualified functions or methods as relevant. * gcc.c-torture/compile/pr37418-1.c, gcc.c-torture/compile/pr37418-2.c, gcc.c-torture/compile/pr37418-3.c, gcc.c-torture/compile/pr37418-4.c: New tests. From-SVN: r141165
2008-10-16re PR tree-optimization/37525 (IVOPTS difference causing 20% degradation in ↵Jakub Jelinek2-32/+79
173.applu benchmark) PR tree-optimization/37525 * tree.c (int_fits_type_p): Rewrite using double_int. Zero extend sizetype unsigned constants, both in the case of C and bounds. From-SVN: r141164
2008-10-15ira-emit.c (change_regs): Return false when replacing reg by itself.Jan Hubicka2-1/+10
2008-10-15 Jan Hubicka <jh@suse.cz> * ira-emit.c (change_regs): Return false when replacing reg by itself. From-SVN: r141163
2008-10-16re PR target/37633 (wrong register use on sh64)Vladimir Makarov2-2/+8
2008-10-14 Vladimir Makarov <vmakarov@redhat.com> PR target/37633 * ira-costs.c (ira_tune_allocno_costs_and_cover_classes): Check HARD_REGNO_CALL_PART_CLOBBERED. From-SVN: r141161
2008-10-16re PR middle-end/37535 (gcc/libgcc2.c:404: internal compiler error: Floating ↵Vladimir Makarov3-35/+193
point exception) 2008-10-15 Vladimir Makarov <vmakarov@redhat.com> PR middle-end/37535 * ira-lives.c (mark_early_clobbers): Remove. (make_pseudo_conflict, check_and_make_def_use_conflicts, check_and_make_def_conflicts, make_early_clobber_and_input_conflicts, mark_hard_reg_early_clobbers): New functions. (process_bb_node_lives): Call make_early_clobber_and_input_conflicts and mark_hard_reg_early_clobbers. Make hard register inputs live again. * doc/rtl.texi (clobber): Change descriotion of RA behaviour for early clobbers of pseudo-registers. From-SVN: r141160
2008-10-16re PR middle-end/37674 (Bootstrap failure due to miscompilation of genattrtab)Vladimir Makarov2-22/+26
2008-10-15 Vladimir Makarov <vmakarov@redhat.com> PR middle-end/37674 * ira-build.c (ira_flattening): Recalculate ALLOCNO_TOTAL_NO_STACK_REG_P and ALLOCNO_TOTAL_CONFLICT_HARD_REGS from the scratch instead of the propagation. From-SVN: r141159
2008-10-16Daily bump.GCC Administrator1-1/+1
From-SVN: r141157