public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
[parent not found: <bug-20308-6594@http.gcc.gnu.org/bugzilla/>]
* [Bug c++/20308] New: lost parser
@ 2005-03-03 21:47 igodard at pacbell dot net
  2005-03-03 23:25 ` [Bug c++/20308] parser thinks something is a start of a template-id when it is just less than pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: igodard at pacbell dot net @ 2005-03-03 21:47 UTC (permalink / raw)
  To: gcc-bugs

In the attached code, the parser gets confused by a use of operator< in the body 
of a function template. If the operator is changed (to ">" or "==" for example) 
the code compiles. I've not been able to figure out why it thinks it's in a 
constant expression. Changing the variable names involved doesn't make a 
difference, so it doesn't see to be a consequence of name clashes.

Ivan

-- 
           Summary: lost parser
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: igodard at pacbell dot net
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2010-12-07 17:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-20308-4@http.gcc.gnu.org/bugzilla/>
2010-12-07 17:25 ` [Bug c++/20308] parser thinks something is a start of a template-id when it is just less than pinskia at gcc dot gnu.org
     [not found] <bug-20308-6594@http.gcc.gnu.org/bugzilla/>
2005-11-19 18:34 ` pinskia at gcc dot gnu dot org
2008-09-20  2:58 ` pinskia at gcc dot gnu dot org
2005-03-03 21:47 [Bug c++/20308] New: lost parser igodard at pacbell dot net
2005-03-03 23:25 ` [Bug c++/20308] parser thinks something is a start of a template-id when it is just less than pinskia at gcc dot gnu dot org
2005-07-23 21:34 ` bangerth at dealii dot org
2005-07-24  0:52 ` igodard at pacbell dot net
2005-07-24  4:55 ` bangerth at dealii 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).