aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2013-07-25dwarf2out.c (size_of_pubnames): Move code to...Sterling Augustine2-21/+42
2013-07-25 Sterling Augustine <saugustine@google.com> * dwarf2out.c (size_of_pubnames): Move code to... (include_pubname_in_output): ...here. New. (want_pubnames): Rearrange. (output_pubnames): Call include_pubname_in_output. Move assertion. From-SVN: r201255
2013-07-25re PR fortran/57966 ([OOP] Using a TBP to specify the shape of a dummy argument)Janus Weil4-0/+55
2013-07-25 Janus Weil <janus@gcc.gnu.org> PR fortran/57966 * resolve.c (resolve_typebound_function): Make sure the declared type, including its type-bound procedures, is resolved before resolving the actual type-bound call. 2013-07-25 Janus Weil <janus@gcc.gnu.org> PR fortran/57966 * gfortran.dg/typebound_call_25.f90: New. From-SVN: r201254
2013-07-25re PR target/38836 (Documentation for x86 builtins is outdated)Cameron McInally2-46/+38
2013-07-25 Cameron McInally <cameron.mcinally@nyu.edu> * doc/extend.texi: Fix return types for __builtin_ia32_cmp*s builtins. 2013-07-25 Cameron McInally <cameron.mcinally@nyu.edu> PR target/38836 * doc/extend.texi: Remove obsolete builtins. Fix typo for __builtin_ia32_loadss and __builtin_ia32_cmpnltss. From-SVN: r201252
2013-07-25cgraph.c (release_function_body): Break out from ...Jan Hubicka7-24/+68
* cgraph.c (release_function_body): Break out from ... (cgraph_release_function_body): ... this one; also release DECL_RESULT and DECL_ARGUMENTS. * ipa-cp.c (get_replacement_map): Add parm_num argument; do not set old_tree in the map. (create_specialized_node): Update. * lto-cgraph.c (output_node_opt_summary): Do not translate old_tree into index. * cgraphclones.c (cgraph_create_virtual_clone): Do not copy DECL_ARGUMENTS, DECL_INITIAL and DECL_RESULT. * ipa-prop.c (ipa_populate_param_decls): Look for origin of clones. * tree-inline.c (initialize_cfun): Initialize DECL_ARGUMENTS and DECL_RESULT. From-SVN: r201251
2013-07-25arm.md (arm_addsi3, [...]): Correct output template.Kyrylo Tkachov2-3/+8
2013-07-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/arm.md (arm_addsi3, addsi3_carryin_<optab>, addsi3_carryin_alt2_<optab>): Correct output template. From-SVN: r201250
2013-07-25arm-fixed.md (ssmulsa3, usmulusa3): Adjust for arm_restrict_it.Kyrylo Tkachov2-20/+48
2013-07-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/arm-fixed.md (ssmulsa3, usmulusa3): Adjust for arm_restrict_it. Remove trailing whitespace. From-SVN: r201249
2013-07-25pa.c (pa_trampoline_init): Emit __enable_execute_stack libcall if ↵Mark Kettenis2-0/+8
HAVE_ENABLE_EXECUTE_STACK is defined. * config/pa/pa.c (pa_trampoline_init): Emit __enable_execute_stack libcall if HAVE_ENABLE_EXECUTE_STACK is defined. From-SVN: r201248
2013-07-25config.gcc (hppa-*-openbsd*): Don't set tmake_file.Mark Kettenis2-1/+4
* config.gcc (hppa-*-openbsd*): Don't set tmake_file. From-SVN: r201247
2013-07-25re PR c++/57981 (ICE in this code)Paolo Carlini9-31/+112
/cp 2013-07-25 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57981 * decl.c (check_default_argument): Take a tsubst_flags_t parameter. (grokparms): Adjust. * parser.c (cp_parser_late_parse_one_default_arg): Likewise. * pt.c (tsubst_default_argument, tsubst_default_arguments): Take a tsubst_flags_t parameter. (tsubst_decl): Adjust. * call.c (convert_default_arg): Likewise. * cp-tree.h (check_default_argument, tsubst_default_argument): Update declarations. /testsuite 2013-07-25 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57981 * g++.dg/cpp0x/pr57981.C: New. /cp 2013-07-25 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57880 * parser.c (cp_parser_operator, case CPP_WSTRING, CPP_STRING16, CPP_STRING32, CPP_UTF8STRING, CPP_WSTRING_USERDEF, CPP_STRING16_USERDEF, CPP_STRING32_USERDEF, CPP_UTF8STRING_USERDEF): Fix string_len management, tidy. /testsuite 2013-07-25 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57880 * g++.dg/cpp1y/udlit-empty-string-neg.C: New. From-SVN: r201245
2013-07-25re PR rtl-optimization/57960 (S/390: LRA ICE building glibc)Vladimir Makarov4-1/+43
2013-07-25 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/57960 * lra-constraints.c (process_alt_operands): Use the right mode when checking strict_low. 2013-07-25 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/57960 * gcc.target/s390/pr57960.c: New. From-SVN: r201243
2013-07-25lto-symtab.c (lto_cgraph_replace_node): Release function body.Jan Hubicka4-25/+45
* lto-symtab.c (lto_cgraph_replace_node): Release function body. * cgraph.c (cgraph_remove_node): Do not release function body when in cgraph streaming. * ipa.c (process_references, symtab_remove_unreachable_nodes): Objects in other partitions are not considered reachable; fix handling of clones. From-SVN: r201242
2013-07-25Remove unnecessary space.Ramana Radhakrishnan2-2/+7
From-SVN: r201241
2013-07-25Fix PR target/57731 PR target/57837Ramana Radhakrishnan3-11/+23
2013-07-25 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/19599 PR target/57731 PR target/57837 * config/arm/arm.md ("*sibcall_value_insn): Replace use of Ss with US. Adjust output for v5 and v4t. (*sibcall_value_insn): Likewise and loosen predicate on operand0. * config/arm/constraints.md ("Ss"): Rename to US. From-SVN: r201240
2013-07-25re PR fortran/57639 ([OOP] ICE with polymorphism (and illegal code))Janus Weil5-2/+39
2013-07-25 Janus Weil <janus@gcc.gnu.org> PR fortran/57639 * interface.c (compare_parameter): Check for class_ok. * simplify.c (gfc_simplify_same_type_as): Ditto. 2013-07-25 Janus Weil <janus@gcc.gnu.org> PR fortran/57639 * gfortran.dg/unlimited_polymorphic_9.f90: New. From-SVN: r201239
2013-07-25arm.c (thumb1_size_rtx_costs): Assign proper cost for ↵Terry Guo4-0/+30
shift_add/shift_sub0/shift_sub1 RTXs. gcc/ChangeLog: 2013-07-24 Terry Guo <terry.guo@arm.com> * config/arm/arm.c (thumb1_size_rtx_costs): Assign proper cost for shift_add/shift_sub0/shift_sub1 RTXs. gcc/testsuite/ChangeLog: 2013-07-24 Terry Guo <terry.guo@arm.com> * gcc.target/arm/thumb1-Os-mult.c: New test case. From-SVN: r201237
2013-07-25altivec.md (altivec_vpkpx): Handle little endian.Bill Schmidt2-5/+44
2013-07-24 Bill Schmidt <wschmidt@linux.ibm.com> Anton Blanchard <anton@au1.ibm.com> * config/rs6000/altivec.md (altivec_vpkpx): Handle little endian. (altivec_vpks<VI_char>ss): Likewise. (altivec_vpks<VI_char>us): Likewise. (altivec_vpku<VI_char>us): Likewise. (altivec_vpku<VI_char>um): Likewise. Co-Authored-By: Anton Blanchard <anton@au1.ibm.com> From-SVN: r201235
2013-07-25Daily bump.GCC Administrator1-1/+1
From-SVN: r201233
2013-07-25Introduce context class.David Malcolm5-1/+95
2013-07-24 David Malcolm <dmalcolm@redhat.com> Introduce context class. * Makefile.in (CONTEXT_H): New. (OBJS): Add context.o. (toplev.o): Add CONTEXT_H to dependencies. (context.o): New. * toplev.c (general_init): Create the singleton gcc::context instance. * context.c: New. * context.h: New. From-SVN: r201230
2013-07-24re PR rtl-optimization/57968 (MODE_EXIT switches inserted too early)Joern Rennecke2-6/+15
PR rtl-optimization/57968 * mode-switching.c (create_pre_exit): Allow instructions that don't set a return register to need a non-exit mode. From-SVN: r201225
2013-07-24go-gcc.cc (Gcc_backend::non_zero_size_type): If a struct has a fields...Ian Lance Taylor2-14/+41
* go-gcc.cc (Gcc_backend::non_zero_size_type): If a struct has a fields, recreate those fields with the first one with a non-zero size. From-SVN: r201222
2013-07-24vector.md (vec_realign_load_<mode>): Reorder input operands to vperm for ↵Bill Schmidt3-3/+16
little endian. 2013-07-24 Bill Schmidt <wschmidt@vnet.linux.ibm.com> Anton Blanchard <anton@au1.ibm.com> * vector.md (vec_realign_load_<mode>): Reorder input operands to vperm for little endian. * rs6000.c (rs6000_expand_builtin): Use lvsr instead of lvsl to create the control mask for a vperm for little endian. Co-Authored-By: Anton Blanchard <anton@au1.ibm.com> From-SVN: r201208
2013-07-242013-07-24 Paolo Carlini <paolo.carlini@oracle.com>Paolo Carlini1-2/+2
Tweak last ChangeLog entry. From-SVN: r201202
2013-07-24re PR c++/57942 (g++-4.8.1 tries to instantiate wrong constructor)Paolo Carlini5-9/+35
/cp 2013-07-24 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57942 * typeck.c (ptr_reasonably_similar): Use COMPARE_STRICT if one of the target types is incomplete; return a bool, not an int. * cp-tree.h (ptr_reasonably_similar): Adjust declaration. /testsuite 2013-07-24 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57942 * g++.dg/inherit/pr57942.C: New. From-SVN: r201201
2013-07-24Correct ChangeLog for 201185.Michael Eager1-3/+5
From-SVN: r201200
2013-07-24Daily bump.GCC Administrator1-1/+1
From-SVN: r201199
2013-07-23rs6000.c (altivec_expand_vec_perm_const): Reverse two operands for ↵Bill Schmidt2-1/+10
little-endian. 2013-07-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com> Anton Blanchard <anton@au1.ibm.com> * config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Reverse two operands for little-endian. Co-Authored-By: Anton Blanchard <anton@au1.ibm.com> From-SVN: r201195
2013-07-23mips.c (mips_case_values_threshold): New.Steve Ellcey2-0/+20
2013-07-23 Steve Ellcey <sellcey@mips.com> * config/mips/mips.c (mips_case_values_threshold): New. (TARGET_CASE_VALUES_THRESHOLD): Define. From-SVN: r201194
2013-07-23rs6000.c (altivec_expand_vec_perm_const): Correct selection of field for ↵Bill Schmidt2-2/+10
vector splat in little endian mode. 2013-07-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com> Anton Blanchard <anton@au1.ibm.com> * config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Correct selection of field for vector splat in little endian mode. Co-Authored-By: Anton Blanchard <anton@au1.ibm.com> From-SVN: r201193
2013-07-23vector.md (xor<mode>3): Move 128-bit boolean expanders to rs6000.md.Michael Meissner18-522/+1319
[gcc] 2013-07-23 Michael Meissner <meissner@linux.vnet.ibm.com> * config/rs6000/vector.md (xor<mode>3): Move 128-bit boolean expanders to rs6000.md. (ior<mode>3): Likewise. (and<mode>3): Likewise. (one_cmpl<mode>2): Likewise. (nor<mode>3): Likewise. (andc<mode>3): Likewise. (eqv<mode>3): Likewise. (nand<mode>3): Likewise. (orc<mode>3): Likewise. * config/rs6000/rs6000-protos.h (rs6000_split_logical): New declaration. * config/rs6000/rs6000.c (rs6000_split_logical_inner): Add support to split multi-word logical operations. (rs6000_split_logical_di): Likewise. (rs6000_split_logical): Likewise. * config/rs6000/vsx.md (VSX_L2): Delete, no longer used. (vsx_and<mode>3_32bit): Move 128-bit logical insns to rs6000.md, and allow TImode operations in 32-bit. (vsx_and<mode>3_64bit): Likewise. (vsx_ior<mode>3_32bit): Likewise. (vsx_ior<mode>3_64bit): Likewise. (vsx_xor<mode>3_32bit): Likewise. (vsx_xor<mode>3_64bit): Likewise. (vsx_one_cmpl<mode>2_32bit): Likewise. (vsx_one_cmpl<mode>2_64bit): Likewise. (vsx_nor<mode>3_32bit): Likewise. (vsx_nor<mode>3_64bit): Likewise. (vsx_andc<mode>3_32bit): Likewise. (vsx_andc<mode>3_64bit): Likewise. (vsx_eqv<mode>3_32bit): Likewise. (vsx_eqv<mode>3_64bit): Likewise. (vsx_nand<mode>3_32bit): Likewise. (vsx_nand<mode>3_64bit): Likewise. (vsx_orc<mode>3_32bit): Likewise. (vsx_orc<mode>3_64bit): Likewise. * config/rs6000/rs6000.h (VLOGICAL_REGNO_P): Always allow vector logical types in GPRs. * config/rs6000/altivec.md (altivec_and<mode>3): Move 128-bit logical insns to rs6000.md, and allow TImode operations in 32-bit. (altivec_ior<mode>3): Likewise. (altivec_xor<mode>3): Likewise. (altivec_one_cmpl<mode>2): Likewise. (altivec_nor<mode>3): Likewise. (altivec_andc<mode>3): Likewise. * config/rs6000/rs6000.md (BOOL_128): New mode iterators and mode attributes for moving the 128-bit logical operations into rs6000.md. (BOOL_REGS_OUTPUT): Likewise. (BOOL_REGS_OP1): Likewise. (BOOL_REGS_OP2): Likewise. (BOOL_REGS_UNARY): Likewise. (BOOL_REGS_AND_CR0): Likewise. (one_cmpl<mode>2): Add support for DI logical operations on 32-bit, splitting the operations to 32-bit. (anddi3): Likewise. (iordi3): Likewise. (xordi3): Likewise. (and<mode>3, 128-bit types): Rewrite 2013-06-06 logical operator changes to combine the 32/64-bit code, allow logical operations on TI mode in 32-bit, and to use similar match_operator patterns like scalar mode uses. Combine the Altivec and VSX code for logical operations, and move it here. (ior<mode>3, 128-bit types): Likewise. (xor<mode>3, 128-bit types): Likewise. (one_cmpl<mode>3, 128-bit types): Likewise. (nor<mode>3, 128-bit types): Likewise. (andc<mode>3, 128-bit types): Likewise. (eqv<mode>3, 128-bit types): Likewise. (nand<mode>3, 128-bit types): Likewise. (orc<mode>3, 128-bit types): Likewise. (and<mode>3_internal): Likewise. (bool<mode>3_internal): Likewise. (boolc<mode>3_internal1): Likewise. (boolc<mode>3_internal2): Likewise. (boolcc<mode>3_internal1): Likewise. (boolcc<mode>3_internal2): Likewise. (eqv<mode>3_internal1): Likewise. (eqv<mode>3_internal2): Likewise. (one_cmpl1<mode>3_internal): Likewise. [gcc/testsuite] 2013-07-23 Michael Meissner <meissner@linux.vnet.ibm.com> * gcc.target/powerpc/bool2.h: New file, test the code generation of logical operations for power5, altivec, power7, and power8 systems. * gcc.target/powerpc/bool2-p5.c: Likewise. * gcc.target/powerpc/bool2-av.c: Likewise. * gcc.target/powerpc/bool2-p7.c: Likewise. * gcc.target/powerpc/bool2-p8.c: Likewise. * gcc.target/powerpc/bool3.h: Likewise. * gcc.target/powerpc/bool3-av.c: Likewise. * gcc.target/powerpc/bool2-p7.c: Likewise. * gcc.target/powerpc/bool2-p8.c: Likewise. From-SVN: r201187
2013-07-23microblaze.c (microblaze_expand_prologue): Rename flag_stack_usage to ↵David Holsgrove2-1/+6
flag_stack_usage_info. * config/microblaze/microblaze.c (microblaze_expand_prologue): Rename flag_stack_usage to flag_stack_usage_info. From-SVN: r201186
2013-07-23microblaze.c: Add microblaze_asm_output_mi_thunk and define ↵David Holsgrove5-0/+66
TARGET_ASM_OUTPUT_MI_THUNK and... * config/microblaze/microblaze.c: Add microblaze_asm_output_mi_thunk and define TARGET_ASM_OUTPUT_MI_THUNK and TARGET_ASM_CAN_OUTPUT_MI_THUNK. From-SVN: r201185
2013-07-23* c-parser.c (struct c_generic_association): Fix typo.Joseph Myers2-1/+5
From-SVN: r201178
2013-07-23* doc/invoke.texi (SPARC Options): Document new leon3 processor value.Eric Botcazou2-9/+14
From-SVN: r201177
2013-07-23go-backend.c: Don't #include "rtl.h".Ian Lance Taylor3-8/+7
* go-backend.c: Don't #include "rtl.h". (go_imported_unsafe): Don't call init_varasm_once. * Make-lang.in (go/go-backend.o): Don't depend on $(RTL_H). From-SVN: r201176
2013-07-23[AArch64, ILP32] Add change to gcc.target/aarch64/vect_smlal_1.c that was ↵Yufeng Zhang2-1/+5
missed from the previous commit (r201166). From-SVN: r201175
2013-07-23reload.c (find_reloads): Exit loop once we find this operand cannot be ↵Po-Chun Chang6-9/+43
reloaded somehow for this alternative. 2013-07-22 Po-Chun Chang <pchang9@cs.wisc.edu> * reload.c (find_reloads): Exit loop once we find this operand cannot be reloaded somehow for this alternative. * reload.c (find_reloads): Exit loop once we find a hard register. * rtlanal.c (computed_jump_p): Exit loop once we find label reference is used. * i386.c (ix86_pad_returns): Exit loop after setting replace. * cfgloopmanip.c (remove_path): Exit loop after setting irred_invalidated. * gensupport.c (subst_dup): Avoid loop if code is not MATCH_DUP nor MATCH_OP_DUP. From-SVN: r201174
2013-07-23md.texi (Machine-Specific Peephole Optimizers): Fix a typo.Nicklas Bo Jensen2-1/+5
2013-07-23 Nicklas Bo Jensen <nbjensen@gmail.com> * doc/md.texi (Machine-Specific Peephole Optimizers): Fix a typo. From-SVN: r201173
2013-07-23go-lang.c: Don't #include "except.h".Ian Lance Taylor3-2/+6
* go-lang.c: Don't #include "except.h". * Make-lang.in (go/go-lang.o): Don't depend on $(EXCEPT_H). From-SVN: r201171
2013-07-23[AArch64, ILP32] 6/6 Add support for "wsp" register.Yufeng Zhang3-3/+15
gcc/ * config/aarch64/aarch64.c (aarch64_hard_regno_mode_ok): Also return true for SP_REGNUM if mode == ptr_mode. * config/aarch64/aarch64.h (ADDITIONAL_REGISTER_NAMES): Add "wsp" with value R0_REGNUM + 31. From-SVN: r201170
2013-07-23[AArch64, ILP32] 5/6 Pad pointer-typed stack argument downward in ILP32.Yufeng Zhang4-2/+51
gcc/ * config/aarch64/aarch64.c (aarch64_pad_arg_upward): In big-endian, pad pointer-typed argument downward. gcc/testsuite/ * gcc.target/aarch64/test-ptr-arg-on-stack-1.c: New test. From-SVN: r201168
2013-07-23[AArch64, ILP32] 4/6 Define _ILP32 and __ILP32__.Yufeng Zhang2-0/+10
gcc/ * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define _ILP32 and __ILP32__ when the ILP32 model is in use. From-SVN: r201167
2013-07-23[AArch64, ILP32] 3/6 Change tests to be ILP32-friendly.Yufeng Zhang13-41/+89
gcc/testsuite/ * gcc.dg/20020219-1.c: Skip the test on aarch64*-*-* in ilp32. * gcc.target/aarch64/aapcs64/test_18.c (struct y): Change the field type from long to long long. * gcc.target/aarch64/atomic-op-long.c: Update dg-final directives to have effective-target keywords of lp64 and ilp32. * gcc.target/aarch64/fcvt_double_int.c: Likewise. * gcc.target/aarch64/fcvt_double_long.c: Likewise. * gcc.target/aarch64/fcvt_double_uint.c: Likewise. * gcc.target/aarch64/fcvt_double_ulong.c: Likewise. * gcc.target/aarch64/fcvt_float_int.c: Likewise. * gcc.target/aarch64/fcvt_float_long.c: Likewise. * gcc.target/aarch64/fcvt_float_uint.c: Likewise. * gcc.target/aarch64/fcvt_float_ulong.c: Likewise. * gcc.target/aarch64/vect_smlal_1.c: Replace 'long' with 'long long'. From-SVN: r201166
2013-07-23[AArch64, ILP32] 2/6 More backend changes and support for small absolute andYufeng Zhang5-72/+212
small PIC addressing models gcc/ * config/aarch64/aarch64.c (POINTER_BYTES): New define. (aarch64_load_symref_appropriately): In the case of SYMBOL_SMALL_ABSOLUTE, use the mode of 'dest' instead of Pmode to generate new rtx; likewise to the case of SYMBOL_SMALL_GOT. (aarch64_expand_mov_immediate): In the case of SYMBOL_FORCE_TO_MEM, change to pass 'ptr_mode' to force_const_mem and zero-extend 'mem' if 'mode' doesn't equal to 'ptr_mode'. (aarch64_output_mi_thunk): Add an assertion on the alignment of 'vcall_offset'; change to call aarch64_emit_move differently depending on whether 'Pmode' equals to 'ptr_mode' or not; use 'POINTER_BYTES' to calculate the upper bound of 'vcall_offset'. (aarch64_cannot_force_const_mem): Change to also return true if mode != ptr_mode. (aarch64_legitimize_reload_address): In the case of large displacements, add new local variable 'xmode' and an assertion based on it; change to use 'xmode' to generate the new rtx and reload. (aarch64_asm_trampoline_template): Change to generate the template differently depending on TARGET_ILP32 or not; change to use 'POINTER_BYTES' in the argument passed to assemble_aligned_integer. (aarch64_trampoline_size): Removed. (aarch64_trampoline_init): Add new local constant 'tramp_code_sz' and replace immediate literals with it. Change to use 'ptr_mode' instead of 'DImode' and call convert_memory_address if the mode of 'fnaddr' doesn't equal to 'ptr_mode'. (aarch64_elf_asm_constructor): Change to use assemble_aligned_integer to output symbol. (aarch64_elf_asm_destructor): Likewise. * config/aarch64/aarch64.h (TRAMPOLINE_SIZE): Change to be dependent on TARGET_ILP32 instead of aarch64_trampoline_size. * config/aarch64/aarch64.md (movsi_aarch64): Add new alternatives of 'mov' between WSP and W registers as well as 'adr' and 'adrp'. (loadwb_pair<GPI:mode>_<PTR:mode>): Rename to ... (loadwb_pair<GPI:mode>_<P:mode>): ... this. Replace PTR with P. (storewb_pair<GPI:mode>_<PTR:mode>): Likewise; rename to ... (storewb_pair<GPI:mode>_<P:mode>): ... this. (add_losym): Change to 'define_expand' and call gen_add_losym_<mode> depending on the value of 'mode'. (add_losym_<mode>): New. (ldr_got_small_<mode>): New, based on ldr_got_small. (ldr_got_small): Remove. (ldr_got_small_sidi): New. * config/aarch64/iterators.md (P): New. (PTR): Change to 'ptr_mode' in the condition. From-SVN: r201165
2013-07-23[AArch64, ILP32] 1/6 Initial support - configury changesYufeng Zhang13-7/+238
gcc/ * config.gcc (aarch64*-*-*): Support --with-abi. (aarch64*-*-elf): Support --with-multilib-list. (aarch64*-*-linux*): Likewise. (supported_defaults): Add abi to aarch64*-*-*. * configure.ac: Mention AArch64 for --with-multilib-list. * configure: Re-generated. * config/aarch64/biarchilp32.h: New file. * config/aarch64/biarchlp64.h: New file. * config/aarch64/aarch64-elf.h (ENDIAN_SPEC): New define. (ABI_SPEC): Ditto. (MULTILIB_DEFAULTS): Ditto. (DRIVER_SELF_SPECS): Ditto. (ASM_SPEC): Update to also substitute -mabi. * config/aarch64/aarch64-elf-raw.h (LINK_SPEC): Add linker script file whose name depends on -mabi= and -mbig-endian. * config/aarch64/aarch64.h (LONG_TYPE_SIZE): Change to depend on TARGET_ILP32. (POINTER_SIZE): New define. (POINTERS_EXTEND_UNSIGNED): Ditto. (enum aarch64_abi_type): New enumeration tag. (AARCH64_ABI_LP64, AARCH64_ABI_ILP32): New enumerators. (AARCH64_ABI_DEFAULT): Define to AARCH64_ABI_LP64 if undefined. (TARGET_ILP32): New define. * config/aarch64/aarch64.opt (mabi): New. (aarch64_abi): New. (ilp32, lp64): New values for -mabi. * config/aarch64/t-aarch64 (comma): New define. (MULTILIB_OPTIONS): Ditto. (MULTILIB_DIRNAMES): Ditto. * config/aarch64/t-aarch64-linux (MULTIARCH_DIRNAME): New define. * doc/invoke.texi: Document -mabi for AArch64. From-SVN: r201164
2013-07-23avr.md: Explain asm print modifier 'r' for REG.Georg-Johann Lay2-0/+5
* config/avr/avr.md: Explain asm print modifier 'r' for REG. From-SVN: r201163
2013-07-23decl.c: Fix comment typos.Ondřej Bílka5-6/+13
2013-07-23 Ondřej Bílka <neleai@seznam.cz> * decl.c: Fix comment typos. * interface.c: Likewise. * trans-array.c: Likewise. * trans.c: Likewise. From-SVN: r201162
2013-07-23c-common.h (enum rid): New constant.Tom Tromey8-1/+328
2013-07-23 Tom Tromey <tromey@redhat.com> Joseph Myers <joseph@codesourcery.com> c-family: * c-common.h (enum rid) <RID_GENERIC>: New constant. * c-common.c (c_common_reswords): Add _Generic. c: * c-parser.c (struct c_generic_association): New. (c_generic_association_d): New typedef. (c_parser_generic_selection): New function. (c_parser_postfix_expression): Handle RID_GENERIC. testsuite: * gcc.dg/c11-generic-1.c: New file. * gcc.dg/c11-generic-2.c: New file. Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r201153
2013-07-23Daily bump.GCC Administrator1-1/+1
From-SVN: r201152
2013-07-22rs6000.c (rs6000_expand_vector_init): Fix endianness when selecting field to ↵Bill Schmidt2-1/+10
splat. 2013-07-22 Bill Schmidt <wschmidt@vnet.linux.ibm.com> Anton Blanchard <anton@au1.ibm.com> * config/rs6000/rs6000.c (rs6000_expand_vector_init): Fix endianness when selecting field to splat. Co-Authored-By: Anton Blanchard <anton@au1.ibm.com> From-SVN: r201149
2013-07-22dwarf2out.c (die_odr_checksum): New function to use CHECKSUM_ macros and ↵Eric Christopher2-2/+16
ULEB128 for DIE tag. 2013-07-22 Eric Christopher <echristo@gmail.com> * dwarf2out.c (die_odr_checksum): New function to use CHECKSUM_ macros and ULEB128 for DIE tag. (generate_type_signature): Use. From-SVN: r201148