public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51415] New: Broken diagnostic: 'vec_init_expr' not supported by dump_expr
@ 2011-12-04 22:22 reichelt at gcc dot gnu.org
  2011-12-04 23:05 ` [Bug c++/51415] " manu at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: reichelt at gcc dot gnu.org @ 2011-12-04 22:22 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51415
           Summary: Broken diagnostic: 'vec_init_expr' not supported by
                    dump_expr
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: reichelt@gcc.gnu.org


A broken diagnostic is generated since GCC 4.5.0 for the following invalid code
snippet:

===============
void foo()
{
  int x[1];
  [x]{} = 0;
}
===============

bug.cc: In function 'void foo()':
bug.cc:4:11: error: no match for 'operator=' in '{#'vec_init_expr' not
supported by dump_expr#<expression error>} = 0'
bug.cc:4:11: note: candidate is:
bug.cc:4:5: note: foo()::<lambda()>& foo()::<lambda()>::operator=(const
foo()::<lambda()>&) <deleted>
bug.cc:4:5: note:   no known conversion for argument 1 from 'int' to 'const
foo()::<lambda()>&'


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

end of thread, other threads:[~2012-02-16 20:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-04 22:22 [Bug c++/51415] New: Broken diagnostic: 'vec_init_expr' not supported by dump_expr reichelt at gcc dot gnu.org
2011-12-04 23:05 ` [Bug c++/51415] " manu at gcc dot gnu.org
2012-01-21  9:09 ` [Bug c++/51415] [4.5/4.6/4.7 Regression] " pinskia at gcc dot gnu.org
2012-02-16 18:23 ` jason at gcc dot gnu.org
2012-02-16 19:45 ` jason at gcc dot gnu.org
2012-02-16 20:05 ` jason 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).