public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/45096] [4.6 Regression] g++.dg/cpp0x/auto3.C
  2010-07-27 20:33 [Bug c++/45096] New: [4.6 Regression] g++.dg/cpp0x/auto3.C hjl dot tools at gmail dot com
@ 2010-07-27 20:33 ` hjl dot tools at gmail dot com
  2010-07-28  2:30 ` hjl dot tools at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-07-27 20:33 UTC (permalink / raw)
  To: gcc-bugs



-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.0


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


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

* [Bug c++/45096]  New: [4.6 Regression] g++.dg/cpp0x/auto3.C
@ 2010-07-27 20:33 hjl dot tools at gmail dot com
  2010-07-27 20:33 ` [Bug c++/45096] " hjl dot tools at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-07-27 20:33 UTC (permalink / raw)
  To: gcc-bugs

On Linux/x86, revision 162583 gave

FAIL: g++.dg/cpp0x/auto3.C  (test for errors, line 13)
FAIL: g++.dg/cpp0x/auto3.C (test for excess errors)

/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/g++.dg/cpp0x/auto3.C:6:6:
error: declaration of 'auto x' has no initializer^M
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/g++.dg/cpp0x/auto3.C:10:18:
error: inconsistent deduction for 'auto': 'int' and then 'double'^M
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/g++.dg/cpp0x/auto3.C:13:20:
error: unable to deduce 'std::initializer_list<_Tp> [2]' from '{1, 2}'^M
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/g++.dg/cpp0x/auto3.C:20:3:
error: invalid use of 'auto'^M
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/g++.dg/cpp0x/auto3.C:20:7:
error: template argument 1 is invalid^M
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/g++.dg/cpp0x/auto3.C:20:12:
error: invalid type in declaration before '=' token^M
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/g++.dg/cpp0x/auto3.C:20:14:
error: cannot convert 'A<int>' to 'int' in initialization^M
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/g++.dg/cpp0x/auto3.C:22:10:
error: 'foo' function uses 'auto' type specifier without late return type^M
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/g++.dg/cpp0x/auto3.C:24:15:
error: parameter declared 'auto'^M

PASS: g++.dg/cpp0x/auto3.C  (test for errors, line 6)
PASS: g++.dg/cpp0x/auto3.C  (test for errors, line 10)
FAIL: g++.dg/cpp0x/auto3.C  (test for errors, line 13)
PASS: g++.dg/cpp0x/auto3.C  (test for errors, line 20)
PASS: g++.dg/cpp0x/auto3.C  (test for errors, line 22)
PASS: g++.dg/cpp0x/auto3.C  (test for errors, line 24)
FAIL: g++.dg/cpp0x/auto3.C (test for excess errors)
Excess errors:
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/g++.dg/cpp0x/auto3.C:13:20:
error: unable to deduce 'std::initializer_list<_Tp> [2]' from '{1, 2}'

Revision 162576 is OK.


-- 
           Summary: [4.6 Regression] g++.dg/cpp0x/auto3.C
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


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


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

* [Bug c++/45096] [4.6 Regression] g++.dg/cpp0x/auto3.C
  2010-07-27 20:33 [Bug c++/45096] New: [4.6 Regression] g++.dg/cpp0x/auto3.C hjl dot tools at gmail dot com
  2010-07-27 20:33 ` [Bug c++/45096] " hjl dot tools at gmail dot com
@ 2010-07-28  2:30 ` hjl dot tools at gmail dot com
  2010-07-28 20:03 ` paolo at gcc dot gnu dot org
  2010-07-28 20:04 ` paolo dot carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-07-28  2:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl dot tools at gmail dot com  2010-07-28 02:29 -------
It is caused by revision 162578:

http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00932.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paolo dot carlini at oracle
                   |                            |dot com


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


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

* [Bug c++/45096] [4.6 Regression] g++.dg/cpp0x/auto3.C
  2010-07-27 20:33 [Bug c++/45096] New: [4.6 Regression] g++.dg/cpp0x/auto3.C hjl dot tools at gmail dot com
  2010-07-27 20:33 ` [Bug c++/45096] " hjl dot tools at gmail dot com
  2010-07-28  2:30 ` hjl dot tools at gmail dot com
@ 2010-07-28 20:03 ` paolo at gcc dot gnu dot org
  2010-07-28 20:04 ` paolo dot carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo at gcc dot gnu dot org @ 2010-07-28 20:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from paolo at gcc dot gnu dot org  2010-07-28 20:03 -------
Subject: Bug 45096

Author: paolo
Date: Wed Jul 28 20:02:56 2010
New Revision: 162657

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162657
Log:
2010-07-28  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/45096
        * g++.dg/cpp0x/auto3.C: Tweak dg-error string.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp0x/auto3.C


-- 


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


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

* [Bug c++/45096] [4.6 Regression] g++.dg/cpp0x/auto3.C
  2010-07-27 20:33 [Bug c++/45096] New: [4.6 Regression] g++.dg/cpp0x/auto3.C hjl dot tools at gmail dot com
                   ` (2 preceding siblings ...)
  2010-07-28 20:03 ` paolo at gcc dot gnu dot org
@ 2010-07-28 20:04 ` paolo dot carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-07-28 20:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from paolo dot carlini at oracle dot com  2010-07-28 20:04 -------
Fixed.


-- 

paolo dot carlini at oracle dot com changed:

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


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


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

end of thread, other threads:[~2010-07-28 20:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-27 20:33 [Bug c++/45096] New: [4.6 Regression] g++.dg/cpp0x/auto3.C hjl dot tools at gmail dot com
2010-07-27 20:33 ` [Bug c++/45096] " hjl dot tools at gmail dot com
2010-07-28  2:30 ` hjl dot tools at gmail dot com
2010-07-28 20:03 ` paolo at gcc dot gnu dot org
2010-07-28 20:04 ` paolo dot carlini at oracle dot com

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).