public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/53953] New: [4.7/4.8 Regression]: g++.dg/cpp0x/lambda/lambda-ice2.C (warnings and errors not matching)
@ 2012-07-13 13:43 hp at gcc dot gnu.org
  2012-07-13 15:09 ` [Bug regression/53953] " jason at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hp at gcc dot gnu.org @ 2012-07-13 13:43 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53953

             Bug #: 53953
           Summary: [4.7/4.8 Regression]:
                    g++.dg/cpp0x/lambda/lambda-ice2.C (warnings and errors
                    not matching)
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hp@gcc.gnu.org
                CC: jason@gcc.gnu.org, paolo@gcc.gnu.org
              Host: x86_64-unknown-linux-gnu
            Target: cris-axis-elf


This test previously passed, now it fails, at least for cris-elf, but most
likely on multiple targets...but from gcc-testresults, I see that's not so.
Thankfully, for some test-runs, it can be seen for i686-pc-linux-gnu, so it
might be in some part be specific to some ILP32 targets.

(Odd detail: I see it in
http://gcc.gnu.org/ml/gcc-testresults/2012-07/msg00915.html but not in
http://gcc.gnu.org/ml/gcc-testresults/2012-07/msg00920.html and I can't spot a
system-specific difference between those runs - they seem to be identical
overlapping autotesters.)

A patch in the revision range (last_known_working:first_known_failing)
189391:189401
exposed or caused this regression.  Since then it fails as follows:

Running /tmp/hpautotest-gcc1/gcc/gcc/testsuite/g++.dg/dg.exp ...
...
FAIL: g++.dg/cpp0x/lambda/lambda-ice2.C  (test for warnings, line 12)
FAIL: g++.dg/cpp0x/lambda/lambda-ice2.C candidate explanation (test for errors,
line 5)
FAIL: g++.dg/cpp0x/lambda/lambda-ice2.C (test for excess errors)


In g++.log:

Executing on host: /tmp/gccobj/gcc/testsuite/g++/../../g++
-B/tmp/gccobj/gcc/testsuite/g++/../../
/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C 
-fno-diagnostics-show-caret  -nostdinc++
-I/tmp/gccobj/cris-elf/libstdc++-v3/include/cris-elf
-I/tmp/gccobj/cris-elf/libstdc++-v3/include
-I/tmp/gccsrc/libstdc++-v3/libsupc++
-I/tmp/gccsrc/libstdc++-v3/include/backward
-I/tmp/gccsrc/libstdc++-v3/testsuite/util -fmessage-length=0  -std=c++0x  -S  
-isystem /tmp/gccobj/cris-elf/./newlib/targ-include -isystem
/tmp/gccsrc/newlib/libc/include  -o lambda-ice2.s    (timeout = 300)
/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C: In function 'int
main()':

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:14:8: error: no
matching function for call to 'run(main()::<lambda()>&)'

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:14:8: note:
candidate is:

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:5:15: note:
template<class F> decltype (F()) run(F)

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:5:15: note:  
template argument deduction/substitution failed:

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C: In substitution of
'template<class F> decltype (F()) run(F) [with F = main()::<lambda()>]':

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:14:8:   required
from here

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:5:15: error: no
matching function for call to 'main()::<lambda()>::__lambda0()'

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:5:15: note:
candidates are:

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:12:13: note:
constexpr main()::<lambda()>::<lambda>(const main()::<lambda()>&)

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:12:13: note:  
candidate expects 1 argument, 0 provided

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:12:13: note:
constexpr main()::<lambda()>::<lambda>(main()::<lambda()>&&)

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:12:13: note:  
candidate expects 1 argument, 0 provided

compiler exited with status 1
output is:
/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C: In function 'int
main()':

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:14:8: error: no
matching function for call to 'run(main()::<lambda()>&)'

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:14:8: note:
candidate is:

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:5:15: note:
template<class F> decltype (F()) run(F)

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:5:15: note:  
template argument deduction/substitution failed:

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C: In substitution of
'template<class F> decltype (F()) run(F) [with F = main()::<lambda()>]':

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:14:8:   required
from here

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:5:15: error: no
matching function for call to 'main()::<lambda()>::__lambda0()'

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:5:15: note:
candidates are:

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:12:13: note:
constexpr main()::<lambda()>::<lambda>(const main()::<lambda()>&)

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:12:13: note:  
candidate expects 1 argument, 0 provided

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:12:13: note:
constexpr main()::<lambda()>::<lambda>(main()::<lambda()>&&)

/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:12:13: note:  
candidate expects 1 argument, 0 provided


PASS: g++.dg/cpp0x/lambda/lambda-ice2.C  (test for warnings, line 5)
FAIL: g++.dg/cpp0x/lambda/lambda-ice2.C  (test for warnings, line 12)
PASS: g++.dg/cpp0x/lambda/lambda-ice2.C  (test for errors, line 14)
PASS: g++.dg/cpp0x/lambda/lambda-ice2.C candidate note (test for warnings, line
14)
FAIL: g++.dg/cpp0x/lambda/lambda-ice2.C candidate explanation (test for errors,
line 5)
FAIL: g++.dg/cpp0x/lambda/lambda-ice2.C (test for excess errors)
Excess errors:
/tmp/gccsrc/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C:5:15: error: no
matching function for call to 'main()::<lambda()>::__lambda0()'

(objpath and srcpath edited for brevity)

A patch carrying over this regression has been committed to the 4.7 branch with
a commit in the range 189412:189457. That branch now fails similarly.

Author and committer for matching revision ranges CC:ed.


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

* [Bug regression/53953] [4.7/4.8 Regression]: g++.dg/cpp0x/lambda/lambda-ice2.C (warnings and errors not matching)
  2012-07-13 13:43 [Bug regression/53953] New: [4.7/4.8 Regression]: g++.dg/cpp0x/lambda/lambda-ice2.C (warnings and errors not matching) hp at gcc dot gnu.org
@ 2012-07-13 15:09 ` jason at gcc dot gnu.org
  2012-07-13 15:10 ` jason at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2012-07-13 15:09 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53953

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-13 15:09:10 UTC ---
Author: jason
Date: Fri Jul 13 15:08:55 2012
New Revision: 189465

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189465
Log:
    PR c++/53953
    * method.c (synthesized_method_walk): Initialize no_implicit_p sooner.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/method.c


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

* [Bug regression/53953] [4.7/4.8 Regression]: g++.dg/cpp0x/lambda/lambda-ice2.C (warnings and errors not matching)
  2012-07-13 13:43 [Bug regression/53953] New: [4.7/4.8 Regression]: g++.dg/cpp0x/lambda/lambda-ice2.C (warnings and errors not matching) hp at gcc dot gnu.org
  2012-07-13 15:09 ` [Bug regression/53953] " jason at gcc dot gnu.org
  2012-07-13 15:10 ` jason at gcc dot gnu.org
@ 2012-07-13 15:10 ` jason at gcc dot gnu.org
  2012-07-13 15:11 ` jason at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2012-07-13 15:10 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53953

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-13 15:10:03 UTC ---
Author: jason
Date: Fri Jul 13 15:09:47 2012
New Revision: 189466

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189466
Log:
    PR c++/53953
    * method.c (synthesized_method_walk): Initialize no_implicit_p sooner.

Modified:
    branches/gcc-4_7-branch/gcc/cp/ChangeLog
    branches/gcc-4_7-branch/gcc/cp/method.c


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

* [Bug regression/53953] [4.7/4.8 Regression]: g++.dg/cpp0x/lambda/lambda-ice2.C (warnings and errors not matching)
  2012-07-13 13:43 [Bug regression/53953] New: [4.7/4.8 Regression]: g++.dg/cpp0x/lambda/lambda-ice2.C (warnings and errors not matching) hp at gcc dot gnu.org
  2012-07-13 15:09 ` [Bug regression/53953] " jason at gcc dot gnu.org
@ 2012-07-13 15:10 ` jason at gcc dot gnu.org
  2012-07-13 15:10 ` jason at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2012-07-13 15:10 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53953

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-13 15:09:10 UTC ---
Author: jason
Date: Fri Jul 13 15:08:55 2012
New Revision: 189465

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189465
Log:
    PR c++/53953
    * method.c (synthesized_method_walk): Initialize no_implicit_p sooner.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/method.c

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-13 15:10:03 UTC ---
Author: jason
Date: Fri Jul 13 15:09:47 2012
New Revision: 189466

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189466
Log:
    PR c++/53953
    * method.c (synthesized_method_walk): Initialize no_implicit_p sooner.

Modified:
    branches/gcc-4_7-branch/gcc/cp/ChangeLog
    branches/gcc-4_7-branch/gcc/cp/method.c


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

* [Bug regression/53953] [4.7/4.8 Regression]: g++.dg/cpp0x/lambda/lambda-ice2.C (warnings and errors not matching)
  2012-07-13 13:43 [Bug regression/53953] New: [4.7/4.8 Regression]: g++.dg/cpp0x/lambda/lambda-ice2.C (warnings and errors not matching) hp at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2012-07-13 15:10 ` jason at gcc dot gnu.org
@ 2012-07-13 15:11 ` jason at gcc dot gnu.org
  2012-07-13 19:18 ` hp at gcc dot gnu.org
  2012-07-16  9:50 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2012-07-13 15:11 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53953

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-07-13
     Ever Confirmed|0                           |1

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-13 15:11:07 UTC ---
Should be fixed now.


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

* [Bug regression/53953] [4.7/4.8 Regression]: g++.dg/cpp0x/lambda/lambda-ice2.C (warnings and errors not matching)
  2012-07-13 13:43 [Bug regression/53953] New: [4.7/4.8 Regression]: g++.dg/cpp0x/lambda/lambda-ice2.C (warnings and errors not matching) hp at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2012-07-13 15:11 ` jason at gcc dot gnu.org
@ 2012-07-13 19:18 ` hp at gcc dot gnu.org
  2012-07-16  9:50 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: hp at gcc dot gnu.org @ 2012-07-13 19:18 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53953

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2012-07-13 19:18:13 UTC ---
(In reply to comment #3)
> Should be fixed now.

It certainly is, thanks for quickly resolving this.


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

* [Bug regression/53953] [4.7/4.8 Regression]: g++.dg/cpp0x/lambda/lambda-ice2.C (warnings and errors not matching)
  2012-07-13 13:43 [Bug regression/53953] New: [4.7/4.8 Regression]: g++.dg/cpp0x/lambda/lambda-ice2.C (warnings and errors not matching) hp at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2012-07-13 19:18 ` hp at gcc dot gnu.org
@ 2012-07-16  9:50 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-07-16  9:50 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53953

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.2


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

end of thread, other threads:[~2012-07-16  9:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-13 13:43 [Bug regression/53953] New: [4.7/4.8 Regression]: g++.dg/cpp0x/lambda/lambda-ice2.C (warnings and errors not matching) hp at gcc dot gnu.org
2012-07-13 15:09 ` [Bug regression/53953] " jason at gcc dot gnu.org
2012-07-13 15:10 ` jason at gcc dot gnu.org
2012-07-13 15:10 ` jason at gcc dot gnu.org
2012-07-13 15:11 ` jason at gcc dot gnu.org
2012-07-13 19:18 ` hp at gcc dot gnu.org
2012-07-16  9:50 ` rguenth 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).