Commit ffb164c7 by Jakub Jelinek

re PR testsuite/86649 (g++.dg/tree-ssa/pr19476-1.C fails starting with r262928)

	PR testsuite/86649
	* g++.dg/tree-ssa-/pr19476-1.C: Check dom2 dump instead of ccp1.
	* g++.dg/tree-ssa-/pr19476-5.C: Likewise.
	* g++.dg/tree-ssa-/pr19476-6.C: New test.
	* g++.dg/tree-ssa-/pr19476-7.C: New test.

From-SVN: r262942
parent 97988334
......@@ -376,7 +376,7 @@
* config/aarch64/predicates.md (aarch64_mem_pair_lanes_operand): Use
new enum value 'ADDR_QUERY_LDP_STP_N', don't hardcode mode and use
'true' rather than '1'.
* gcc/config/aarch64/constraints.md (Uml): Likewise.
* config/aarch64/constraints.md (Uml): Likewise.
(Uml): Rename to Umn.
(Umq): Remove.
......@@ -5072,7 +5072,7 @@
2018-06-07 Carl Love <cel@us.ibm.com>
* gcc/config/rs6000/vsx.md (vextract_fp_from_shorth,
* config/rs6000/vsx.md (vextract_fp_from_shorth,
vextract_fp_from_shortl): Add BE support.
2018-06-07 Paul Koning <ni1d@arrl.net>
......@@ -5104,14 +5104,9 @@
2018-06-07 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* gcc/config/msp430/msp430.c (msp430_mcu_name): Set the "i" in the
* config/msp430/msp430.c (msp430_mcu_name): Set the "i" in the
symbol defined for msp430i* devices to be lower case.
gcc/testsuite/gcc.target/msp430/
* msp430i-device-symbol.c: New test.
* msp430f-device-symbol.c: New test.
* msp430.h: New test header file.
2018-06-07 Richard Biener <rguenther@suse.de>
* graphite-sese-to-poly.c (extract_affine): Avoid unneded
......@@ -5135,7 +5130,7 @@
2018-06-04 Carl Love <cel@us.ibm.com>
* gcc/config/rs6000/vsx.md (first_match_index_<mode>): Calculate index
* config/rs6000/vsx.md (first_match_index_<mode>): Calculate index
using natural element order. Use gen_lshrsi3 instead of gen_ashrsi3
as it is slightly cheaper.
(first_match_or_eos_index_<mode>):
......@@ -5146,9 +5141,9 @@
Calculate index using natural order.
(define_insn vclzlsbb): Change to define_insn vclzlsbb_<mode>.
for BE and LE modes.
* gcc/config/rs6000/rs6000-c.c: Rename P9V_BUILTIN_VCLZLSBB,
* config/rs6000/rs6000-c.c: Rename P9V_BUILTIN_VCLZLSBB,
P9V_BUILTIN_VCLZLSBB_V16QI.
* gcc/config/rs6000/rs6000-builtin.def: Make VCLZLSBB mode
* config/rs6000/rs6000-builtin.def: Make VCLZLSBB mode
specific.
2018-06-06 Kelvin Nilsen <kelvin@gcc.gnu.org>
......@@ -5245,13 +5240,9 @@
2018-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* gcc/config/msp430/msp430.c (msp430_attr): Allow interrupt handlers
* config/msp430/msp430.c (msp430_attr): Allow interrupt handlers
to be static and remove check on interrupt attribute name.
gcc/testsuite/gcc.target/msp430/
* function-attributes-4.c: New test.
* static-interrupts.c: New test.
2018-06-05 Kelvin Nilsen <kelvin@gcc.gnu.org>
* doc/extend.texi (PowerPC AltiVec Built-in Functions): Remove
......@@ -6622,7 +6613,7 @@
2018-05-23 Jozef Lawrynowicz <jozef.l@somniumtech.com>
PR target/78849
* gcc/tree.c (build_common_tree_nodes): Dont set TYPE_SIZE for __intN
* tree.c (build_common_tree_nodes): Dont set TYPE_SIZE for __intN
types.
2018-05-23 Segher Boessenkool <segher@kernel.crashing.org>
......@@ -8527,15 +8518,15 @@
* config/rs6000/sysv4.h: Remove Xilinx FP support.
* config/rs6000/t-rs6000: Ditto.
* config/rs6000/t-xilinx: Delete.
* gcc/config/rs6000/titan.md: Adjust for fp_type removal.
* gcc/config/rs6000/vsx.md: Remove Xilinx FP support.
* config/rs6000/titan.md: Adjust for fp_type removal.
* config/rs6000/vsx.md: Remove Xilinx FP support.
(VStype_simple): Delete.
(VSfptype_simple, VSfptype_mul, VSfptype_div, VSfptype_sqrt): Delete.
* config/rs6000/xfpu.h: Delete.
* config/rs6000/xfpu.md: Delete.
* config/rs6000/xilinx.h: Delete.
* config/rs6000/xilinx.opt: Delete.
* gcc/doc/invoke.texi (RS/6000 and PowerPC Options): Remove
* doc/invoke.texi (RS/6000 and PowerPC Options): Remove
-msingle-float, -mdouble-float, -msimple-fpu, -mfpu=, and -mxilinx-fpu.
2018-05-04 Tom de Vries <tom@codesourcery.com>
......@@ -8927,7 +8918,7 @@
* config/microblaze/microblaze.opt: add new option -mpic-data-text-rel.
* config/microblaze/microblaze-protos.h (microblaze_constant_address_p):
Add declaration.
* gcc/config/microblaze/microblaze.h (microblaze_constant_address_p):
* config/microblaze/microblaze.h (microblaze_constant_address_p):
CONSTANT_ADDRESS_P definition to microblaze_constant_address_p.
* config/microblaze/microblaze.c (TARGET_PIC_DATA_TEXT_REL):
New addressing mode for data-text relative position indepenedent code.
......@@ -8948,7 +8939,7 @@
'TARGET_ASM_GENERATE_PIC_ADDR_DIFF_VEC' to disable address diff vector
table in case of TARGET_PIC_DATA_TEXT_REL.
(expand_pic_symbol_ref): Add handling for 'UNSPEC_TEXT'.
* gcc/config/microblaze/microblaze.md (TARGET_PIC_DATA_TEXT_REL):
* config/microblaze/microblaze.md (TARGET_PIC_DATA_TEXT_REL):
Add new macros 'UNSPEC_TEXT',
'UNSPEC_SET_TEXT' + add rule for setting r20 in function prologue
+ exclude function calls from 'UNSPEC_PLT' in case of data text
......@@ -8962,7 +8953,7 @@
of addr diff vector generation.
* target.def (TARGET_ASM_GENERATE_PIC_ADDR_DIFF_VEC): Add
target hook definition.
* targhooks.h, gcc/targhooks.c (TARGET_ASM_GENERATE_PIC_ADDR_DIFF_VEC):
* targhooks.h, targhooks.c (TARGET_ASM_GENERATE_PIC_ADDR_DIFF_VEC):
Add default function for generate_pic_addr_diff_vec -> flag_pic.
* doc/invoke.texi (Add new pic option): Add new microblaze pic
option for data text relative.
......@@ -9797,10 +9788,10 @@
2018-04-16 Olga Makhotina <olga.makhotina@intel.com>
PR target/84331
* gcc/config.gcc: Support "skylake".
* gcc/config/i386/i386-c.c (ix86_target_macros_internal): Handle
* config.gcc: Support "skylake".
* config/i386/i386-c.c (ix86_target_macros_internal): Handle
PROCESSOR_SKYLAKE.
* gcc/config/i386/i386.c (m_SKYLAKE): Define.
* config/i386/i386.c (m_SKYLAKE): Define.
(processor_target_table): Add "skylake".
(ix86_option_override_internal): Add "skylake".
(get_builtin_code_for_version): Handle PROCESSOR_SKYLAKE,
......@@ -9808,7 +9799,7 @@
(get_builtin_code_for_version): Fix priority for
PROCESSOR_ICELAKE_CLIENT, PROCESSOR_ICELAKE_SERVER,
PROCESSOR_SKYLAKE-AVX512.
* gcc/config/i386/i386.h (processor_costs): Define TARGET_SKYLAKE.
* config/i386/i386.h (processor_costs): Define TARGET_SKYLAKE.
(processor_type): Add PROCESSOR_SKYLAKE.
2018-04-16 Paolo Carlini <paolo.carlini@oracle.com>
......@@ -10088,7 +10079,7 @@
2018-04-10 Segher Boessenkool <segher@kernel.crashing.org>
PR target/85287
* gcc/config/rs6000/rs6000.md (allocate_stack): Put the residual size
* config/rs6000/rs6000.md (allocate_stack): Put the residual size
for stack clash protection in a register whenever we need it to be in
a register.
......@@ -12847,8 +12838,8 @@
2018-02-27 Martin Sebor <msebor@redhat.com>
PR c++/83871
* gcc/doc/invoke.texi (-Wmissing-attributes): New option.
* gcc/print-tree.c (print_node): Handle DECL_UNINLINABLE.
* doc/invoke.texi (-Wmissing-attributes): New option.
* print-tree.c (print_node): Handle DECL_UNINLINABLE.
2018-02-27 Martin Sebor <msebor@redhat.com>
......@@ -14824,7 +14815,7 @@
* config/arc/predicates.md (compact_store_memory_operand): Check
for uncached memory accesses.
(nonvol_nonimm_operand): Likewise.
* gcc/doc/extend.texi (ARC Type Attribute): New subsection.
* doc/extend.texi (ARC Type Attribute): New subsection.
2018-01-31 Jakub Jelinek <jakub@redhat.com>
......
2018-07-24 Jakub Jelinek <jakub@redhat.com>
PR testsuite/86649
* g++.dg/tree-ssa-/pr19476-1.C: Check dom2 dump instead of ccp1.
* g++.dg/tree-ssa-/pr19476-5.C: Likewise.
* g++.dg/tree-ssa-/pr19476-6.C: New test.
* g++.dg/tree-ssa-/pr19476-7.C: New test.
2018-07-23 Carl Love <cel@us.ibm.com>
PR 86591
......@@ -22,10 +30,10 @@
2018-07-20 Martin Sebor <msebor@redhat.com>
PR middle-end/82063
* gcc/testsuite/c-c++-common/pr68657-1.c: Adjust.
* gcc/testsuite/c-c++-common/pr68657-2.c: Same.
* gcc/testsuite/c-c++-common/pr68657-3.c: Same.
* gcc/testsuite/c-c++-common/pr68833-1.c: Same.
* c-c++-common/pr68657-1.c: Adjust.
* c-c++-common/pr68657-2.c: Same.
* c-c++-common/pr68657-3.c: Same.
* c-c++-common/pr68833-1.c: Same.
* gcc.dg/Walloc-size-larger-than-16.c: Same.
* gcc.dg/Walloca-larger-than.c: New test.
* gcc.dg/Walloca-larger-than-2.c: New test.
......@@ -39,11 +47,11 @@
PR tree-optimization/86613
PR tree-optimization/86611
* gcc/testsuite/c-c++-common/Warray-bounds-2.c: Undefine macros and
* c-c++-common/Warray-bounds-2.c: Undefine macros and
prune duplicate warnings.
* gcc/testsuite/gcc.dg/Warray-bounds-31.c: Xfail test cases with
* gcc.dg/Warray-bounds-31.c: Xfail test cases with
data-model-dependencies.
* gcc/testsuite/gcc.dg/Warray-bounds-32.c: Ditto.
* gcc.dg/Warray-bounds-32.c: Ditto.
2018-07-20 Richard Biener <rguenther@suse.de>
......@@ -2517,6 +2525,12 @@
* gcc.target/i386/funcspec-56.inc: Test arch=tremont.
2018-06-07 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* gcc.target/msp430/msp430i-device-symbol.c: New test.
* gcc.target/msp430/msp430f-device-symbol.c: New test.
* gcc.target/msp430/msp430.h: New test header file.
2018-06-07 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/69615
......@@ -2584,6 +2598,11 @@
PR tree-optimization/86062
* g++.dg/tree-ssa/pr86062.C: New testcase.
2018-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* gcc.target/msp430/function-attributes-4.c: New test.
* gcc.target/msp430/static-interrupts.c: New test.
2018-06-05 Steve Ellcey <sellcey@cavium.com>
PR target/79924
......@@ -4152,10 +4171,11 @@
2018-05-04 Pekka Jääskeläinen <pekka.jaaskelainen@parmance.com>
* testsuite/brig.dg/test/gimple/smoke_test.hsail: Fix the test
* brig.dg/test/gimple/smoke_test.hsail: Fix the test
to match the currently produced gimple.
2018-05-04 Carl Love <cel@us.ibm.com>
* gcc.target/powerpc/vsx-vector-6.h (foo): Add test for vec_max,
vec_trunc.
* gcc.target/powerpc/vsx-vector-6-le.c (dg-final): Update xvcmpeqdp,
......@@ -4873,7 +4893,7 @@
2018-04-16 Olga Makhotina <olga.makhotina@intel.com>
PR target/84331
* gcc/testsuite/gcc.target/i386/funcspec-56.inc: Test arch=skylake.
* gcc.target/i386/funcspec-56.inc: Test arch=skylake.
2018-04-16 Paolo Carlini <paolo.carlini@oracle.com>
Jason Merrill <jason@redhat.com>
......@@ -4973,23 +4993,12 @@
PR c++/85258
* g++.dg/parse/error61.C: New test.
2018-04-12 Cesar Philippidis <cesar@codesourcery.com>
* testsuite/libgomp.oacc-c-c++-common/pr84955.c: Revert 259346.
* testsuite/libgomp.oacc-fortran/pr84955.f90: Likewise.
2018-04-12 Kelvin Nilsen <kelvin@gcc.gnu.org>
PR target/85347
* gcc.target/powerpc/vec-ldl-1.c: Change dejagnu directives to
specify -mvsx on gcc command line.
2018-04-12 Cesar Philippidis <cesar@codesourcery.com>
PR middle-end/84955
* testsuite/libgomp.oacc-c-c++-common/pr84955.c: New test.
* testsuite/libgomp.oacc-fortran/pr84955.f90: New test.
2018-04-12 Jakub Jelinek <jakub@redhat.com>
PR target/85328
......@@ -5675,8 +5684,8 @@
2018-03-27 Cesar Philippidis <cesar@codesourcery.com>
PR target/85056
* testsuite/gcc.target/nvptx/pr85056.c: New test.
* testsuite/gcc.target/nvptx/pr85056a.c: New test.
* gcc.target/nvptx/pr85056.c: New test.
* gcc.target/nvptx/pr85056a.c: New test.
2018-03-27 Richard Biener <rguenther@suse.de>
......@@ -5809,7 +5818,7 @@
2018-03-23 Vladimir Makarov <vmakarov@redhat.com>
PR inline-asm/85030
* testsuite/gcc.target/i386/pr85030.c: New.
* gcc.target/i386/pr85030.c: New.
2018-03-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
......@@ -7447,9 +7456,9 @@
2018-02-22 Steve Ellcey <sellcey@cavium.com>
PR target/83335
* gcc/testsuite/gcc.target/aarch64/asm-2.c: Add dg-error for
* gcc.target/aarch64/asm-2.c: Add dg-error for
ILP32 mode.
* gcc/testsuite/gcc.target/aarch64/asm-4.c: New test.
* gcc.target/aarch64/asm-4.c: New test.
2018-02-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
......
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-ccp1 -fdelete-null-pointer-checks" } */
/* { dg-options "-O -fdump-tree-dom2 -fdelete-null-pointer-checks" } */
/* { dg-skip-if "" keeps_null_pointer_checks } */
// See pr19476-5.C for a version without including <new>.
......@@ -12,5 +12,5 @@ int g(){
return 42 + (0 == new int[50]);
}
/* { dg-final { scan-tree-dump "return 42" "ccp1" } } */
/* { dg-final { scan-tree-dump-not "return 33" "ccp1" } } */
/* { dg-final { scan-tree-dump "return 42" "dom2" } } */
/* { dg-final { scan-tree-dump-not "return 33" "dom2" } } */
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-ccp1 -fdelete-null-pointer-checks" } */
/* { dg-options "-O -fdump-tree-dom2 -fdelete-null-pointer-checks" } */
/* { dg-skip-if "" keeps_null_pointer_checks } */
// See pr19476-1.C for a version that includes <new>.
......@@ -8,4 +8,4 @@ int g(){
return 42 + (0 == new int[50]);
}
/* { dg-final { scan-tree-dump "return 42" "ccp1" } } */
/* { dg-final { scan-tree-dump "return 42" "dom2" } } */
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-evrp -fdelete-null-pointer-checks" } */
/* { dg-skip-if "" keeps_null_pointer_checks } */
// See pr19476-7.C for a version without including <new>.
#include <new>
int f(){
return 33 + (0 == new(std::nothrow) int);
}
int g(){
return 42 + (0 == new int[50]);
}
/* { dg-final { scan-tree-dump "return 42" "evrp" } } */
/* { dg-final { scan-tree-dump-not "return 33" "evrp" } } */
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-evrp -fdelete-null-pointer-checks" } */
/* { dg-skip-if "" keeps_null_pointer_checks } */
// See pr19476-6.C for a version that includes <new>.
int g(){
return 42 + (0 == new int[50]);
}
/* { dg-final { scan-tree-dump "return 42" "evrp" } } */
......@@ -619,6 +619,17 @@
* testsuite/libgomp.fortran/do_concurrent_5.f90: Move modified
test from gfortran.dg to here.
2018-04-12 Cesar Philippidis <cesar@codesourcery.com>
* testsuite/libgomp.oacc-c-c++-common/pr84955.c: Revert 259346.
* testsuite/libgomp.oacc-fortran/pr84955.f90: Likewise.
2018-04-12 Cesar Philippidis <cesar@codesourcery.com>
PR middle-end/84955
* testsuite/libgomp.oacc-c-c++-common/pr84955.c: New test.
* testsuite/libgomp.oacc-fortran/pr84955.f90: New test.
2018-04-05 Tom de Vries <tom@codesourcery.com>
PR target/85204
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment