public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60402] const overload with variadics declared ambiguous according to standard (may be related to bug 58156)
       [not found] <bug-60402-4@http.gcc.gnu.org/bugzilla/>
@ 2014-03-03 19:47 ` nate.mcnamara at morganstanley dot com
  2014-03-03 20:31 ` daniel.kruegler at googlemail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: nate.mcnamara at morganstanley dot com @ 2014-03-03 19:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Nate McNamara <nate.mcnamara at morganstanley dot com> ---
Created attachment 32256
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32256&action=edit
preprocessed source


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

* [Bug c++/60402] const overload with variadics declared ambiguous according to standard (may be related to bug 58156)
       [not found] <bug-60402-4@http.gcc.gnu.org/bugzilla/>
  2014-03-03 19:47 ` [Bug c++/60402] const overload with variadics declared ambiguous according to standard (may be related to bug 58156) nate.mcnamara at morganstanley dot com
@ 2014-03-03 20:31 ` daniel.kruegler at googlemail dot com
  2014-06-11 17:55 ` [Bug c++/60402] [Core/1395] const overload with variadics declared ambiguous according to standard paolo.carlini at oracle dot com
  2021-12-04  7:35 ` [Bug c++/60402] [DR 1395] " pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: daniel.kruegler at googlemail dot com @ 2014-03-03 20:31 UTC (permalink / raw)
  To: gcc-bugs

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

Daniel Krügler <daniel.kruegler at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler@googlemail.
                   |                            |com

--- Comment #2 from Daniel Krügler <daniel.kruegler at googlemail dot com> ---
No, this is not related to bug 58156. According to the current core language of
C++11, the code is indeed ambiguous.

There exists currently a core language issue to fix that, see

http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1395
>From gcc-bugs-return-445333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 03 20:37:53 2014
Return-Path: <gcc-bugs-return-445333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17328 invoked by alias); 3 Mar 2014 20:37:53 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 17290 invoked by uid 48); 3 Mar 2014 20:37:50 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/60361] [4.7/4.8/4.9 Regression] unexpected 'use of parameter outside function body' error
Date: Mon, 03 Mar 2014 20:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-60361-4-Gt5cFIJJKq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60361-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60361-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-03/txt/msg00202.txt.bz2
Content-length: 448

http://gcc.gnu.org/bugzilla/show_bug.cgi?id`361

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |jason at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org


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

* [Bug c++/60402] [Core/1395] const overload with variadics declared ambiguous according to standard
       [not found] <bug-60402-4@http.gcc.gnu.org/bugzilla/>
  2014-03-03 19:47 ` [Bug c++/60402] const overload with variadics declared ambiguous according to standard (may be related to bug 58156) nate.mcnamara at morganstanley dot com
  2014-03-03 20:31 ` daniel.kruegler at googlemail dot com
@ 2014-06-11 17:55 ` paolo.carlini at oracle dot com
  2021-12-04  7:35 ` [Bug c++/60402] [DR 1395] " pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-06-11 17:55 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |SUSPENDED
   Last reconfirmed|                            |2014-06-11
            Summary|const overload with         |[Core/1395] const overload
                   |variadics declared          |with variadics declared
                   |ambiguous according to      |ambiguous according to
                   |standard (may be related to |standard
                   |bug 58156)                  |
     Ever confirmed|0                           |1


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

* [Bug c++/60402] [DR 1395] const overload with variadics declared ambiguous according to standard
       [not found] <bug-60402-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2014-06-11 17:55 ` [Bug c++/60402] [Core/1395] const overload with variadics declared ambiguous according to standard paolo.carlini at oracle dot com
@ 2021-12-04  7:35 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-04  7:35 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |NEW

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
[Moved to DR at the November, 2016 meeting.]

(In reply to Daniel Krügler from comment #2)
> No, this is not related to bug 58156. According to the current core language
> of C++11, the code is indeed ambiguous.
> 
> There exists currently a core language issue to fix that, see
> 
> http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1395

Hmm, but this example is still rejected in both GCC and clang (and MSVC) but
accepted for ICC. The example in both defect reports is done correctly with GCC
and all.

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

end of thread, other threads:[~2021-12-04  7:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-60402-4@http.gcc.gnu.org/bugzilla/>
2014-03-03 19:47 ` [Bug c++/60402] const overload with variadics declared ambiguous according to standard (may be related to bug 58156) nate.mcnamara at morganstanley dot com
2014-03-03 20:31 ` daniel.kruegler at googlemail dot com
2014-06-11 17:55 ` [Bug c++/60402] [Core/1395] const overload with variadics declared ambiguous according to standard paolo.carlini at oracle dot com
2021-12-04  7:35 ` [Bug c++/60402] [DR 1395] " 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).