aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2011-03-07gimplify.c (gimplify_function_tree): Fix building calls to ↵Paul Wögerer4-4/+28
__builtin_return_address. gcc/ * gimplify.c (gimplify_function_tree): Fix building calls to __builtin_return_address. gcc/testsuite/ * gcc.dg/20001117-1.c: Abort on NULL call_sites. Co-Authored-By: Nathan Froyd <froydnj@codesourcery.com> From-SVN: r170738
2011-03-07linux.h (TARGET_ASM_FILE_END): Don't define.Alan Modra7-32/+158
* config/rs6000/linux.h (TARGET_ASM_FILE_END): Don't define. * config/rs6000/linux64.h (TARGET_ASM_FILE_END): Don't define. * config/rs6000/sysv4.h (TARGET_ASM_FILE_END): Define. * config/rs6000/rs6000-protos.h (init_cumulative_args): Add fndecl and return_mode args. * config/rs6000/rs6000.h (CUMULATIVE_ARGS): Add "escapes". (INIT_CUMULATIVE_ARGS): Pass FNDECL, VOIDmode. (INIT_CUMULATIVE_INCOMING_ARGS): Pass current_function_decl, VOIDmode. (INIT_CUMULATIVE_LIBCALL_ARGS): Pass NULL_TREE, MODE. * config/rs6000/rs6000.c (rs6000_elf_end_indicate_exec_stack): Rename to.. (rs6000_elf_file_end): ..this. Only call file_end_indicate_exec_stack for POWERPC_LINUX. Move code emitting .gnu_attribute to here, from.. (rs6000_file_start): ..here. (rs6000_passes_float, rs6000_passes_vector, rs6000_returns_struct): New file scope variables. (call_ABI_of_interest): New function. (init_cumulative_args): Set above vars when function return value is a float, vector, or small struct. (rs6000_function_arg_advance_1): Likewise for function args. (rs6000_va_start): Set rs6000_passes_float if variable arg function references float args. From-SVN: r170734
2011-03-07Remove redundant word 'See' before @xrefMingjie Xing3-3/+7
From-SVN: r170730
2011-03-07* README.QMTEST: Remove.Mark Mitchell2-175/+4
From-SVN: r170728
2011-03-07Daily bump.GCC Administrator1-1/+1
From-SVN: r170725
2011-03-06re PR fortran/47850 (ICE in gfc_conv_array_initializer)Paul Thomas4-4/+52
2011-03-06 Paul Thomas <pault@gcc.gnu.org> Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/47850 * expr.c (gfc_is_constant_expr): Only use gfc_constant_ac if the expression has an iterator. Otherwise, iterate through the array, checking for constant expressions for each element. 2011-03-06 Paul Thomas <pault@gcc.gnu.org> Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/47850 * gfortran.dg/array_constructor_37.f90 : New test. Co-Authored-By: Jerry DeLisle <jvdelisle@gcc.gnu.org> From-SVN: r170720
2011-03-06lang-specs.h: Match -save-temps* instead of -save-temps.Joseph Myers6-24/+36
cp: * lang-specs.h: Match -save-temps* instead of -save-temps. objc: * lang-specs.h: Match -save-temps* instead of -save-temps. objcp * lang-specs.h: Match -save-temps* instead of -save-temps. From-SVN: r170715
2011-03-06* de.po: Update.Joseph Myers2-369/+368
From-SVN: r170713
2011-03-05* doc/invoke.texi (C++ Dialect Options): Document ABI v5.Jason Merrill6-3/+17
From-SVN: r170712
2011-03-05mangle.c (write_expression): Change ABI v6 to v5.Jason Merrill3-7/+11
* mangle.c (write_expression): Change ABI v6 to v5. (write_type): Likewise. From-SVN: r170711
2011-03-06Daily bump.GCC Administrator1-1/+1
From-SVN: r170710
2011-03-06pr47975.c: Add -fno-common option on hppa*-*-hpux*.John David Anglin2-0/+5
* gcc.dg/torture/pr47975.c: Add -fno-common option on hppa*-*-hpux*. From-SVN: r170706
2011-03-05* gcc.pot: Regenerate.Joseph Myers2-5990/+6304
From-SVN: r170703
2011-03-05Add newlib-stdint.h to moxie-eld config.Anthony Green2-1/+5
From-SVN: r170700
2011-03-05re PR rtl-optimization/47899 (ICE in get_loop_body, at cfgloop.c:831)Zdenek Dvorak4-4/+44
PR rtl-optimization/47899 * cfgloopmanip.c (fix_bb_placements): Fix first argument to flow_loop_nested_p when moving the loop upward. * gcc.dg/pr47899.c: New test. From-SVN: r170699
2011-03-05re PR target/47719 (ICE compiling libavcodec/adxdec.c (FFmpeg) for ARM)Richard Earnshaw2-4/+8
PR target/47719 * arm.md (movhi_insn_arch4): Accept any immediate constant. From-SVN: r170698
2011-03-05Daily bump.GCC Administrator1-1/+1
From-SVN: r170696
2011-03-05* gcc.dg/torture/pr47968.c: Ignore warnings.Jakub Jelinek2-1/+3
From-SVN: r170691
2011-03-05re PR tree-optimization/47967 (ICE: verify_stmts failed: conversion of ↵Jakub Jelinek4-14/+68
register to a different size with -fipa-cp on undefined code) PR tree-optimization/47967 * ipa-cp.c (build_const_val): Return NULL instead of creating VIEW_CONVERT_EXPR for mismatching sizes. (ipcp_create_replace_map): Return NULL if build_const_val failed. (ipcp_insert_stage): If ipcp_create_replace_map returns NULL, give up on versioning. * gcc.c-torture/compile/pr47967.c: New test. From-SVN: r170689
2011-03-05re PR target/47986 (gcc.c-torture/execute/20040709-1.c fails with ↵Alan Modra2-7/+19
non-delegitimized UNSPEC) PR target/47986 * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle full cmodel medium/large lo_sum + high addresses. From-SVN: r170687
2011-03-04s390.c (s390_decompose_address): Reject non-literal pool references in ↵Andreas Krebbel2-0/+15
UNSPEC_LTREL_OFFSET. 2011-03-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (s390_decompose_address): Reject non-literal pool references in UNSPEC_LTREL_OFFSET. From-SVN: r170685
2011-03-04In gcc/testsuite/: 2011-03-04 Nicola Pero <nicola.pero@meta-innovation.com>Nicola Pero3-8/+11
In gcc/testsuite/: 2011-03-04 Nicola Pero <nicola.pero@meta-innovation.com> * objc.dg/property/property-encoding-1.m: Tidied up testcase. * obj-c++.dg/property/property-encoding-1.mm: Likewise. From-SVN: r170684
2011-03-04re PR lto/47497 (SPEC CPU 2006 failed to link with LTO -fuse-linker-plugin ↵Jan Hubicka9-20/+52
-fwhole-program) PR lto/47497 * lto-symtab.c (lto_cgraph_replace_node): Do not set thunk.alias. (lto_symtab_merge_cgraph_nodes_1): Update thunk.alias pointers here. * cgraph.h (cgraph_same_body_alias, cgraph_add_thunk): Add node pointers. * cgraph.c (cgraph_same_body_alias_1, cgraph_same_body_alias, cgraph_add_thunk): Add node pointers. * lto-cgraph.c (lto_output_node): Verify that thunks&aliases are associated to right node. (input_node): Update use of cgraph_same_body_alias and cgraph_add_thunk. * optimize.c (maybe_clone_body): Update call of cgraph_same_body_alias and cgraph_add_thunk. * method.c (make_alias_for_thunk, use_thunk): Likewise. * mangle.c (mangle_decl): Likewise. From-SVN: r170682
2011-03-04Introduce flag -mprefer-avx128 for the auto-vectorizer to generate only ↵Changpeng Fang3-2/+12
128-bit avx insns. * config/i386/i386.opt (mprefer-avx128): New flag. * config/i386/i386.c (ix86_preferred_simd_mode): Prefer 128-bit mode when the flag -mprefer-avx128 is on. From-SVN: r170681
2011-03-04PR 47802 Update doc for CTIME and FDATE intrinsicsJanne Blomqvist2-13/+24
From-SVN: r170679
2011-03-04In gcc/testsuite/: 2011-03-04 Nicola Pero <nicola.pero@meta-innovation.com>Nicola Pero5-32/+460
In gcc/testsuite/: 2011-03-04 Nicola Pero <nicola.pero@meta-innovation.com> * objc.dg/gnu-api-2-property.m: Added tests for property_getName() and property_getAttributes() if __OBJC2__. * obj-c++.dg/gnu-api-2-property.mm: Likewise. * objc.dg/property/property-encoding-1.m: New. * obj-c++.dg/property/property-encoding-1.mm: New. From-SVN: r170678
2011-03-04re PR c++/47971 (ICE: in tsubst_copy, at cp/pt.c:11725 on valid code)Jason Merrill4-2/+19
PR c++/47971 * pt.c (tsubst_copy_and_build) [PSEUDO_DTOR_EXPR]: Use tsubst for type. (tsubst_copy) [default]: Just return t if !ENABLE_CHECKING. From-SVN: r170677
2011-03-04re PR c++/46220 (Error: invalid covariant return type generated for ↵Jason Merrill4-4/+34
incomplete class type and different qualifer) PR c++/46220 * search.c (check_final_overrider): Allow pointer to same incomplete class type with different cv-quals. From-SVN: r170676
2011-03-04dwarf2out.c (compare_loc_operands): Fix address handling.Richard Sandiford2-1/+5
gcc/ * dwarf2out.c (compare_loc_operands): Fix address handling. From-SVN: r170675
2011-03-04tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment.Alan Modra2-2/+5
* tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment. From-SVN: r170674
2011-03-04re PR middle-end/47968 (ICE: in gen_lowpart_general, at rtlhooks.c:51 when ↵Richard Guenther4-3/+23
converting vector of double to vector of float) 2011-03-04 Richard Guenther <rguenther@suse.de> PR middle-end/47968 * expmed.c (extract_bit_field_1): Prefer vector modes that vec_extract patterns can handle. * gcc.dg/torture/pr47968.c: New testcase. From-SVN: r170673
2011-03-04re PR target/47975 (ICE: in expand_shift, at expmed.c:2299 when using 256b ↵Richard Guenther4-4/+23
vectors without -mavx) 2011-03-04 Richard Guenther <rguenther@suse.de> PR middle-end/47975 * optabs.c (optab_for_tree_code): Do not use VECTOR_MODE_P. * gcc.dg/torture/pr47975.c: New testcase. From-SVN: r170672
2011-03-04Daily bump.GCC Administrator1-1/+1
From-SVN: r170669
2011-03-03explow.c (emit_stack_save): Remove 'after' parameter.Richard Henderson12-71/+51
* explow.c (emit_stack_save): Remove 'after' parameter. (emit_stack_restore): Likewise. * expr.h: Update to match. * builtins.c, calls.c, stmt.c: Likewise. * config/alpha/alpha.md, config/avr/avr.md: Likewise. * config/mips/mips.md, config/pa/pa.md, config/vax/vax.md: Likewise. * function.c (expand_function_end): Insert the emit_stack_save sequence before parm_birth_insn instead of after. From-SVN: r170663
2011-03-03sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX.Uros Bizjak2-10/+15
* config/i386/sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX. (ssse3_pmaddubsw128): Ditto. (ssse3_pmaddubsw): Ditto. From-SVN: r170661
2011-03-03t-hpux: Add $(srcdir)/unwind-c.c to LIB2ADDEHSteve Ellcey2-1/+5
2011-03-03 Steve Ellcey <sje@cup.hp.com> * config/ia64/t-hpux: Add $(srcdir)/unwind-c.c to LIB2ADDEH From-SVN: r170659
2011-03-03re PR c++/47974 (ICE: tree check: expected tree_vec, have error_mark in ↵Paolo Carlini4-3/+30
tsubst_template_args, at cp/pt.c:8969 on invalid code) /cp 2011-03-03 Paolo Carlini <paolo.carlini@oracle.com> PR c++/47974 * pt.c (tsubst_template_args): Check argument t for error_mark_node. /testsuite 2011-03-03 Paolo Carlini <paolo.carlini@oracle.com> PR c++/47974 * g++.dg/template/crash106.C: New. From-SVN: r170658
2011-03-03re PR c++/47950 ([C++0x] Internal compiler error: non-dependent declaration ↵Jason Merrill2-1/+10
as condition causes tsubst_copy_and_build assertion failure.) PR c++/47950 * pt.c (tsubst_copy_and_build) [TARGET_EXPR]: Retain TREE_CONSTANT. From-SVN: r170656
2011-03-03re PR c/47963 (ICE: tree check: expected tree that contains 'decl common' ↵Jakub Jelinek5-2/+35
structure, have 'integer_cst' in is_global_var, at tree-flow-inline.h:599 on invalid code with -fopenmp) PR c/47963 * gimplify.c (omp_add_variable): Only call omp_notice_variable on TYPE_SIZE_UNIT if it is a DECL. * gcc.dg/gomp/pr47963.c: New test. * g++.dg/gomp/pr47963.C: New test. From-SVN: r170655
2011-03-03re PR debug/47283 (ICE in refs_may_alias_p_1, at tree-ssa-alias.c)Jakub Jelinek2-0/+20
PR debug/47283 * cfgexpand.c (expand_debug_expr) <case MEM_REF>: If MEM_REF first operand is not is_gimple_mem_ref_addr, try to fold it. If the operand still isn't is_gimple_mem_ref_addr, clear MEM_EXPR on op0. From-SVN: r170654
2011-03-03re PR debug/47283 (ICE in refs_may_alias_p_1, at tree-ssa-alias.c)Richard Guenther2-1/+14
2011-03-03 Richard Guenther <rguenther@suse.de> PR middle-end/47283 * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Make code match comment. (refs_may_alias_p_1): For release branches return true if we are confused by our input. From-SVN: r170650
2011-03-03s390.c (s390_function_value): Rename to ...Andreas Krebbel4-21/+53
2011-03-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (s390_function_value): Rename to ... (s390_function_and_libcall_value): ... this. (s390_function_value): New function. (s390_libcall_value): New function. (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Define target hooks. * config/s390/s390.h (FUNCTION_VALUE, LIBCALL_VALUE): Remove target macro definitions. * config/s390/s390-protos.h (s390_function_value): Remove prototype. From-SVN: r170649
2011-03-03Don't crash if erroneous type was not converted.Ian Lance Taylor1-1/+6
From-SVN: r170646
2011-03-03Don't crash on large composite literal array index.Ian Lance Taylor1-0/+26
From-SVN: r170645
2011-03-03Don't crash calling make with NaN or Infinity.Ian Lance Taylor1-1/+1
From-SVN: r170644
2011-03-03Make sure variable type is determined when var initialized to var.Ian Lance Taylor5-11/+25
From-SVN: r170643
2011-03-03Don't crash getting type descriptor of abstract types.Ian Lance Taylor1-4/+9
From-SVN: r170642
2011-03-03docs: fix typos and markup nits in Fortran manual.Ralf Wildenhues2-12/+20
gcc/fortran/: * invoke.texi (Option Summary, Fortran Dialect Options) (Preprocessing Options, Runtime Options, Code Gen Options): Fix vertical list spacing by using @itemx for additinoal items, empty line before @table. Fix typos. From-SVN: r170641
2011-03-03Don't look for methods on named pointer types.Ian Lance Taylor1-3/+1
From-SVN: r170640
2011-03-02re PR c++/47950 ([C++0x] Internal compiler error: non-dependent declaration ↵Jason Merrill4-3/+85
as condition causes tsubst_copy_and_build assertion failure.) PR c++/47950 * parser.c (cp_parser_condition): Don't fold_non_dependent_expr here. From-SVN: r170639