- 07 Dec, 2012 2 commits
-
-
PR c++/55249 * tree.c (build_vec_init_elt): Use the type of the initializer. From-SVN: r194281
Jason Merrill committed -
From-SVN: r194278
GCC Administrator committed
-
- 06 Dec, 2012 25 commits
-
-
PR target/55597 * config/i386/i386.c (legitimize_tls_address): Zero-extend x to Pmode, before using it as insn or call equivalent. testsuite/ChangeLog: PR target/55597 * gcc.target/i386/pr55597.c: New test. From-SVN: r194274
Uros Bizjak committed -
libsanitizer/ * configure.tgt: Enable build on powerpc*-linux. gcc/ * config/rs6000/sysv4.h (TARGET_ASAN_SHADOW_OFFSET): Define. * config/rs6000/rs6000.c (rs6000_asan_shadow_offset): New function. * config/rs6000/rs6000.h (FRAME_GROWS_DOWNWARD): Disable if using ASAN. From-SVN: r194273
Peter Bergner committed -
PR fortran/55395 * varpool.c (varpool_remove_node): Don't drop DECL_INITIAL if -g and emitting DWARF2+. From-SVN: r194272
Jakub Jelinek committed -
* config/rs6000/rs6000.c (rs6000_option_override_internal): Set default loop peeling limits. From-SVN: r194271
Pat Haugen committed -
re PR c++/54744 (internal compiler error: Segmentation fault, by dependent base, member typedef and ctor-initializer) PR c++/54744 * pt.c (resolve_typename_type): Check TYPENAME_IS_RESOLVING_P on scope. * init.c (expand_member_init): Check for being in a template first. * parser.c (cp_parser_mem_initializer_list): Only check class types for equivalence to the current class. From-SVN: r194267
Jason Merrill committed -
re PR c++/54913 (qualified lookup in ctor of class template fails to find static member of reference type) PR c++/54913 * semantics.c (finish_qualified_id_expr): convert_from_reference after building a SCOPE_REF. From-SVN: r194266
Jason Merrill committed -
PR c++/55032 * tree.c (build_array_type_1): Re-layout if we found it in the hash table. From-SVN: r194265
Jason Merrill committed -
PR c++/54207 * except.c (build_noexcept_spec): Avoid direct comparison with boolean_true_node or boolean_false_node, instead use operand_equal_p and/or INTEGER_CST check. * pt.c (tsubst_exception_specification): Likewise. * typeck2.c (merge_exception_specifiers): Likewise. * g++.dg/cpp0x/noexcept18.C: New test. From-SVN: r194263
Jakub Jelinek committed -
PR c++/55573 * semantics.c (adjust_temp_type): Handle VECTOR_CST. * g++.dg/cpp0x/constexpr-55573.C: New test. From-SVN: r194262
Jakub Jelinek committed -
From-SVN: r194257
Jack Howarth committed -
PR c++/54947 * parser.c (cp_parser_initializer_list): Don't require an expression in [] to be constant until we know it's a C99 designator. From-SVN: r194256
Jason Merrill committed -
From-SVN: r194255
Kostya Serebryany committed -
re PR middle-end/43631 (var-tracking inserts notes with non-NULL BLOCK_FOR_INSN in between basic blocks) PR middle-end/43631 * var-tracking.c (emit_note_insn_var_location, emit_notes_in_bb): Clear BLOCK_FOR_INSN on notes emitted in between basic blocks, don't adjust BB_END when inserting note after BB_END of some bb. From-SVN: r194252
Jakub Jelinek committed -
PR c++/55015 PR c++/53821 * semantics.c (maybe_add_lambda_conv_op): Revert earlier change. * decl.c (start_preparsed_function): Make local class methods comdat in templates, too. From-SVN: r194251
Jason Merrill committed -
PR c++/55137 * fold-const.c (fold_binary_loc) <associate>: Don't introduce TREE_OVERFLOW through reassociation. If type doesn't have defined overflow, but one or both of the operands do, use the wrapping type for reassociation and only convert to type at the end. * g++.dg/opt/pr55137.C: New test. * gcc.c-torture/execute/pr55137.c: New test. From-SVN: r194250
Jakub Jelinek committed -
PR c++/54653 * parser.c (cp_parser_class_head): A partial specialization scope counts as a template. * pt.c (tsubst_template_parms): Handle template template parm parms. (tsubst_decl) [TEMPLATE_DECL]: Handle getting a template template argument back. From-SVN: r194249
Jason Merrill committed -
re PR c++/55564 (internal error using decltype of a template type parameter for late-specified function result type) PR c++/55564 * pt.c (unify) [ARRAY_TYPE]: Unify the element type before the bounds. From-SVN: r194248
Jason Merrill committed -
2012-12-06 Richard Biener <rguenther@suse.de> * gimple-fold.c (fold_stmt_1): Remove code handling folding stmts away. From-SVN: r194247
Richard Biener committed -
2012-12-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com> gcc/ * doc/sourcebuild.texi: Document arm_v8_neon_ok. gcc/testsuite/ * lib/target-supports.exp (check_effective_target_arm_v8_neon_ok): New procedure. (add_options_for_arm_v8_neon): Likewise. From-SVN: r194245
Kyrylo Tkachov committed -
2012-12-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/arm.c (neon_itype): Define NEON_RINT enum element. (neon_builtin_data): Register vrintn, vrinta, vrintp, vrintm, vrintz, vrintx neon builtins. (arm_init_neon_builtins): Handle NEON_RINT. (arm_expand_neon_builtin): Likewise. * config/arm/unspecs.md: New file. * config/arm/arm.md ("unspec"): Move to unspecs.md. * config/arm/iterators.md (NEON_VRINT): New int iterator. (nvrint_variant): New int attribute. * config/arm/neon.md (neon_vrint<NEON_VRINT:nvrint_variant><VCVTF:mode>): New pattern. ("unspec"): Move to unspecs.md. * config/arm/iwmmxt2.md ("unspec"): Move to unspecs.md. From-SVN: r194244
Kyrylo Tkachov committed -
* config/i386/sfp-machine.h (FP_EX_ALL): Define. (FP_TRAPPING_EXCEPTIONS): Define. * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define. * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto. From-SVN: r194243
Uros Bizjak committed -
From-SVN: r194240
Ian Lance Taylor committed -
From-SVN: r194237
Ian Lance Taylor committed -
* config/pa/pa.md: Use "const_int 0" instead of match_test to simplify opaque cond in all call insns. From-SVN: r194235
John David Anglin committed -
From-SVN: r194234
GCC Administrator committed
-
- 05 Dec, 2012 13 commits
-
-
From-SVN: r194231
Steven Bosscher committed -
re PR rtl-optimization/55604 (ICE while dumping in remove_some_program_points_and_update_live_ranges) PR rtl-optimization/55604 * lra-lives.c (lra_create_live_ranges): If there are no referenced pseudos left, do not compute live ranges. From-SVN: r194230
Steven Bosscher committed -
* doc/tm.texi.in (TARGET_CLASS_LIKELY_SPILLED_P): Update documentation. * doc/tm.texi: Regenerate. * regs.h (REG_LIVE_LENGTH): Update comments to not refer to no longer existing files global.c and local-alloc.c. * regmove.c (copy_src_to_dest): Likewise. * function.h (struct rtl_data): Likewise. * ira-color.c (allocno_priority_compare_func): Likewise. * regstat.c (regstat_compute_ri): Likewise. * config/epiphany/epiphany.h, config/vax/vax.h, config/cris/cris.h, config/h8300/h8300.h, config/alpha/alpha.h, config/sparc/sparc.h, config/rs6000/rs6000.h, config/pdp11/pdp11.h, config/pa/pa.h, config/v850/v850.h, config/mn10300/mn10300.h, config/m32r/m32r.h, config/i386/i386.h, config/mcore/mcore.h, config/sh/sh.h, config/arm/arm.h (REGNO_OK_FOR_BASE_P): Likewise. From-SVN: r194229
Steven Bosscher committed -
re PR target/54160 (gcc should not define __OBJC2__ when lang is not set to ObjC (gcc 4.6 and later)) PR target/54160 * config/t-darwin (darwin-c.o): Depend on $(CPP_INTERNAL_H). * config/darwin-c.c (darwin_cpp_builtins): Only set __OBJC2__ when in obj mode. Include libcpp/internal.h. From-SVN: r194227
Aldy Hernandez committed -
PR rtl-optimization/54739 * config/microblaze/microblaze.md: (anddi3, iordi3, xordi3): Delete patterns. From-SVN: r194226
Michael Eager committed -
2012-12-05 Tobias Burnus <burnus@net-b.de> * resolve.c (generate_component_assignments): Fix memleak. From-SVN: r194225
Tobias Burnus committed -
From-SVN: r194221
Kostya Serebryany committed -
for vector permute. gcc/ * config/aarch64/aarch64-simd-builtins.def: Add new builtins. * config/aarch64/aarch64-simd.md (simd_type): Add uzp. (aarch64_<PERMUTE:perm_insn><PERMUTE:perm_hilo><mode>): New. * config/aarch64/aarch64.c (aarch64_evpc_trn): New. (aarch64_evpc_uzp): Likewise. (aarch64_evpc_zip): Likewise. (aarch64_expand_vec_perm_const_1): Check for trn, zip, uzp patterns. * config/aarch64/iterators.md (unspec): Add neccessary unspecs. (PERMUTE): New. (perm_insn): Likewise. (perm_hilo): Likewise. From-SVN: r194219
James Greenhalgh committed -
gcc/ * config/aarch64/aarch64-protos.h (aarch64_split_combinev16qi): New. (aarch64_expand_vec_perm): Likewise. (aarch64_expand_vec_perm_const): Likewise. * config/aarch64/aarch64-simd.md (vec_perm_const<mode>): New. (vec_perm<mode>): Likewise. (aarch64_tbl1<mode>): Likewise. (aarch64_tbl2v16qi): Likewise. (aarch64_combinev16qi): New. * config/aarch64/aarch64.c (aarch64_vectorize_vec_perm_const_ok): New. (aarch64_split_combinev16qi): Likewise. (MAX_VECT_LEN): Define. (expand_vec_perm_d): New. (aarch64_expand_vec_perm_1): Likewise. (aarch64_expand_vec_perm): Likewise. (aarch64_evpc_tbl): Likewise. (aarch64_expand_vec_perm_const_1): Likewise. (aarch64_expand_vec_perm_const): Likewise. (aarch64_vectorize_vec_perm_const_ok): Likewise. (TARGET_VECTORIZE_VEC_PERM_CONST_OK): Likewise. * config/aarch64/iterators.md (unspec): Add UNSPEC_TBL, UNSPEC_CONCAT. (V_cmp_result): Add mapping for V2DF. gcc/testsuite/ * lib/target-supports.exp (check_effective_target_vect_perm): Allow aarch64*-*-*. (check_effective_target_vect_perm_byte): Likewise. (check_effective_target_vect_perm_short): Likewise. (check_effective_target_vect_char_mult): Likewise. (check_effective_target_vect_extract_even_odd): Likewise. (check_effective_target_vect_interleave): Likewise. From-SVN: r194218
James Greenhalgh committed -
2012-12-05 Robert Dewar <dewar@adacore.com> * par_sco.adb, sem_prag.adb, put_scos.adb, get_scos.adb: Minor reformatting. 2012-12-05 Ed Schonberg <schonberg@adacore.com> * sem_ch3.adb: Code clean up. From-SVN: r194217
Arnaud Charlet committed -
* gcc-interface/Make-lang.in: Update dependencies. * gcc-interface/lang.opt: New language AdaSCIL. * gcc-interface/lang-specs.h: Add specs for adascil language. From-SVN: r194216
Arnaud Charlet committed -
2012-12-05 Thomas Quinot <quinot@adacore.com> * par_sco.adb (Traverse_Aspects): Ensure we always have an entry in the sloc -> SCO map for invariants, since Set_SCO_Pragma_Enabled is called with that sloc when checks are enabled. 2012-12-05 Thomas Quinot <quinot@adacore.com> * exp_ch4.adb: Minor reformatting. 2012-12-05 Hristian Kirtchev <kirtchev@adacore.com> * par-prag.adb: Checks and processing of pragma Assume are carried out by Sem_Prag. * sem_prag.adb (Analyze_Pragma): Check the legality of pragma Assume. * snames.ads-tmpl: Add new name Assume. Add a pragma identifier for Assume. From-SVN: r194215
Arnaud Charlet committed -
2012-12-05 Ed Schonberg <schonberg@adacore.com> * aspects.ads, aspects.adb: Add aspect Relative_Deadline. * sem_ch13.adb (Analyze_Aspect_Specifications): Process aspect Relative_Deadline, and introduce the corresponding pragma within the task definition of the task type to which it applies. (Check_Aspect_At_Freeze_Point): Expression in a Relative_Deadline aspect is of type Time_Span. From-SVN: r194214
Ed Schonberg committed
-