- 21 Dec, 2015 5 commits
-
-
PR 66827 * regex.c (EXTRACT_NUMBER): Cast sign byte to unsigned before left shifting. From-SVN: r231873
Nick Clifton committed -
This series of patches fix PR61441. This patch makes resulting NaN values to be quiet NaN for real value operations, irrespective of the flag_signaling_nans flag. The caller has the responsibility to avoid the operation if flag_signaling_nans is on. gcc/ * real.c (do_add): Make resulting NaN value to be qNaN. (do_multiply, do_divide, do_fix_trunc): Same. (real_arithmetic, real_ldexp, real_convert): Same. (real_isinteger): Updated comment stating it returns false for sNaN. From-SVN: r231872
Sujoy Saraswati committed -
PR tree-optimization/64910 * config/i386/i386.md (testqi_ext_3): Allow HImode. PR tree-optimization/64910 * gcc.target/i386/bittest.c: New test. From-SVN: r231871
Jeff Law committed -
PR c++/67411 * decl2.c (decl_maybe_constant_var_p): Use DECL_HAS_VALUE_EXPR_P. From-SVN: r231869
Jason Merrill committed -
From-SVN: r231867
GCC Administrator committed
-
- 20 Dec, 2015 10 commits
-
-
* config/aarch64/atomics.md (aarch64_atomic_<atomic_optab>_fetch<mode>_lse): Add early clobber to the scratch register. From-SVN: r231864
Andrew Pinski committed -
PR c++/67411 * lambda.c (generic_lambda_fn_p): Split out from... (maybe_add_lambda_conv_op): ...here. * semantics.c (process_outer_var_ref): Don't defer maybe-constant variables in a generic lambda. * pt.c (instantiate_non_dependent_or_null): New. * init.c (constant_value_1): Use it. * cp-tree.h: Declare it and generic_lambda_fn_p. From-SVN: r231863
Jason Merrill committed -
PR c++/67411 * decl2.c (decl_maybe_constant_var_p): A proxy isn't constant. From-SVN: r231862
Jason Merrill committed -
* gcc-interface/utils2.c (gnat_rewrite_reference) <REALPART_EXPR>: New case identical to FLOAT_EXPR. <IMAGPART_EXPR>: Likewise. From-SVN: r231861
Eric Botcazou committed -
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: During layout in type_annotate_only mode, skip discriminants of derived tagged types renaming those of the parent type. In type_annotate_only mode, if the type is tagged, do not override a size clause but take into account the alignment of the tag. (annotate_rep): In type_annotate_only mode, deal with discriminants of derived tagged types renaming those of the parent type. From-SVN: r231860
Eric Botcazou committed -
* gcc-interface/utils.c (maybe_pad_type): In type_annotate_only mode, retrieve the component type if this is an array and do not issue the warning for concurrent types. From-SVN: r231859
Eric Botcazou committed -
This series of patches fix PR61441. This patch removes flag_errno_math check for RINT, treating it similar to nearbyint. Bootstrapped & regression-tested on x86_64-linux-gnu. gcc/ * match.pd (f(x) -> x): Removed flag_errno_math check for RINT. From-SVN: r231858
Sujoy Saraswati committed -
This series of patches are for fixing PR61441. This patch modifies code to use REAL_VALUE_ISSIGNALING_NAN instead of REAL_VALUE_ISNAN to avoid the operatins only for sNaN operands. Bootstrapped & regression-tested on x86_64-linux-gnu. gcc/ * fold-const.c (const_binop): Use REAL_VALUE_ISSIGNALING_NAN instead of REAL_VALUE_ISNAN to avoid the operation for sNaN operands. * simplify-rtx.c (simplify_const_binary_operation): Same. From-SVN: r231857
Sujoy Saraswati committed -
PR middle-end/65337 * tree-ssa-dce.c (bb_postorder): New static var. (forward_edge_to_pdom): Remove. (remove_dead_stmt): Instead of redirecting edges only keep an edge on a path to nearest live BB. (eliminate_unnecessary_stmts): Free bb_postorder. * cfganal.c (dfs_find_deadend): Add START_POINTES. * cfganal.h (inverted_post_order_compute): Update prototype. From-SVN: r231856
Jan Hubicka committed -
From-SVN: r231855
GCC Administrator committed
-
- 19 Dec, 2015 6 commits
-
-
PR rtl-optimization/68910 * emit-rtl.c (set_unique_reg_note) <>REG_EQUAL>: Add bypass for USEs. * config/sparc/sparc.md (anddi3): Enable only in 64-bit mode. (iordi3): Likewise. (xordi3): Likewise. (one_cmpldi2): Likewise. (*anddi3_sp32): Delete. (*and_not_di_sp32): Likewise. (*iordi3_sp32): Likewise. (*or_not_di_sp32): Likewise. (*xordi3_sp32): Likewise. (*xor_not_di_sp32): Likewise. (32-bit DImode logical operations splitter): Likewise. (*one_cmpldi2_sp32): Likewise. From-SVN: r231851
Eric Botcazou committed -
2015-12-19 Andrew Burgess <andrew.burgess@embecosm.com> * config/arc/arc.md (*storeqi_update): Use 'memory_operand' and fix RTL pattern to include the plus. (*storehi_update): Likewise. (*storesi_update): Likewise. (*storesf_update): Likewise. * config/arc/predicates.md (store_update_operand): Delete. From-SVN: r231850
Andrew Burgess committed -
gcc: 2015-12-19 Andrew Burgess <andrew.burgess@embecosm.com> * config/arc/arc.md (*loadqi_update): Use new 'any_mem_operand' and fix RTL pattern to include the plus. (*load_zeroextendqisi_update): Likewise. (*load_signextendqisi_update): Likewise. (*loadhi_update): Likewise. (*load_zeroextendhisi_update): Likewise. (*load_signextendhisi_update): Likewise. (*loadsi_update): Likewise. (*loadsf_update): Likewise. * config/arc/predicates.md (load_update_operand): Delete. (any_mem_operand): New predicate. gcc/testsuite: 2015-12-19 Andrew Burgess <andrew.burgess@embecosm.com> * gcc.target/arc/load-update.c: New file. From-SVN: r231849
Andrew Burgess committed -
Bootstrapped & regression-tested on x86_64-linux-gnu. gcc/ * real.c (real_issignaling_nan): New. * real.h (real_issignaling_nan, REAL_VALUE_ISSIGNALING_NAN): New. From-SVN: r231848
Sujoy Saraswati committed -
PR target/68729 * config/pa/pa.c (pa_emit_move_sequence): Reorganize handling of floating-point reloads. Only reload operands that are not valid floating-point memory operands. From-SVN: r231845
John David Anglin committed -
From-SVN: r231844
GCC Administrator committed
-
- 18 Dec, 2015 19 commits
-
-
gcc/cp/ChangeLog: PR c++/68978 * tree.c (lvalue_kind) [MODOP_EXPR]: New case. gcc/testsuite/ChangeLog: PR c++/68978 * g++.dg/template/pr68978.C: New test. From-SVN: r231841
Patrick Palka committed -
PR debug/68860 * ipa-split.c (split_function): Only perform caller side modifications for decl_debug_args here. * cgraph.c: Include gimplify.h. (cgraph_edge::redirect_call_stmt_to_callee): Add caller side debug stmts for decl_debug_args. Spelling fix in a comment. * tree-inline.c (tree_function_versioning): Populate decl_debug_args for args_to_skip arguments and add callee side debug stmts. Formatting fixes. Avoid shadowing i variable. * gcc.dg/guality/pr68860-1.c: New test. * gcc.dg/guality/pr68860-2.c: New test. From-SVN: r231840
Jakub Jelinek committed -
2015-12-18 Ville Voutilainen <ville.voutilainen@gmail.com> Fix a regression introduced by the fix of libstdc++/68276. * src/c++11/ios.cc (_M_grow_words): Catch bad_alloc again so that bad_array_new_length is handled properly. From-SVN: r231839
Ville Voutilainen committed -
* lib/target-supports.exp (check_effective_target_cilkplus): Not nvptx. * c-c++-common/attr-simd-3.c: Require cilkplus. * gcc.dg/graphite/id-28.c: Likewise. From-SVN: r231838
Nathan Sidwell committed -
* config/nvptx/nvptx.c (nvptx_maybe_convert_symbolic_operand): Remove UNSPEC_TO_GENERIC generation. (nvptx_output_mov_insn): Generate cvta for symbolic src. * config/nvptx/nvptx.md (nvptx_register_operand): Allow hard reg. (nvptx_reg_or_mem_operand): Likewise. (nvptx_nonmemory_operand): Likewise. (nvptx_general_operand): Delete. (*mov<mode>_insn): Use nonimmediate_operand, permit hardregs. (oacc_fork, oacc_join): Use general_operand. From-SVN: r231837
Nathan Sidwell committed -
* dwarf2out.c (gen_producer_string): Ignore -fdebug-prefix-map. testsuite/ * gcc.dg/debug/dwarf2/prod-options.c: New test. From-SVN: r231835
Bernd Schmidt committed -
From-SVN: r231825
Eric Botcazou committed -
/cp 2015-12-18 Paolo Carlini <paolo.carlini@oracle.com> PR c++/67592 * decl.c (grokdeclarator): Reject constexpr virtual member functions; in error messages, prefer %<virtual%> and %<constexpr%> to virtual and constexpr, respectively. /testsuite 2015-12-18 Paolo Carlini <paolo.carlini@oracle.com> PR c++/67592 * g++.dg/cpp0x/constexpr-virtual5.C: New. * g++.dg/cpp0x/pr51463.C: Adjust dg-error string. * g++.dg/inherit/pure1.C: Likewise. From-SVN: r231824
Paolo Carlini committed -
From-SVN: r231823
Eric Botcazou committed -
* config/nvptx/nvptx.c (nvptx_option_override): Emit sorry for stabs debug. (nvptx_assemble_undefined_decl): Use nvptx_assemble_decl_end. From-SVN: r231822
Nathan Sidwell committed -
[PATCH] [PR rtl-optimization/49847] Fix ICE in CSE due to cc0-setter and cc0-user in different blocks PR rtl-optimization/49847 * cse.c (record_jump_equiv): Handle fold_rtx returning NULL_RTX. PR rtl-optimization/49847 * g++.dg/pr49847-2.C: New test. From-SVN: r231821
Jeff Law committed -
Since gcc.dg/vect/pr68305.c is a compile test, we should add -mavx2 for x86 target. * gcc.dg/vect/pr68305.c (dg-additional-options): Add -mavx2 for x86 target. From-SVN: r231820
H.J. Lu committed -
2015-12-18 Ville Voutilainen <ville.voutilainen@gmail.com> PR libstdc++/68276 * src/c++11/ios.cc (_M_grow_words): Use nothrow new. * testsuite/27_io/ios_base/storage/11584.cc: Adjust. From-SVN: r231819
Ville Voutilainen committed -
* config/nvptx/nvptx.c (worker_bcast_name, worker_red_name): Delete. (nvptx_option_override): Adjust worker symbol creation. (nvptx_gen_wcast): Wrap worker address in UNSPEC_TO_GENERIC. (write_worker_buffer): New. (nvptx_file_end): Call write_worker_buffer. * config/nvptx/nvptx.md (UNSPEC_SHARED_DATA): Delete. (worker_load<mode>, worker_store<mode>): Delete. From-SVN: r231818
Nathan Sidwell committed -
From-SVN: r231816
Nathan Sidwell committed -
2015-12-18 Richard Biener <rguenther@suse.de> PR testsuite/68776 * tree-vect-patterns.c (struct vect_recog_func): New. (vect_vect_recog_func_ptrs): Make an array of function name pairs. (vect_pattern_recog_1): Print the recognized pattern name. Return true if a pattern was recognized. (vect_pattern_recog): Adjust. Stop iterating over pattern recognition functions on a stmt if a pattern was recognized. * gcc.dg/vect/vect-widen-mult-const-s16.c: Adjust. * gcc.dg/vect/vect-widen-mult-const-u16.c: Likewise. From-SVN: r231815
Richard Biener committed -
gcc/ChangeLog: 2015-12-18 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * ira.c (ira_setup_alts): Move the scan for commutative modifier to the first loop to make it work even with disabled alternatives. From-SVN: r231814
Andreas Krebbel committed -
gcc/ChangeLog * config/s390/s390.c (s390_init_frame_layout): Try r4 to r2 for the literal pool pointer. gcc/testsuite/ChangeLog * gcc.target/s390/litpool-r3-1.c: New test. From-SVN: r231813
Dominik Vogt committed -
gcc/ 2015-12-18 Yuri Rumyantsev <ysrumyan@gmail.com> PR tree-optimization/68906 * tree-ssa-loop-unswitch.c (tree_unswitch_outer_loop): Add check that an exit block belongs to LOOP. gcc/testsuite/ 2015-12-18 Yuri Rumyantsev <ysrumyan@gmail.com> PR tree-optimization/68906 * gcc.dg/torture/pr68906.c: New test. From-SVN: r231812
Yuri Rumyantsev committed
-