[COMMITTED] Add testcase for PR 110444

2023-06-28 Thread Andrew Pinski via Gcc-patches
This testcase was fixed after r14-2135-gd915762ea9043da85 and there was no testcase for it before so adding one is a good thing. Committed as obvious after testing the testcase to make sure it works. gcc/testsuite/ChangeLog: PR tree-optimization/110444 * gcc.c-torture/compile/pr1

[Fortran, committed] Add testcase for PR95196

2021-10-22 Thread Sandra Loosemore
I've committed another testcase from a bugzilla issue that now appears to be fixed. -Sandra commit 9a0e34eb45e36d4f90cedb61191fd31da0bab256 Author: Sandra Loosemore Date: Fri Oct 22 17:22:00 2021 -0700 Add testcase for PR fortran/95196 2021-10-22 José Rui Faustino de Sousa

[Fortran, committed] Add testcase for PR 94289

2021-10-22 Thread Sandra Loosemore
I've committed this slightly cleaned-up version of the testcase originally submitted with the now-fixed issue PR 94289. -Sandra commit c31d2d14f798dc7ca9cc078200d37113749ec3bd Author: Sandra Loosemore Date: Fri Oct 22 11:08:19 2021 -0700 Add testcase for PR fortran/94289 2021-10

[committed] Add testcase for already fixed PR ipa/92528

2019-11-18 Thread Martin Jambor
Hi, I have committed the patch below to add the testcase for the already fixed PR ipa/92528 to the testsuite. Thanks, Martin 2019-11-18 Martin Jambor PR ipa/92528 * g++.dg/ipa/pr92528.C: New test. Index: gcc/testsuite/g++.dg/ipa/pr92528.C =

[committed] Add testcase for C++ score parsing

2019-10-30 Thread Jakub Jelinek
Hi! While in C a constant expression can't start with score(constant-integral-expression), in C++11 it can and so we need to do tentative parsing or skipping to the closing ) to check if there is : to find out if it is trait-score or just part of a constant expression. The following patch adds a

[committed] Add testcase for already fixed omp simd ICE (PR fortran/87752)

2019-10-16 Thread Jakub Jelinek
Hi! This has been fixed already with r273096, but it is useful to have also a Fortran testcase. Committed to trunk as obvious. 2019-10-17 Jakub Jelinek PR fortran/87752 * gfortran.dg/gomp/pr87752.f90: New test. --- gcc/testsuite/gfortran.dg/gomp/pr87752.f90.jj 2019-10-

[committed] Add testcase for std::is_constant_evaluated() vs. explicit(bool)

2019-05-23 Thread Jakub Jelinek
Hi! I've noticed we don't have any testcases covering manifestly constant evaluation inside of explicit bool, tested thusly, bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk as obvious. 2019-05-23 Jakub Jelinek * g++.dg/cpp2a/is-constant-evaluated8.C: New test

[committed] Add testcase for already fixed PR c++/86953

2019-04-16 Thread Jakub Jelinek
Hi! The following PR has been fixed by the changes to evaluate constexpr functions on pre-folding/genericization trees. I've tested the following testcase on x86_64-linux and committed to trunk as obvious, so that we don't regress it. 2019-04-16 Jakub Jelinek PR c++/86953 * g

[committed] Add testcase for already fixed PR c++/89648

2019-03-10 Thread Jakub Jelinek
Hi! The following testcase reduced from webkitgtk started to be rejected with r268850 and is accepted again since r269265. The testcase isn't very similar to the committed one, so I've tested following on x86_64-linux both with trunk and with r269264 and committed to trunk as obvious. 2019-03-1

[committed] Add testcase for already fixed PR c++/82075

2019-03-08 Thread Jakub Jelinek
Hi! This got fixed with r257057 aka PR84031 fix, but the committed testcase doesn't resemble anything close to this one. Tested on x86_64-linux, committed to trunk as obvious. 2019-03-08 Jakub Jelinek PR c++/82075 * g++.dg/cpp1z/decomp49.C: New test. --- gcc/testsuite/g++.dg

[committed] Add testcase for already fixed (or latent) PR rtl-optimization/88296

2019-01-11 Thread Jakub Jelinek
Hi! As mentioned in the PR, this is a LRA hang introduced with the r266422 IRA costs change and which went away with r266862 IRA costs change. Tested on x86_64-linux and i686-linux plus tested with older cc1 from end of November where it timeouts, committed to trunk as obvious. 2019-01-11 Jakub

[committed] Add testcase for already fixed PR c++/87125

2018-12-21 Thread Jakub Jelinek
On Fri, Dec 14, 2018 at 06:15:54PM -0200, Alexandre Oliva wrote: > On Dec 6, 2018, Alexandre Oliva wrote: > > > Regstrapped on x86_64- and i686-linux-gnu, mistakenly along with a patch > > with a known regression, and got only that known regression. Retesting > > without it. Ok to install? >

[committed] Add testcase for already fixed PR c++/87897

2018-12-05 Thread Jakub Jelinek
On Wed, Dec 05, 2018 at 04:34:14AM -0200, Alexandre Oliva wrote: > for gcc/cp/ChangeLog > > PR c++/85569 > * constexpr.c (adjust_temp_type): Test for type equality with > same_type_p. > (constexpr_call_hasher::equal): Likewise. > > for gcc/testsuite > > PR c++/855

[committed] Add testcase for already fixed PR tree-optimization/87320

2018-12-04 Thread Jakub Jelinek
Hi! I've committed the following testcase for already fixed PR, which has been fixed by the PR87288 fix, after testing on x86_64-linux and i686-linux. 2018-12-04 Jakub Jelinek PR tree-optimization/87320 * gcc.dg/pr87320.c: New test. --- gcc/testsuite/gcc.dg/pr87320.c.jj 201

[committed] Add testcase from PR tree-optimization/71109

2018-12-03 Thread Jakub Jelinek
Hi! This testcase broke on x86_64-linux with -O3 with r227775 and got fixed or went latent with r236372. I've just committed the testcase to the testsuite as obvious, let's close the PR now. 2018-12-03 Jakub Jelinek PR tree-optimization/71109 * gcc.c-torture/compile/pr71109.c

[committed] Add testcase for already fixed PR debug/85550

2018-11-30 Thread Jakub Jelinek
Hi! The following testcase has been fixed by Nathan with r266158 aka PR debug/88006 and PR debug/87462. In order to close the PR, I've tested following testcase on x86_64-linux and i686-linux and committed to trunk. 2018-11-30 Jakub Jelinek PR debug/85550 * g++.dg/debug/dwarf

[committed] Add testcase for already fixed PR tree-optimization/85794

2018-11-22 Thread Jakub Jelinek
Hi! This testcase has been fixed by the PR85793 fix r260317. I've committed following test as obvious so that we can close the PR. 2018-11-22 Jakub Jelinek PR tree-optimization/85794 * gcc.dg/vect/O3-pr85794.c: New test. --- gcc/testsuite/gcc.dg/vect/O3-pr85794.c.jj 2018-11

[committed] Add testcase for already fixed -Wunused-but-set-variable PR c++/85108

2018-03-29 Thread Jakub Jelinek
Hi! This got fixed with r253266, but I don't see it covered with a testcase. Tested on x86_64-linux and i686-linux, committed to trunk as obvious. 2018-03-29 Jakub Jelinek PR c++/85108 * g++.dg/warn/Wunused-var-31.C: New test. --- gcc/testsuite/g++.dg/warn/Wunused-var-31.C.jj

[committed] Add testcase for already fixed PR c++/84813

2018-03-12 Thread Jakub Jelinek
Hi! This PR got fixed in r251433 which I'm afraid is not backportable, we were trying to register local specialization during dwarf2out_type_decl. I've committed the testcase as obvious to trunk, so that we don't regress on it again: 2018-03-12 Jakub Jelinek PR c++/84813 * g+

[committed] Add testcase for already fixed PR c++/84556

2018-02-26 Thread Jakub Jelinek
Hi! This ICE got fixed already in r257820, but more testsuite coverage doesn't hurt. 2018-02-26 Jakub Jelinek PR c++/84556 * g++.dg/gomp/pr84556.C: New test. * g++.dg/vect/pr84556.cc: New test. --- gcc/testsuite/g++.dg/gomp/pr84556.C.jj 2018-02-26 11:13:36.848451

[committed] Add testcase for already fixed PR (PR c++/84496)

2018-02-22 Thread Jakub Jelinek
Hi! ICE on this testcase has been introduced in r236615 and got fixed on the trunk with r253600. I've committed the testcase to trunk, so that we don't regress in it as obvious. 2018-02-22 Jakub Jelinek PR c++/84496 * g++.dg/cpp1y/pr84496.C: New test. --- gcc/testsuite/g++.d

[committed] Add testcase for PR c++/84488

2018-02-20 Thread Jakub Jelinek
Hi! This testcase got fixed in r257155 aka PR83942, but unlike the PR83942 testcase which regressed during 8.x stage1 this one used to fail before too, so I think it is worth adding another testcase for it. Tested on x86_64-linux, committed to trunk as obvious. 2018-02-20 Jakub Jelinek

[committed] Add testcase for PR rtl-optimization/83771

2018-01-17 Thread Jakub Jelinek
Hi! This testcase got fixed with Honza's PR middle-end/83575 fix r256479, so I've just added a testcase after testing it on x86_64/i686-linux and committed as obvious, so we can close the PR. 2018-01-17 Jakub Jelinek PR rtl-optimization/83771 * gcc.dg/pr83771.c: New test. ---

[committed] Add testcase for already fixed issue (PR rtl-optimization/81595)

2017-12-08 Thread Jakub Jelinek
Hi! This bug has been already fixed by Eric in r254188. Regtested on x86_64-linux -m64/-m32, verified it FAILs with the patch reverted on both, committed to trunk as obvious. 2017-12-08 Jakub Jelinek PR rtl-optimization/81595 * gcc.c-torture/compile/pr81595.c: New test. --- g

[committed] Add testcase for already fixed PR (PR tree-optimization/83283)

2017-12-05 Thread Jakub Jelinek
Hi! This testcase has been fixed by r253146 but that testcase is quite different from this one, so I've committed this to trunk as obvious. 2017-12-05 Jakub Jelinek PR tree-optimization/83283 * g++.dg/torture/pr83283.C: New test. --- gcc/testsuite/g++.dg/torture/pr83283.C.jj

Re: [committed] Add testcase for PR rtl-optimization/81020

2017-11-28 Thread Christophe Lyon
Hi, On 28 November 2017 at 11:24, Jakub Jelinek wrote: > Hi! > > This testcase was fixed by Segher's r254875: > https://gcc.gnu.org/ml/gcc-patches/2017-11/msg00340.html > on the trunk, so I've committed it to trunk as obvious. > On release branches it still needs fixing. > > 2017-11-28 Jakub Jel

[committed] Add testcase for PR rtl-optimization/81020

2017-11-28 Thread Jakub Jelinek
Hi! This testcase was fixed by Segher's r254875: https://gcc.gnu.org/ml/gcc-patches/2017-11/msg00340.html on the trunk, so I've committed it to trunk as obvious. On release branches it still needs fixing. 2017-11-28 Jakub Jelinek PR rtl-optimization/81020 * gcc.dg/pr81020.c: N

[committed] Add testcase for PR tree-optimization/71854

2017-01-17 Thread Jakub Jelinek
Hi! This PR has been fixed in r244218 aka the PR78997 fix. I've tested the testcase on x86_64-linux with -m32/-m64 (without/with the PR78997 fix) and committed to trunk as obvious. 2017-01-17 Jakub Jelinek PR tree-optimization/71854 * gcc.dg/vect/pr71854.c: New test. --- gcc/

[committed] Add testcase for PR c++/71225

2016-11-11 Thread Jakub Jelinek
Hi! This testcase got accepted in 6.x, started to ICE with r236221, r236486 stopped ICEing on it and started rejecting it, r237654 accepts it again. clang++ also accepts it. Tested on x86_64-linux, committed to trunk so that the PR can be closed. 2016-11-12 Jakub Jelinek PR c++/7122

[committed] Add testcase from PR c++/72774

2016-11-11 Thread Jakub Jelinek
Hi! This PR has been fixed by r240148. I've checked in the testcase as obvious, so we can close it. 2016-11-11 Jakub Jelinek PR c++/72774 * g++.dg/parse/pr72774.C: New test. --- gcc/testsuite/g++.dg/parse/pr72774.C.jj 2016-11-11 14:37:39.073659504 +0100 +++ gcc/testsuit

[committed] Add testcase (PR fortran/72744)

2016-08-19 Thread Jakub Jelinek
Hi! This got also fixed by PR69281 fix I've just committed, I've added the testcase too. 2016-08-19 Jakub Jelinek PR fortran/72744 * gfortran.dg/gomp/pr72744.f90: New test. --- gcc/testsuite/gfortran.dg/gomp/pr72744.f90.jj 2016-08-19 14:49:18.590105777 +0200 +++ gcc/te

[Committed] Add testcase that ICEs after loop splitting patch

2016-08-03 Thread Andrew Pinski
Hi, I committed a testcase that ICEs after applying "Gimple loop splitting v2" patch to a GCC 6. The IV and the bounds were two different types which was causing the ICE to happen. Thanks, Andrew Pinski ChangeLog: * gcc.c-torture/compile/20160802-1.c: New testcase. Index: testsuite/gcc.c-tort

[committed] Add testcase for already fixed PR ipa/69239

2016-02-08 Thread Jakub Jelinek
Hi! Honza has fixed this PR in r232356, I've added the testcase as obvious, so that we can close the PR. 2016-02-08 Jakub Jelinek PR ipa/69239 * g++.dg/ipa/pr69239.C: New test. --- gcc/testsuite/g++.dg/ipa/pr69239.C.jj 2016-02-08 18:14:08.807338362 +0100 +++ gcc/testsu

[committed] Add testcase for PR66137

2016-01-29 Thread Jakub Jelinek
Hi! This PR has been fixed by the PR68701, I've committed the testcase as obvious to trunk. 2016-01-29 Jakub Jelinek PR target/66137 * gcc.target/i386/pr66137.c: New test. --- gcc/testsuite/gcc.target/i386/pr66137.c.jj 2016-01-29 15:05:19.804958974 +0100 +++ gcc/testsuite/g

[committed] Add testcase from PR63804

2014-12-15 Thread Jakub Jelinek
Hi! This PR got fixed some time ago, this patch adds a testcase for it. 2014-12-15 Jakub Jelinek PR rtl-optimization/63804 * gcc.dg/pr63804.c: New test. --- gcc/testsuite/gcc.dg/pr63804.c.jj 2014-12-15 17:35:31.978451234 +0100 +++ gcc/testsuite/gcc.dg/pr63804.c 2014-12

[committed] Add testcase for PR tree-optimization/61042

2014-11-18 Thread Jakub Jelinek
Hi! This PR got fixed by a fix for another PR, but I've committed the testcase to the testsuite for better coverage. 2014-11-18 Jakub Jelinek PR tree-optimization/61042 * gcc.c-torture/compile/pr61042.c: New test. --- gcc/testsuite/gcc.c-torture/compile/pr61042.c.jj2014-1

[committed] Add testcase from PR62294

2014-09-03 Thread Marek Polacek
This adds a testcase for PR62294 that I just fixed on the 4.9 branch. Tested on x86_64-linux, applying to trunk. 2014-09-03 Marek Polacek PR c/62294 * gcc.dg/pr62294.c: New test. * gcc.dg/pr62294.h: New file. diff --git gcc/testsuite/gcc.dg/pr62294.c gcc/testsuite/gcc

[Committed] Add testcase for ccmp ICEs

2014-08-16 Thread Andrew Pinski
Hi all, When I was testing the ccmp set of patches on aarch64, I found a testcase which would ICE. This patch adds the testcase. I don't know if this testcase ICEs due to other local set of patches though. Thanks, Andrew Pinski 2014-08-16 Andrew Pinski * gcc.c-torture/compile/20140816-1.c

[committed] Add testcase for PR59413

2013-12-20 Thread Jakub Jelinek
Hi! The bug in this PR has been introduced by my r204516 change and fixed by r205884 (PR59417) fix. I've committed the testcase as obvious so that we can close the PR. 2013-12-20 Jakub Jelinek PR tree-optimization/59413 * gcc.c-torture/execute/pr59413.c: New test. --- gcc/te

Committed: Add testcase / extra comment to recent arc_ccfsm_post_advance patch

2013-10-28 Thread Joern Rennecke
gcc/testsuite: 2013-10-28 Claudiu Zissulescu Joern Rennecke * gcc.target/arc/jump-around-jump.c: New test. gcc: 2013-10-28 Joern Rennecke * config/arc/arc.c (arc_ccfsm_post_advance): Add comment about TYPE_RETURN. tmp Description: Binary data

[committed] Add testcase from PR57321

2013-05-21 Thread Jakub Jelinek
Hi! This PR has been fixed recently by PR56988 fix, but adding the testcase IMHO doesn't hurt. Committed to trunk/4.8. 2013-05-21 Jakub Jelinek PR tree-optimization/57321 * gcc.c-torture/execute/pr57321.c: New test. --- gcc/testsuite/gcc.c-torture/execute/pr57321.c.jj201

[committed] Add testcase from PR57131

2013-05-01 Thread Jakub Jelinek
Hi! This got fixed by Vlad in PR57097, I've committed the testcase as obvious (so far to trunk, because the fix hasn't been backported to 4.8 branch yet, will commit there too afterwards). 2013-05-02 Jakub Jelinek PR rtl-optimization/57131 * gcc.c-torture/execute/pr57131.c: Ne

[committed] Add testcase from PR56992

2013-04-17 Thread Jakub Jelinek
Hi! This is a testcase that got fixed already by Andreas' http://gcc.gnu.org/r197839 resp. r197840 commits, but as it lacked a testcase, I'm adding one that reproduces it on 4.8 branch on x86_64-linux. Committed as obvious. 2013-04-18 Jakub Jelinek PR rtl-optimization/56992 *

Re: [Committed] Add testcase

2012-11-15 Thread Hans-Peter Nilsson
On Fri, 9 Nov 2012, Andrew Pinski wrote: > Committed the testcase as obvious after a quick test to make sure it > works. Note someone might need to mark the testcase as only > executable on targets which have 32bit ints. Someone like you? There are plenty of greppable effective-target attributes

[Committed] Add testcase

2012-11-09 Thread Andrew Pinski
Hi, While I was working on using zero_extract more on the left hand side in combine, I found a bug in my code but there was no testcase in the testsuite that tested it. The code originally comes from uboot which was failing when doing a ping or tftp. Committed the testcase as obvious after a qu

[committed] Add testcase for PR tree-optimization/53505

2012-05-28 Thread Jakub Jelinek
Hi! As we have no short testcase for PR53438, I've committed the following testcase as obvious to trunk and 4.7. 2012-05-28 Jakub Jelinek PR tree-optimization/53505 * c-c++-common/torture/pr53505.c: New test. --- gcc/testsuite/c-c++-common/torture/pr53505.c.jj 2012-05-28

[committed] Add testcase for PR tree-optimization/51575

2011-12-16 Thread Jakub Jelinek
Hi! This PR got also fixed by my PR51576 patch, as that one was a bootstrap issue with non-default language, this one adds a testcase for it into the testsuite. Regtested on x86_64-linux, committed to trunk. 2011-12-16 Jakub Jelinek PR tree-optimization/51575 * g++.dg/opt/pr5

[committed] Add testcase for PR rtl-optimization/50290

2011-11-24 Thread Jakub Jelinek
Hi! This PR has been fixed by http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180058 This patch just adds the testcase from the PR, so it can be closed. Tested on x86_64-linux and i686-linux, committed to trunk as obvious. 2011-11-24 Jakub Jelinek PR rtl-optimization/50290 *

[committed] Add testcase for PR tree-optimization/50765

2011-11-22 Thread Jakub Jelinek
Hi! This PR got fixed by my recent vectorizable_conversion changes, in particular the truncation of the vec_oprnds[01] vectors on multistep type promotion if copies > 1. Testcase tested on x86_64-linux and i686-linux, checked in as obvious. 2011-11-22 Jakub Jelinek PR tree-optimizati

[committed] Add testcase for PR rtl-optimization/48381

2011-05-05 Thread Jakub Jelinek
Hi! This PR has been fixed without testcase being added, fixed thusly, regtested on x86_64-linux and i686-linux, committed to trunk. 2011-05-05 Jakub Jelinek PR rtl-optimization/48381 * gcc.c-torture/compile/pr48381.c: New test. --- gcc/testsuite/gcc.c-torture/compile/pr48381