public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/24052] New: &#`label_decl' not supported by dump_expr#<expression error>
@ 2005-09-25  8:48 guillaume dot melquiond at ens-lyon dot fr
  2005-09-25 14:51 ` [Bug c++/24052] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
  2005-09-27 16:10 ` mmitchel at gcc dot gnu dot org
  0 siblings, 2 replies; 8+ messages in thread
From: guillaume dot melquiond at ens-lyon dot fr @ 2005-09-25  8:48 UTC (permalink / raw)
  To: gcc-bugs

I do not think labels as values are widely used with C++ operators; I stumbled
over it only because of a typo (double &&). But in case of error, it will
produce a garbled message (tested from 3.3 to 4.1). For example,

a.cpp:3:no match for 'operator&&' in 'A() && &#'label_decl' not supported by
dump_expr#<expression error>'

Testcase:

struct A {};
bool operator&&(A const &, A const &);
int main() { A() && && b; }

-- 
           Summary: &#`label_decl' not supported by dump_expr#<expression
                    error>
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: guillaume dot melquiond at ens-lyon dot fr
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-10-12 13:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-24052-7904@http.gcc.gnu.org/bugzilla/>
2005-10-07  7:21 ` [Bug c++/24052] [3.4/4.0/4.1 Regression] &#`label_decl' not supported by dump_expr#<expression error> bonzini at gcc dot gnu dot org
2005-10-11 16:28 ` bonzini at gcc dot gnu dot org
2005-10-12 13:16 ` cvs-commit at gcc dot gnu dot org
2005-10-12 13:35 ` cvs-commit at gcc dot gnu dot org
2005-10-12 13:45 ` cvs-commit at gcc dot gnu dot org
2005-10-12 13:46 ` bonzini at gcc dot gnu dot org
2005-09-25  8:48 [Bug c++/24052] New: " guillaume dot melquiond at ens-lyon dot fr
2005-09-25 14:51 ` [Bug c++/24052] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-09-27 16:10 ` mmitchel at gcc dot gnu dot 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).