public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/97590] New: new test case g++.dg/pr97560.C compilation errors
@ 2020-10-27 13:19 seurer at gcc dot gnu.org
  2020-10-27 13:43 ` [Bug testsuite/97590] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: seurer at gcc dot gnu.org @ 2020-10-27 13:19 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97590

            Bug ID: 97590
           Summary: new test case g++.dg/pr97560.C compilation errors
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:18cb6195fda69ea8ab8b8a5290dd8c9f8d52b0e6, r11-4404

make -k check-gcc RUNTESTFLAGS=dg.exp=g++.dg/pr97560.C

FAIL: g++.dg/pr97560.C  -std=gnu++98 (test for excess errors)

# of expected passes            3
# of unexpected failures        1

commit 18cb6195fda69ea8ab8b8a5290dd8c9f8d52b0e6
Author: Aldy Hernandez <aldyh@redhat.com>
Date:   Tue Oct 27 07:29:42 2020 +0100

    Add test for pr97560.

    gcc/testsuite/ChangeLog:

        PR tree-optimization/97560
        * g++.dg/pr97560.C: New test.

/home/seurer/gcc/git/gcc-test/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0 
-std=gnu++98 -O2 -fno-tree-forwprop -fnon-call-exceptions  -S -o pr97560.s   
(timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../xg++
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/pr97560.C
-fdiagnostics-plain-output -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0
-std=gnu++98 -O2 -fno-tree-forwprop -fnon-call-exceptions -S -o pr97560.s
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/pr97560.C:13:28: error:
expected ',' or '...' before '&&' token
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/pr97560.C: In function
'typename pv< <template-parameter-1-1> >::g7 hq(Q6)':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/pr97560.C:15:42: error:
expected '>' before '&&' token
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/pr97560.C:15:42: error:
expected '(' before '&&' token
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/pr97560.C:15:44: error:
expected identifier before '>' token
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/pr97560.C:15:47: error: 'lb'
was not declared in this scope
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/pr97560.C:15:50: error:
expected ')' before ';' token
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/pr97560.C: At global scope:
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/pr97560.C:26:10: error:
expected ',' or '...' before '&&' token
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/pr97560.C:26:3: error:
invalid constructor; you probably meant 'xz (const xz&)'
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/pr97560.C:44:15: error: no
matching function for call to 'hq(be&)'
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/pr97560.C:13:21: note:
candidate: 'template<class Q6> typename pv< <template-parameter-1-1> >::g7
hq(Q6)'
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/pr97560.C:13:21: note:  
template argument deduction/substitution failed:
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/pr97560.C: In substitution
of 'template<class Q6> typename pv< <template-parameter-1-1> >::g7 hq(Q6) [with
Q6 = be]':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/pr97560.C:44:15:   required
from here
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/pr97560.C:13:21: error:
invalid use of incomplete type 'struct pv<be>'
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/pr97560.C:5:8: note:
declaration of 'struct pv<be>'
compiler exited with status 1

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug testsuite/97590] new test case g++.dg/pr97560.C compilation errors
  2020-10-27 13:19 [Bug testsuite/97590] New: new test case g++.dg/pr97560.C compilation errors seurer at gcc dot gnu.org
@ 2020-10-27 13:43 ` rguenth at gcc dot gnu.org
  2020-10-27 13:46 ` cvs-commit at gcc dot gnu.org
  2021-08-31  5:02 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-27 13:43 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97590

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2020-10-27

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  Probably misses a dg-require-effective-target c++11

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug testsuite/97590] new test case g++.dg/pr97560.C compilation errors
  2020-10-27 13:19 [Bug testsuite/97590] New: new test case g++.dg/pr97560.C compilation errors seurer at gcc dot gnu.org
  2020-10-27 13:43 ` [Bug testsuite/97590] " rguenth at gcc dot gnu.org
@ 2020-10-27 13:46 ` cvs-commit at gcc dot gnu.org
  2021-08-31  5:02 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-10-27 13:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97590

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:

https://gcc.gnu.org/g:31ec7242e1ff1e8da376ec9ffef10b07ac562881

commit r11-4430-g31ec7242e1ff1e8da376ec9ffef10b07ac562881
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Tue Oct 27 14:45:15 2020 +0100

    testsuite: restrict test to c++11 and later [PR97590]

    2020-10-27  Jakub Jelinek  <jakub@redhat.com>

            PR tree-optimization/97560
            PR testsuite/97590
            * g++.dg/pr97560.C: Require c++11 effective target and add comment
            with PR number.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug testsuite/97590] new test case g++.dg/pr97560.C compilation errors
  2020-10-27 13:19 [Bug testsuite/97590] New: new test case g++.dg/pr97560.C compilation errors seurer at gcc dot gnu.org
  2020-10-27 13:43 ` [Bug testsuite/97590] " rguenth at gcc dot gnu.org
  2020-10-27 13:46 ` cvs-commit at gcc dot gnu.org
@ 2021-08-31  5:02 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-31  5:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97590

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |11.0

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-31  5:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-27 13:19 [Bug testsuite/97590] New: new test case g++.dg/pr97560.C compilation errors seurer at gcc dot gnu.org
2020-10-27 13:43 ` [Bug testsuite/97590] " rguenth at gcc dot gnu.org
2020-10-27 13:46 ` cvs-commit at gcc dot gnu.org
2021-08-31  5:02 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).