Martin Jambor
64e5228e15
re PR tree-optimization/63551 (wrong code (segfaults) at -Os on x86_64-linux-gnu)
...
2014-12-01 Martin Jambor <mjambor@suse.cz>
PR ipa/63551
* ipa-inline-analysis.c (evaluate_conditions_for_known_args): Convert
value of the argument to the type of the value in the condition.
testsuite/
* gcc.dg/ipa/pr63551.c: New test.
* gcc.dg/ipa/pr64041.c: Likewise.
From-SVN: r218205
2014-12-01 13:05:41 +01:00
Ilya Tocar
f37477e509
Replace -DAVX512* options with defines inside tests.
...
gcc/testsuite/
* gcc.target/i386/avx512bw-vdbpsadbw-2.c: Move defines from options.
* gcc.target/i386/avx512bw-vmovdqu16-2.c: Ditto.
* gcc.target/i386/avx512bw-vmovdqu8-2.c: Ditto.
* gcc.target/i386/avx512bw-vpabsb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpabsw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpackssdw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpacksswb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpackusdw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpackuswb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpaddb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpaddsb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpaddsw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpaddusb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpaddusw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpaddw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpalignr-2.c: Ditto.
* gcc.target/i386/avx512bw-vpavgb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpavgw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpblendmb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpblendmw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpbroadcastb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpbroadcastw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpeqb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpequb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpequw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpeqw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpgeb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpgeub-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpgeuw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpgew-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpgtb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpgtub-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpgtuw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpgtw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpleb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpleub-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpleuw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmplew-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpltb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpltub-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpltuw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpltw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpneqb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpnequb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpnequw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpneqw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpub-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpuw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpcmpw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpermi2w-2.c: Ditto.
* gcc.target/i386/avx512bw-vpermt2w-2.c: Ditto.
* gcc.target/i386/avx512bw-vpermw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpmaddubsw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpmaddwd-2.c: Ditto.
* gcc.target/i386/avx512bw-vpmaxsb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpmaxsw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpmaxub-2.c: Ditto.
* gcc.target/i386/avx512bw-vpmaxuw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpminsb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpminsw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpminub-2.c: Ditto.
* gcc.target/i386/avx512bw-vpminuw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpmovb2m-2.c: Ditto.
* gcc.target/i386/avx512bw-vpmovm2b-2.c: Ditto.
* gcc.target/i386/avx512bw-vpmovm2w-2.c: Ditto.
* gcc.target/i386/avx512bw-vpmovswb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpmovsxbw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpmovuswb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpmovw2m-2.c: Ditto.
* gcc.target/i386/avx512bw-vpmovwb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpmovzxbw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpmulhrsw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpmulhuw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpmulhw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpmullw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpshufb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpshufhw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpshuflw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpsllvw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpsllw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpsllwi-2.c: Ditto.
* gcc.target/i386/avx512bw-vpsravw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpsraw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpsrawi-2.c: Ditto.
* gcc.target/i386/avx512bw-vpsrlvw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpsrlw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpsrlwi-2.c: Ditto.
* gcc.target/i386/avx512bw-vpsubb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpsubsb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpsubsw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpsubusb-2.c: Ditto.
* gcc.target/i386/avx512bw-vpsubusw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpsubw-2.c: Ditto.
* gcc.target/i386/avx512bw-vptestmb-2.c: Ditto.
* gcc.target/i386/avx512bw-vptestmw-2.c: Ditto.
* gcc.target/i386/avx512bw-vptestnmb-2.c: Ditto.
* gcc.target/i386/avx512bw-vptestnmw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpunpckhbw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpunpckhwd-2.c: Ditto.
* gcc.target/i386/avx512bw-vpunpcklbw-2.c: Ditto.
* gcc.target/i386/avx512bw-vpunpcklwd-2.c: Ditto.
* gcc.target/i386/avx512dq-vandnpd-2.c: Ditto.
* gcc.target/i386/avx512dq-vandnps-2.c: Ditto.
* gcc.target/i386/avx512dq-vandpd-2.c: Ditto.
* gcc.target/i386/avx512dq-vandps-2.c: Ditto.
* gcc.target/i386/avx512dq-vbroadcastf32x2-2.c: Ditto.
* gcc.target/i386/avx512dq-vbroadcastf32x8-2.c: Ditto.
* gcc.target/i386/avx512dq-vbroadcastf64x2-2.c: Ditto.
* gcc.target/i386/avx512dq-vbroadcasti32x2-2.c: Ditto.
* gcc.target/i386/avx512dq-vbroadcasti32x8-2.c: Ditto.
* gcc.target/i386/avx512dq-vbroadcasti64x2-2.c: Ditto.
* gcc.target/i386/avx512dq-vcvtpd2qq-2.c: Ditto.
* gcc.target/i386/avx512dq-vcvtpd2uqq-2.c: Ditto.
* gcc.target/i386/avx512dq-vcvtps2qq-2.c: Ditto.
* gcc.target/i386/avx512dq-vcvtps2uqq-2.c: Ditto.
* gcc.target/i386/avx512dq-vcvtqq2pd-2.c: Ditto.
* gcc.target/i386/avx512dq-vcvtqq2ps-2.c: Ditto.
* gcc.target/i386/avx512dq-vcvttpd2qq-2.c: Ditto.
* gcc.target/i386/avx512dq-vcvttpd2uqq-2.c: Ditto.
* gcc.target/i386/avx512dq-vcvttps2qq-2.c: Ditto.
* gcc.target/i386/avx512dq-vcvttps2uqq-2.c: Ditto.
* gcc.target/i386/avx512dq-vcvtuqq2pd-2.c: Ditto.
* gcc.target/i386/avx512dq-vcvtuqq2ps-2.c: Ditto.
* gcc.target/i386/avx512dq-vextractf64x2-2.c: Ditto.
* gcc.target/i386/avx512dq-vextracti64x2-2.c: Ditto.
* gcc.target/i386/avx512dq-vfpclasspd-2.c: Ditto.
* gcc.target/i386/avx512dq-vfpclassps-2.c: Ditto.
* gcc.target/i386/avx512dq-vinsertf64x2-2.c: Ditto.
* gcc.target/i386/avx512dq-vinserti64x2-2.c: Ditto.
* gcc.target/i386/avx512dq-vorpd-2.c: Ditto.
* gcc.target/i386/avx512dq-vorps-2.c: Ditto.
* gcc.target/i386/avx512dq-vpmovd2m-2.c: Ditto.
* gcc.target/i386/avx512dq-vpmovm2d-2.c: Ditto.
* gcc.target/i386/avx512dq-vpmovm2q-2.c: Ditto.
* gcc.target/i386/avx512dq-vpmovq2m-2.c: Ditto.
* gcc.target/i386/avx512dq-vpmullq-2.c: Ditto.
* gcc.target/i386/avx512dq-vrangepd-2.c: Ditto.
* gcc.target/i386/avx512dq-vrangeps-2.c: Ditto.
* gcc.target/i386/avx512dq-vreducepd-2.c: Ditto.
* gcc.target/i386/avx512dq-vreduceps-2.c: Ditto.
* gcc.target/i386/avx512dq-vxorpd-2.c: Ditto.
* gcc.target/i386/avx512dq-vxorps-2.c: Ditto.
* gcc.target/i386/avx512f-helper.h: Ditto.
* gcc.target/i386/avx512ifma-vpmaddhuq-2.c: Ditto.
* gcc.target/i386/avx512ifma-vpmaddluq-2.c: Ditto.
* gcc.target/i386/avx512vbmi-vpermb-2.c: Ditto.
* gcc.target/i386/avx512vbmi-vpermi2b-2.c: Ditto.
* gcc.target/i386/avx512vbmi-vpermt2b-2.c: Ditto.
* gcc.target/i386/avx512vbmi-vpmultishiftqb-2.c: Ditto.
* gcc.target/i386/avx512vl-vaddpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vaddps-2.c: Ditto.
* gcc.target/i386/avx512vl-valignd-2.c: Ditto.
* gcc.target/i386/avx512vl-valignq-2.c: Ditto.
* gcc.target/i386/avx512vl-vandnpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vandnps-2.c: Ditto.
* gcc.target/i386/avx512vl-vandpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vandps-2.c: Ditto.
* gcc.target/i386/avx512vl-vblendmpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vblendmps-2.c: Ditto.
* gcc.target/i386/avx512vl-vbroadcastf32x2-2.c: Ditto.
* gcc.target/i386/avx512vl-vbroadcastf32x4-2.c: Ditto.
* gcc.target/i386/avx512vl-vbroadcastf64x2-2.c: Ditto.
* gcc.target/i386/avx512vl-vbroadcasti32x2-2.c: Ditto.
* gcc.target/i386/avx512vl-vbroadcasti32x4-2.c: Ditto.
* gcc.target/i386/avx512vl-vbroadcasti64x2-2.c: Ditto.
* gcc.target/i386/avx512vl-vbroadcastsd-2.c: Ditto.
* gcc.target/i386/avx512vl-vbroadcastss-2.c: Ditto.
* gcc.target/i386/avx512vl-vcmppd-2.c: Ditto.
* gcc.target/i386/avx512vl-vcmpps-2.c: Ditto.
* gcc.target/i386/avx512vl-vcompresspd-2.c: Ditto.
* gcc.target/i386/avx512vl-vcompressps-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtdq2pd-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtdq2ps-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtpd2dq-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtpd2ps-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtpd2qq-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtpd2udq-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtpd2uqq-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtph2ps-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtps2dq-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtps2pd-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtps2ph-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtps2qq-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtps2udq-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtps2uqq-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtqq2pd-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtqq2ps-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvttpd2dq-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvttpd2qq-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvttpd2udq-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvttpd2uqq-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvttps2dq-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvttps2qq-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvttps2udq-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvttps2uqq-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtudq2pd-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtudq2ps-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtuqq2pd-2.c: Ditto.
* gcc.target/i386/avx512vl-vcvtuqq2ps-2.c: Ditto.
* gcc.target/i386/avx512vl-vdbpsadbw-2.c: Ditto.
* gcc.target/i386/avx512vl-vdivpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vdivps-2.c: Ditto.
* gcc.target/i386/avx512vl-vexpandpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vexpandps-2.c: Ditto.
* gcc.target/i386/avx512vl-vextractf32x4-2.c: Ditto.
* gcc.target/i386/avx512vl-vextractf64x2-2.c: Ditto.
* gcc.target/i386/avx512vl-vextracti32x4-2.c: Ditto.
* gcc.target/i386/avx512vl-vextracti64x2-2.c: Ditto.
* gcc.target/i386/avx512vl-vfixupimmpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vfixupimmps-2.c: Ditto.
* gcc.target/i386/avx512vl-vfmaddXXXpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vfmaddXXXps-2.c: Ditto.
* gcc.target/i386/avx512vl-vfmaddsubXXXpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vfmaddsubXXXps-2.c: Ditto.
* gcc.target/i386/avx512vl-vfmsubXXXpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vfmsubXXXps-2.c: Ditto.
* gcc.target/i386/avx512vl-vfmsubaddXXXpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vfmsubaddXXXps-2.c: Ditto.
* gcc.target/i386/avx512vl-vfnmaddXXXpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vfnmaddXXXps-2.c: Ditto.
* gcc.target/i386/avx512vl-vfnmsubXXXpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vfnmsubXXXps-2.c: Ditto.
* gcc.target/i386/avx512vl-vfpclasspd-2.c: Ditto.
* gcc.target/i386/avx512vl-vfpclassps-2.c: Ditto.
* gcc.target/i386/avx512vl-vgetexppd-2.c: Ditto.
* gcc.target/i386/avx512vl-vgetexpps-2.c: Ditto.
* gcc.target/i386/avx512vl-vgetmantpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vgetmantps-2.c: Ditto.
* gcc.target/i386/avx512vl-vinsertf32x4-2.c: Ditto.
* gcc.target/i386/avx512vl-vinsertf64x2-2.c: Ditto.
* gcc.target/i386/avx512vl-vinserti32x4-2.c: Ditto.
* gcc.target/i386/avx512vl-vinserti64x2-2.c: Ditto.
* gcc.target/i386/avx512vl-vmaxpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vmaxps-2.c: Ditto.
* gcc.target/i386/avx512vl-vminpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vminps-2.c: Ditto.
* gcc.target/i386/avx512vl-vmovapd-2.c: Ditto.
* gcc.target/i386/avx512vl-vmovaps-2.c: Ditto.
* gcc.target/i386/avx512vl-vmovddup-2.c: Ditto.
* gcc.target/i386/avx512vl-vmovdqa32-2.c: Ditto.
* gcc.target/i386/avx512vl-vmovdqa64-2.c: Ditto.
* gcc.target/i386/avx512vl-vmovdqu16-2.c: Ditto.
* gcc.target/i386/avx512vl-vmovdqu32-2.c: Ditto.
* gcc.target/i386/avx512vl-vmovdqu64-2.c: Ditto.
* gcc.target/i386/avx512vl-vmovdqu8-2.c: Ditto.
* gcc.target/i386/avx512vl-vmovshdup-2.c: Ditto.
* gcc.target/i386/avx512vl-vmovsldup-2.c: Ditto.
* gcc.target/i386/avx512vl-vmovupd-2.c: Ditto.
* gcc.target/i386/avx512vl-vmovups-2.c: Ditto.
* gcc.target/i386/avx512vl-vmulpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vmulps-2.c: Ditto.
* gcc.target/i386/avx512vl-vorpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vorps-2.c: Ditto.
* gcc.target/i386/avx512vl-vpabsb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpabsd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpabsq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpabsw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpackssdw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpacksswb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpackusdw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpackuswb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpaddb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpaddd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpaddq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpaddsb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpaddsw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpaddusb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpaddusw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpaddw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpalignr-2.c: Ditto.
* gcc.target/i386/avx512vl-vpandd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpandnd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpandnq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpandq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpavgb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpavgw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpblendmb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpblendmd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpblendmq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpblendmw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpbroadcastb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpbroadcastd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpbroadcastq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpbroadcastw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpeqb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpeqd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpeqq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpequb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpequd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpequq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpequw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpeqw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpged-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpgeq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpgeud-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpgeuq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpgtb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpgtd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpgtq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpgtub-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpgtud-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpgtuq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpgtuw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpgtw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpled-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpleq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpleud-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpleuq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpltd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpltq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpltud-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpltuq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpneqd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpneqq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpnequd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpnequq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpub-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpud-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpuq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpuw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcmpw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcompressd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpcompressq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermi2b-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermi2d-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermi2pd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermi2ps-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermi2q-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermi2w-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermilpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermilpdi-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermilps-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermilpsi-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermpdi-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermps-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermq-imm-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermq-var-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermt2b-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermt2d-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermt2pd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermt2ps-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermt2q-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermt2w-2.c: Ditto.
* gcc.target/i386/avx512vl-vpermw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpexpandd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpexpandq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmaddhuq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmaddluq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmaddubsw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmaddwd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmaxsb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmaxsd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmaxsq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmaxsw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmaxub-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmaxud-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmaxuq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmaxuw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpminsb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpminsd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpminsq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpminsw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpminub-2.c: Ditto.
* gcc.target/i386/avx512vl-vpminud-2.c: Ditto.
* gcc.target/i386/avx512vl-vpminuq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpminuw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovb2m-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovd2m-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovdb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovdw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovm2b-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovm2d-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovm2q-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovm2w-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovq2m-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovqb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovqd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovqw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovsdb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovsdw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovsqb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovsqd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovsqw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovswb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovsxbd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovsxbq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovsxbw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovsxdq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovsxwd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovsxwq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovusdb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovusdw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovusqb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovusqd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovusqw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovuswb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovw2m-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovwb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovzxbd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovzxbq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovzxbw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovzxdq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovzxwd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmovzxwq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmuldq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmulhrsw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmulhuw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmulhw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmulld-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmullq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmullw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmultishiftqb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpmuludq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpord-2.c: Ditto.
* gcc.target/i386/avx512vl-vporq-2.c: Ditto.
* gcc.target/i386/avx512vl-vprold-2.c: Ditto.
* gcc.target/i386/avx512vl-vprolq-2.c: Ditto.
* gcc.target/i386/avx512vl-vprolvd-2.c: Ditto.
* gcc.target/i386/avx512vl-vprolvq-2.c: Ditto.
* gcc.target/i386/avx512vl-vprord-2.c: Ditto.
* gcc.target/i386/avx512vl-vprorq-2.c: Ditto.
* gcc.target/i386/avx512vl-vprorvd-2.c: Ditto.
* gcc.target/i386/avx512vl-vprorvq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpshufb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpshufd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpshufhw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpshuflw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpslld-2.c: Ditto.
* gcc.target/i386/avx512vl-vpslldi-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsllq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsllqi-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsllvd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsllvq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsllvw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsllw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsllwi-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsrad-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsradi-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsraq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsraqi-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsravd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsravq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsravw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsraw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsrawi-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsrld-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsrldi-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsrlq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsrlqi-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsrlvd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsrlvq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsrlvw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsrlw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsrlwi-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsubb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsubd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsubq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsubsb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsubsw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsubusb-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsubusw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpsubw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpternlogd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpternlogq-2.c: Ditto.
* gcc.target/i386/avx512vl-vptestmb-2.c: Ditto.
* gcc.target/i386/avx512vl-vptestmd-2.c: Ditto.
* gcc.target/i386/avx512vl-vptestmq-2.c: Ditto.
* gcc.target/i386/avx512vl-vptestmw-2.c: Ditto.
* gcc.target/i386/avx512vl-vptestnmb-2.c: Ditto.
* gcc.target/i386/avx512vl-vptestnmd-2.c: Ditto.
* gcc.target/i386/avx512vl-vptestnmq-2.c: Ditto.
* gcc.target/i386/avx512vl-vptestnmw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpunpckhbw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpunpckhdq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpunpckhqdq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpunpckhwd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpunpcklbw-2.c: Ditto.
* gcc.target/i386/avx512vl-vpunpckldq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpunpcklqdq-2.c: Ditto.
* gcc.target/i386/avx512vl-vpunpcklwd-2.c: Ditto.
* gcc.target/i386/avx512vl-vpxord-2.c: Ditto.
* gcc.target/i386/avx512vl-vpxorq-2.c: Ditto.
* gcc.target/i386/avx512vl-vrangepd-2.c: Ditto.
* gcc.target/i386/avx512vl-vrangeps-2.c: Ditto.
* gcc.target/i386/avx512vl-vrcp14pd-2.c: Ditto.
* gcc.target/i386/avx512vl-vrcp14ps-2.c: Ditto.
* gcc.target/i386/avx512vl-vreducepd-2.c: Ditto.
* gcc.target/i386/avx512vl-vreduceps-2.c: Ditto.
* gcc.target/i386/avx512vl-vrndscalepd-2.c: Ditto.
* gcc.target/i386/avx512vl-vrndscaleps-2.c: Ditto.
* gcc.target/i386/avx512vl-vrsqrt14pd-2.c: Ditto.
* gcc.target/i386/avx512vl-vrsqrt14ps-2.c: Ditto.
* gcc.target/i386/avx512vl-vscalefpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vscalefps-2.c: Ditto.
* gcc.target/i386/avx512vl-vshuff32x4-2.c: Ditto.
* gcc.target/i386/avx512vl-vshuff64x2-2.c: Ditto.
* gcc.target/i386/avx512vl-vshufi32x4-2.c: Ditto.
* gcc.target/i386/avx512vl-vshufi64x2-2.c: Ditto.
* gcc.target/i386/avx512vl-vshufpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vshufps-2.c: Ditto.
* gcc.target/i386/avx512vl-vsqrtpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vsqrtps-2.c: Ditto.
* gcc.target/i386/avx512vl-vsubpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vsubps-2.c: Ditto.
* gcc.target/i386/avx512vl-vunpckhpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vunpckhps-2.c: Ditto.
* gcc.target/i386/avx512vl-vunpcklpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vunpcklps-2.c: Ditto.
* gcc.target/i386/avx512vl-vxorpd-2.c: Ditto.
* gcc.target/i386/avx512vl-vxorps-2.c: Ditto.
From-SVN: r218203
2014-12-01 12:57:44 +03:00
Richard Biener
8565f9e428
re PR tree-optimization/63738 (ssa corruption when compiled with -O3)
...
2014-12-01 Richard Biener <rguenther@suse.de>
PR tree-optimization/63738
* gcc.dg/torture/pr63738.c: Fix call to setjmp.
From-SVN: r218201
2014-12-01 09:35:15 +00:00
Oleg Endo
9270a54f38
re PR target/63986 ([SH] gcc.target/sh/pr51244-15.c failures)
...
gcc/
PR target/63986
PR target/51244
* config/sh/sh.c (sh_unspec_insn_p,
sh_insn_operands_modified_between_p): New functions.
(sh_split_movrt_negc_to_movt_xor): Do not delete insn if its operands
are modified or if it has side effects, may trap or is volatile.
From-SVN: r218200
2014-12-01 06:50:06 +00:00
Ian Lance Taylor
975fbd8477
compiler: Don't crash with self-referential types.
...
Fixes issue 6637.
From-SVN: r218199
2014-12-01 01:29:45 +00:00
Ian Lance Taylor
4368bc4589
runtime: introduce mvifdiff.sh script to replace GCC's move-if-change
...
This goes towards making libgo more self-contained.
From-SVN: r218198
2014-12-01 01:06:29 +00:00
GCC Administrator
13d2541371
Daily bump.
...
From-SVN: r218197
2014-12-01 00:16:23 +00:00
Oleg Endo
6342b2c592
lib1funcs.S: Check value of __SHMEDIA__ instead of checking whether it's defined.
...
libgcc/
* config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
whether it's defined.
From-SVN: r218190
2014-11-30 19:03:29 +00:00
Jonathan Wakely
565aed1a1e
* config/abi/pre/gnu.ver: Fix ios_base::failure exports.
...
From-SVN: r218189
2014-11-30 12:51:42 +00:00
Tobias Burnus
73e42eef16
gfortran.h (gfc_option_t): Remove warn_aliasing,
...
2014-11-30 Tobias Burnus <burnus@net-b.de>
* gfortran.h (gfc_option_t): Remove warn_aliasing,
* warn_ampersand,
warn_function_elimination, warn_implicit_interface,
warn_implicit_procedure, warn_line_truncation,
warn_surprising, warn_underflow, warn_intrinsic_shadow,
warn_array_temp, warn_align_commons, warn_real_q_constant,
warn_unused_dummy_argument, warn_zerotrip, warn_realloc_lhs,
warn_realloc_lhs_all, warn_compare_reals, warn_target_lifetime.
* arith.c (check_result, gfc_real2real, gfc_real2complex,
gfc_complex2real, gfc_complex2complex): Honor changed
variable names.
* check.c (gfc_check_transfer): Ditto.
* expr.c (gfc_check_assign, gfc_check_pointer_assign): Ditto.
* interface.c (compare_parameter, gfc_procedure_use,
* gfc_ppc_use,
gfc_arglist_matches_symbol): Ditto.
* intrinsic.c (gfc_warn_intrinsic_shadow): Ditto.
* primary.c (match_real_constant, match_string_constant): Ditto.
* resolve.c (gfc_resolve_intrinsic, resolve_operator,
gfc_resolve_iterator, resolve_select, resolve_ordinary_assign,
resolve_charlen, gfc_resolve_finalizers): Ditto.
* scanner.c (gfc_next_char_literal): Ditto.
* simplify.c (simplify_achar_char, gfc_simplify_iachar): Ditto.
* trans-array.c (gfc_trans_create_temp_array,
gfc_trans_dummy_array_bias, gfc_conv_array_parameter): Ditto.
* trans-common.c (translate_common):
* trans-decl.c (generate_local_decl): Ditto.
* trans-expr.c (realloc_lhs_warning): Ditto.
* trans-intrinsic.c (gfc_conv_intrinsic_transfer): Ditto.
* decl.c (do_warn_intrinsic_shadow): Ditto. Renamed from
warn_intrinsic_shadow.
* frontend-passes.c (do_warn_function_elimination): Honor
changed variable names. Renamed from do_warn_function_elimination.
* invoke.texi (Wunderflow): Document that it is enabled by
* default.
* lang.opt (Waliasing, Walign-commons, Warray-temporaries,
Wcompare-reals, Wfunction-elimination, Wimplicit-interface,
Wimplicit-procedure, Wline-truncation, Wreal-q-constant, Wrealloc-lhs,
Wrealloc-lhs-all, Wtarget-lifetime, Wsurprising, Wunderflow,
Wintrinsic-shadow, Wunused-dummy-argument, Wzerotrip): Use Var(),
add Init() and LangEnabledBy() were required.
(Wmaybe-uninitialized, Wreturn-type, Wuninitialized): Add
LangEnabledBy.
* options.c (gfc_init_options, gfc_post_options,
* gfc_handle_option):
Remove options handled in lang.opt; handle renaming.
(set_Wall, set_Wextra): Remove.
From-SVN: r218188
2014-11-30 09:33:25 +01:00
GCC Administrator
daa38cc13d
Daily bump.
...
From-SVN: r218187
2014-11-30 00:16:34 +00:00
Jonathan Wakely
38dbb2a53f
locale_init.cc (locale::_Impl::_Impl(size_t)): Use new-initializer instead of loop.
...
* src/c++98/locale_init.cc (locale::_Impl::_Impl(size_t)): Use
new-initializer instead of loop.
* src/c++98/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
Likewise.
From-SVN: r218184
2014-11-29 22:58:38 +00:00
Jonathan Wakely
bd6757b8d3
nonio.h (__timepunct): Remove unused typedef.
...
* include/bits/locale_facets/nonio.h (__timepunct): Remove unused
typedef.
(time_get): Likewise. Fix comments.
From-SVN: r218183
2014-11-29 22:58:33 +00:00
H.J. Lu
925f3e6546
Add a testcase for PR target/64114
...
PR target/64114
* gcc.target/i386/pr64114.c: New test.
From-SVN: r218182
2014-11-29 07:57:32 -08:00
Jakub Jelinek
b731b39027
gimple-expr.h (create_tmp_var_raw, [...]): Add default NULL value to last argument.
...
* gimple-expr.h (create_tmp_var_raw, create_tmp_var,
create_tmp_reg): Add default NULL value to last argument.
* tree-ssanames.h (make_ssa_name, copy_ssa_name): Likewise.
* gimple-low.c (lower_builtin_posix_memalign): Remove NULL
last argument from create_tmp_var_raw, create_tmp_var,
create_tmp_reg, make_ssa_name and copy_ssa_name calls.
* tree-ssa-strlen.c (get_string_length): Likewise.
* tree-emutls.c (gen_emutls_addr, lower_emutls_1): Likewise.
* tree-ssa-phiprop.c (phiprop_insert_phi): Likewise.
* tree-vect-slp.c (vect_get_constant_vectors): Likewise.
* ipa-prop.c (ipa_modify_call_arguments): Likewise.
* tree-ssa-forwprop.c (simplify_rotate): Likewise.
* tree-ssa-ccp.c (fold_builtin_alloca_with_align): Likewise.
* asan.c (build_shadow_mem_access, maybe_create_ssa_name,
maybe_cast_to_ptrmode, asan_expand_check_ifn): Likewise.
* tsan.c (instrument_expr, instrument_builtin_call,
instrument_func_entry): Likewise.
* varpool.c (add_new_static_var): Likewise.
* tree-loop-distribution.c (generate_memset_builtin): Likewise.
* gimplify.c (internal_get_tmp_var, gimplify_return_expr,
gimplify_modify_expr_to_memcpy, gimplify_modify_expr_to_memset,
gimplify_init_ctor_eval_range, gimplify_init_constructor,
gimplify_omp_atomic, gimplify_expr): Likewise.
* gimple-builder.c (build_assign, build_type_cast): Likewise.
* tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1,
slpeel_update_phi_nodes_for_guard2, slpeel_tree_peel_loop_to_edge,
vect_loop_versioning): Likewise.
* tree-if-conv.c (version_loop_for_if_conversion): Likewise.
* gimple-match-head.c (maybe_push_res_to_seq): Likewise.
* tree-vect-patterns.c (vect_handle_widen_op_by_const,
vect_recog_widen_mult_pattern, vect_operation_fits_smaller_type,
vect_recog_over_widening_pattern): Likewise.
* tree-sra.c (build_ref_for_offset, create_access_replacement):
Likewise.
* tree-cfg.c (make_blocks): Likewise.
* tree-eh.c (lower_eh_constructs_2, lower_resx, lower_eh_dispatch):
Likewise.
* tree-ssa-propagate.c (update_call_from_tree): Likewise.
* tree-complex.c (get_component_ssa_name, expand_complex_div_wide):
Likewise.
* tree-ssa-math-opts.c (build_and_insert_cast): Likewise.
* tree-tailcall.c (update_accumulator_with_ops): Likewise.
* tree-predcom.c (initialize_root_vars, initialize_root_vars_lm,
execute_load_motion, reassociate_to_the_same_stmt): Likewise.
* tree-ssa-reassoc.c (build_and_add_sum,
optimize_range_tests_to_bit_test, update_ops,
maybe_optimize_range_tests, rewrite_expr_tree, linearize_expr,
negate_value, repropagate_negates): Likewise.
* tree-vect-loop.c (vect_is_simple_reduction_1,
vect_create_epilog_for_reduction): Likewise.
* ipa-split.c (split_function): Likewise.
* tree-inline.c (remap_ssa_name, setup_one_parameter,
declare_return_variable, tree_function_versioning): Likewise.
* tree-cfgcleanup.c (fixup_noreturn_call): Likewise.
* cfgexpand.c (update_alias_info_with_stack_vars, expand_used_vars):
Likewise.
* tree-ssa-phiopt.c (conditional_replacement, abs_replacement,
neg_replacement): Likewise.
* gimplify-me.c (force_gimple_operand_1, gimple_regimplify_operands):
Likewise.
* tree-vrp.c (simplify_truth_ops_using_ranges,
simplify_float_conversion_using_ranges,
simplify_internal_call_using_ranges): Likewise.
* tree-switch-conversion.c (emit_case_bit_tests,
build_one_array, build_arrays, gen_def_assigns): Likewise.
* gimple-fold.c (gimple_fold_builtin_memory_op,
gimple_fold_builtin_strcat, gimple_fold_call, gimple_build): Likewise.
* tree-vect-generic.c (expand_vector_divmod,
optimize_vector_constructor): Likewise.
* ubsan.c (ubsan_encode_value, ubsan_expand_null_ifn,
ubsan_expand_objsize_ifn, instrument_si_overflow,
instrument_bool_enum_load, instrument_nonnull_arg): Likewise.
* tree-outof-ssa.c (insert_backedge_copies): Likewise.
* tree-ssa-loop-manip.c (create_iv,
tree_transform_and_unroll_loop): Likewise.
* omp-low.c (scan_omp_parallel, lower_rec_simd_input_clauses,
lower_rec_input_clauses, lower_lastprivate_clauses,
expand_parallel_call, expand_omp_for_static_chunk,
expand_omp_atomic_pipeline, expand_omp_target,
maybe_add_implicit_barrier_cancel, lower_omp_single_simple,
lower_omp_critical, lower_omp_for, task_copyfn_copy_decl,
lower_depend_clauses, lower_omp_target, lower_omp_1,
ipa_simd_modify_stmt_ops, simd_clone_adjust): Likewise.
* tree-parloops.c (take_address_of, create_phi_for_local_result,
create_call_for_reduction_1, separate_decls_in_region,
create_parallel_loop): Likewise.
* graphite-sese-to-poly.c (rewrite_cross_bb_scalar_dependence,
handle_scalar_deps_crossing_scop_limits): Likewise.
* trans-mem.c (lower_transaction, build_tm_load, build_tm_store,
expand_assign_tm, expand_call_tm, expand_transaction,
ipa_tm_insert_gettmclone_call): Likewise.
* tree-vect-data-refs.c (bump_vector_ptr, vect_setup_realignment):
Likewise.
* tree-vect-stmts.c (vect_init_vector, vectorizable_mask_load_store,
vectorizable_call, vectorizable_simd_clone_call,
vectorizable_conversion, vectorizable_store, permute_vec_elements,
vectorizable_load): Likewise.
c/
* c-typeck.c (convert_lvalue_to_rvalue, build_atomic_assign,
c_finish_stmt_expr): Remove NULL last argument from
create_tmp_var_raw and create_tmp_var calls.
* c-array-notation.c (fix_builtin_array_notation_fn,
build_array_notation_expr, fix_conditional_array_notations_1,
fix_array_notation_expr, fix_array_notation_call_expr): Likewise.
cp/
* cp-gimplify.c (cxx_omp_clause_apply_fn): Remove NULL last argument
from create_tmp_var calls.
c-family/
* c-common.c (convert_vector_to_pointer_for_subscript): Remove NULL
last argument from create_tmp_var_raw and create_tmp_var calls.
* cilk.c (gimplify_cilk_spawn): Likewise.
* c-omp.c (c_finish_omp_atomic): Likewise.
fortran/
* trans-openmp.c (gfc_omp_finish_clause,
gfc_trans_omp_array_reduction_or_udr, gfc_trans_omp_atomic): Remove
NULL last argument from create_tmp_var_raw and create_tmp_var calls.
From-SVN: r218181
2014-11-29 12:35:30 +01:00
Tobias Burnus
d0e168a016
scanner.c (skip_free_comments, [...]): Use gfc_warning_now instead of ..._now_1.
...
2014-11-29 Tobias Burnus <burnus@net-b.de>
* scanner.c (skip_free_comments, gfc_gobble_whitespace): Use
gfc_warning_now instead of ..._now_1.
From-SVN: r218180
2014-11-29 11:56:04 +01:00
Joseph Myers
81fee4a708
Fix off-by-one bug in utf16 conversion (PR preprocessor/41698).
...
libcpp:
2014-11-29 John Schmerge <jbschmerge@gmail.com>
PR preprocessor/41698
* charset.c (one_utf8_to_utf16): Do not produce surrogate pairs
for 0xffff.
gcc/testsuite:
2014-11-29 Joseph Myers <joseph@codesourcery.com>
PR preprocessor/41698
* gcc/testsuite/g++.dg/cpp/utf16-pr41698-1.C: New test.
From-SVN: r218179
2014-11-29 01:56:06 +00:00
GCC Administrator
bfa52c5720
Daily bump.
...
From-SVN: r218178
2014-11-29 00:16:26 +00:00
Tobias Burnus
27e51192eb
opt-functions.awk (lang_enabled_by): Support || for enabled-by.
...
2014-11-29 Tobias Burnus <burnus@net-b.de>
Manuel López-Ibáñez <manu@gcc.gnu.org>
gcc/
* opt-functions.awk (lang_enabled_by): Support || for
enabled-by.
* optc-gen.awk: Ditto.
* doc/options.texi (LangEnabledBy, EnabledBy): Document the
|| syntax.
gcc/fortran/
* lang.opt (Wtabs): Combine duplicated item into a single
one using || for LangEnabledBy.
Co-Authored-By: Manuel López-Ibáñez <manu@gcc.gnu.org>
From-SVN: r218175
2014-11-29 01:04:48 +01:00
Mike Stump
9e5d3a2c07
bitmap.c (bitmap_ior, bitmap_ior_and_compl): Zap current as it could be deleted.
...
From-SVN: r218173
2014-11-28 22:23:59 +00:00
Vladimir Makarov
eef7b18cb7
re PR target/64061 (ICE: in gen_rtx_SUBREG, at emit-rtl.c:894 with -O2 -g -fno-dce -fno-tree-dce)
...
2014-11-28 Vladimir Makarov <vmakarov@redhat.com>
PR target/64061
* lra.c (lra_substitute_pseudo): Ignore constant with int mode for
subreg.
2014-11-28 Vladimir Makarov <vmakarov@redhat.com>
PR target/64061
* gcc.target/i386/pr64061.c: New.
From-SVN: r218171
2014-11-28 19:33:35 +00:00
Bernd Schmidt
ee95f9288a
Add support for a minimal version of libgfortran for accelerator targets.
...
* Makefile.am (AM_CFLAGS): Add -DLIBGFOR_MINIMAL if LIBGFOR_MINIMAL.
(gfor_io_src, gfor_heper_src, gfor_src): Split into minimal and
always included sources.
* Makefile.in: Regenerate.
* configure.ac (LIBGFOR_MINIMAL): New AM_CONDITIONAL.
* configure: Regenerate.
* caf/single.c (caf_runtime_error): Don't print messages if
LIBGFOR_MINIMAL.
* runtime/compile_options.c (fatal_error_in_progress,
show_signal, backtrace_handler, maybe_find_addr2line): Guard with
!defined LIBGFOR_MINIMAL.
(set_options): Likewise for the backtrace code.
* runtime/minimal.c: New file.
From-SVN: r218170
2014-11-28 17:39:15 +00:00
Segher Boessenkool
8760be8546
re PR target/64093 (ICE error: unrecognizable insn with -mcpu=cell)
...
PR target/64093
* config/rs6000/rs6000.md (and<mode>3): Don't generate
and<mode>3_imm unless rs6000_gen_cell_microcode is true.
From-SVN: r218164
2014-11-28 17:25:33 +01:00
Marek Polacek
6a4da643ca
c-ubsan.c (ubsan_instrument_shift): Use op1_utype for MINUS_EXPR instead of unsigned_type_node.
...
* c-ubsan.c (ubsan_instrument_shift): Use op1_utype for MINUS_EXPR
instead of unsigned_type_node.
* c-c++-common/ubsan/shift-8.c: New test.
From-SVN: r218163
2014-11-28 15:54:52 +00:00
Vladimir Makarov
9503ade2ec
re PR rtl-optimization/64087 (ICE on valid code at -O3 on x86_64-linux-gnu in in lra_create_live_ranges, at lra-lives.c:1330)
...
2014-11-28 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/64087
* lra-lives.c (process_bb_lives): Add debug output.
(lra_create_live_ranges): Don't remove dead insn on the second
call of lra_create_live_ranges_1.
2014-11-28 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/64087
* gcc.dg/pr64087.c: New.
From-SVN: r218162
2014-11-28 15:39:52 +00:00
H.J. Lu
51e5fd69c6
Pass unpromoted argument to promote_function_mode
...
This patch updates setup_incoming_promotions in combine.c to match what
is actually passed in assign_parm_setup_reg in function.c.
gcc/
PR rtl-optimization/64037
* combine.c (setup_incoming_promotions): Pass the argument
before any promotions happen to promote_function_mode.
gcc/testsuite/
PR rtl-optimization/64037
* g++.dg/pr64037.C: New test.
From-SVN: r218161
2014-11-28 07:27:55 -08:00
Evgeny Stupachenko
f101d09c2a
tree-vect-data-refs.c (vect_transform_grouped_load): Limit shift permutations to loads group of size 3.
...
gcc/
* tree-vect-data-refs.c (vect_transform_grouped_load): Limit shift
permutations to loads group of size 3.
gcc/testsuite/
* gcc.target/i386/pr52252-atom-1.c: Delete.
From-SVN: r218160
2014-11-28 14:45:26 +00:00
Jiong Wang
3403c4c78e
[ARM] Optimize copysign/copysignf for soft-float using BFI
...
gcc/
* config/arm/arm.md (copysignsf3): New pattern.
(copysigndf3): Likewise.
gcc/testsuite/
* gcc.target/arm/copysign_softfloat_1.c: New copysign/copysignf
testcase for soft-float.
From-SVN: r218159
2014-11-28 14:07:04 +00:00
Andrey Turetskiy
476ff78736
omp-low.c (lower_omp_critical): Mark critical sections inside target functions as offloadable.
...
gcc/
* omp-low.c (lower_omp_critical): Mark critical sections
inside target functions as offloadable.
libgomp/
* testsuite/libgomp.c/target-critical-1.c: New test.
Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com>
From-SVN: r218158
2014-11-28 13:59:49 +00:00
H.J. Lu
f672337f6d
Update gcc.target/i386/pr63661.c
...
* gcc.target/i386/pr63661.c: Replace -mtune=native with
-mtune=nehalem.
(foo): Replace "!=" with delta.
(main): Remove __builtin_printf.
From-SVN: r218157
2014-11-28 05:54:17 -08:00
Ilya Verbin
d8f2178020
lto-wrapper.c (run_gcc): Set have_lto and have_offload if at least one file contains sections with LTO...
...
gcc/
* lto-wrapper.c (run_gcc): Set have_lto and have_offload if at least one
file contains sections with LTO and offload IR, respectively.
From-SVN: r218156
2014-11-28 13:46:28 +00:00
Arnaud Charlet
6b2963e742
Update comments.
...
From-SVN: r218149
2014-11-28 14:22:29 +01:00
Arnaud Charlet
d200409415
Update copyright notice.
...
From-SVN: r218148
2014-11-28 14:22:06 +01:00
Ilya Verbin
f0d78df9de
cgraphunit.c (ipa_passes): Handle flag_generate_offload.
...
gcc/
* cgraphunit.c (ipa_passes): Handle flag_generate_offload.
(symbol_table::compile): Set flag_generate_offload if there is something
to offload.
* common.opt (flag_generate_offload): New Variable declaration.
* dwarf2out.c (dwarf2out_finish): Handle flag_generate_offload.
* ipa-inline-analysis.c (inline_generate_summary): Do not skip if
flag_generate_offload is set.
* lto-streamer.c (gate_lto_out): Handle flag_generate_offload.
* passes.c (ipa_write_summaries): Do not skip if flag_generate_offload
is set.
* toplev.c (compile_file): Emit LTO marker if offload info has been
previously emitted. Do not emit lto_slim marker if
flag_generate_offload is without flag_generate_lto.
* tree.c (free_lang_data): Do not skip if flag_generate_offload is set.
From-SVN: r218147
2014-11-28 12:23:55 +00:00
Kyrylo Tkachov
0f4fe89599
[ARM] Add -mcpu=cortex-a17.cortex-a7
...
* config/arm/arm-cores.def (cortex-a17.cortex-a7): New entry.
* config/arm/arm-tables.opt: Regenerate.
* config/arm/arm-tune.md: Regenerate.
* config/arm/bpabi.h (BE8_LINK_SPEC): Add mcpu=cortex-a17.cortex-a7.
* config/arm/t-aprofile: Add cortex-a17.cortex-a7 entry to
MULTILIB_MATCHES.
From-SVN: r218146
2014-11-28 12:17:40 +00:00
Kyrylo Tkachov
6c7e4a1815
[ARM] Add Cortex-A17 support
...
* config/arm/arm.md (generic_sched): Specify cortexa17 in 'no' list.
Include cortex-a17.md.
* config/arm/arm.c (arm_issue_rate): Specify 2 for cortexa17.
* config/arm/arm-cores.def (cortex-a17): New entry.
* config/arm/arm-tables.opt: Regenerate.
* config/arm/arm-tune.md: Regenerate.
* config/arm/bpabi.h (BE8_LINK_SPEC): Specify mcpu=cortex-a17.
* config/arm/cortex-a17.md: New file.
* config/arm/cortex-a17-neon.md: New file.
* config/arm/driver-arm.c (arm_cpu_table): Add entry for cortex-a17.
* config/arm/t-aprofile: Add cortex-a17 entries to MULTILIB_MATCHES.
From-SVN: r218145
2014-11-28 11:59:34 +00:00
Renlin Li
70383ebcf0
Use native tune. nehalem is not able to triggle the issue in trunk any more.
...
2014-11-28 Renlin Li <renlin.li@arm.com>
PR target/63661
* gcc.target/i386/pr63661.c: Use native tune.
From-SVN: r218144
2014-11-28 11:18:47 +00:00
Renlin Li
2444640391
Add testcase for PR63661.
...
2014-11-28 Renlin Li <renlin.li@arm.com>
PR target/63661
* gcc.target/i386/pr63661.c: New test.
From-SVN: r218143
2014-11-28 11:01:27 +00:00
Marek Polacek
541e35a6a3
re PR c/63862 (C frontend converts shift-count to int while standard wants integer promotions)
...
PR c/63862
c-family/
* c-ubsan.c (ubsan_instrument_shift): Change the type of a MINUS_EXPR
to op1_utype.
* c-gimplify.c (c_gimplify_expr): Convert right operand of a shift
expression to unsigned_type_node.
c/
* c-typeck.c (build_binary_op) <RSHIFT_EXPR, LSHIFT_EXPR>: Don't
convert the right operand to integer type.
cp/
* typeck.c (cp_build_binary_op) <RSHIFT_EXPR, LSHIFT_EXPR>: Don't
convert the right operand to integer type.
testsuite/
* gcc.c-torture/execute/shiftopt-1.c: Don't XFAIL anymore.
* c-c++-common/ubsan/shift-7.c: New test.
From-SVN: r218142
2014-11-28 09:06:48 +00:00
Richard Biener
7e015fcefe
re PR tree-optimization/64084 (match-and-simplify prefers complex matches)
...
2014-11-28 Richard Biener <rguenther@suse.de>
PR middle-end/64084
* genmatch.c (dt_node::gen_kids_1): New function, split out
from dt_node::gen_kids.
(decision_tree::cmp_node): DT_TRUE are generally not equal.
(decision_tree::find_node): Treat DT_TRUE as barrier for
node CSE on the same level.
(dt_node::append_node): Do not keep DT_TRUE last.
(dt_node::gen_kids): Emit code after each DT_TRUE node seen.
* gcc.dg/tree-ssa/ssa-ccp-34.c: New testcase.
* gcc.dg/tree-ssa/forwprop-31.c: Likewise.
From-SVN: r218141
2014-11-28 08:57:43 +00:00
Ramana Radhakrishnan
abd5932ea9
Fix t-aprofile for march=armv8-a+crc
...
2014-11-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config/arm/t-aprofile (MULTILIB_MATCHES): New entry for
-march=armv8-a+crc.
From-SVN: r218139
2014-11-28 08:21:10 +00:00
GCC Administrator
b1ba8e6aec
Daily bump.
...
From-SVN: r218137
2014-11-28 00:16:26 +00:00
Uros Bizjak
a1a3ab657d
i386.md (preferred_for_size): New attribute
...
* config/i386/i386.md (preferred_for_size): New attribute
(*pushxf): Split Yx*r constraints to r,*r. Use preferred_for_size
attribute to conditionally disable alternative 1.
(*pushdf): Split Yd*r constraints to r,*r. Use preferred_for_size
and prefered_for_speed attributes to conditionally disable
alternative 1.
(*movxf_internal): Split Yx*r constraints to r,*r. Use
preferred_for_size attribute to conditionally disable
alternatives 3 and 4.
(*movdf_internal): Split Yd*r constraints to r,*r. Use
preferred_for_size and prefered_for_speed attributes to conditionally
disable alternatives 3 and 4.
* config/i386/constraints.md (Yd, Yx): Remove register constraints.
From-SVN: r218134
2014-11-27 22:46:32 +01:00
Eric Botcazou
1a33633742
* dwarf2out.c (set_block_origin_self): Skip nested functions.
...
From-SVN: r218133
2014-11-27 21:15:16 +00:00
H.J. Lu
e8b5eb2553
Use R15_REG for REAL_PIC_OFFSET_TABLE_REGNUM
...
PR target/63833
* config/i386/i386.h (REAL_PIC_OFFSET_TABLE_REGNUM): Use
R15_REG for 64-bit.
* config/i386/rdos64.h (REAL_PIC_OFFSET_TABLE_REGNUM): Removed.
From-SVN: r218132
2014-11-27 13:03:32 -08:00
Bernd Schmidt
b9fb25a580
Add self as nvptx port maintainer.
...
* MAINTAINERS (nvptx port): New entry.
From-SVN: r218131
2014-11-27 20:58:53 +00:00
Kai Tietz
3c8c4e7d06
Disable pedantic warning for this testcase.
...
Committed as obvious patch
From-SVN: r218130
2014-11-27 21:49:44 +01:00
Martin Liska
c190efccf0
IPA ICF: fix memory leak.
...
* ipa-icf.c (sem_function::equals_private): int* is replaced with
auto_vec.
(sem_function::bb_dict_test): Likewise.
* ipa-icf.h: Likewise.
Co-Authored-By: David Malcolm <dmalcolm@redhat.com>
From-SVN: r218129
2014-11-27 15:36:10 +00:00
Richard Biener
a92bf1b1c7
re PR middle-end/64088 (ICE: in fold_abs_const, at fold-const.c:15550)
...
2014-11-27 Richard Biener <rguenther@suse.de>
PR middle-end/64088
* fold-const.c (const_unop): Re-instantiate missing condition
before calling fold_abs_const.
* gcc.dg/torture/pr64088.c: New testcase.
PR tree-optimization/64088
* tree-ssa-tail-merge.c (update_debug_stmt): After resetting
the stmt break from the loop over use operands.
* gcc.dg/torture/pr64091.c: New testcase.
From-SVN: r218128
2014-11-27 14:22:29 +00:00
Ilya Tocar
c17eac8561
Support avx512f in __builtin_cpu_supports.
...
gcc/
* config/i386/cpuid.h (bit_MPX, bit_BNDREGS, bit_BNDCSR):
Define.
* config/i386/i386.c (get_builtin_code_for_version): Add avx512f.
(fold_builtin_cpu): Ditto.
* doc/extend.texi: Documment it.
gcc/testsuite/
* g++.dg/ext/mv2.C: Add test for target ("avx512f").
* gcc.target/i386/builtin_target.c: Ditto.
libgcc/
* config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
* config/i386/cpuinfo.c (get_available_features): Detect it.
From-SVN: r218125
2014-11-27 16:51:10 +03:00