public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/21686] [4.0/4.1 Regression] weird quoting in an error message
  2005-05-20 21:36 [Bug c++/21686] New: [4.0/4.1 Regression] weird quoting in an error message pinskia at gcc dot gnu dot org
@ 2005-05-20 21:36 ` pinskia at gcc dot gnu dot org
  2005-05-22 22:46 ` reichelt at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-20 21:36 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.0.0 4.1.0
      Known to work|                            |3.4.0
   Target Milestone|---                         |4.0.1


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


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

* [Bug c++/21686] New: [4.0/4.1 Regression] weird quoting in an error message
@ 2005-05-20 21:36 pinskia at gcc dot gnu dot org
  2005-05-20 21:36 ` [Bug c++/21686] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-20 21:36 UTC (permalink / raw)
  To: gcc-bugs

Take the following code (which I found while reducing PR 21685):
template <int>
int f(void)
{
  int i;
  struct f1
  {
    int f(void){return i;}
  };
}

We get:
t1.cc: In member function 'int f()::f1::f()':
t1.cc:7: error: use of %<auto%> variable from containing function
t1.cc:4: error:   'int i' declared here

Notice the use of %< and %>

-- 
           Summary: [4.0/4.1 Regression] weird quoting in an error message
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,gdr at gcc dot gnu dot
                    org


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


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

* [Bug c++/21686] [4.0/4.1 Regression] weird quoting in an error message
  2005-05-20 21:36 [Bug c++/21686] New: [4.0/4.1 Regression] weird quoting in an error message pinskia at gcc dot gnu dot org
  2005-05-20 21:36 ` [Bug c++/21686] " pinskia at gcc dot gnu dot org
@ 2005-05-22 22:46 ` reichelt at gcc dot gnu dot org
  2005-05-25  9:51 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-05-22 22:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-05-22 22:46 -------
Confirmed.

Will take care of it.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
         AssignedTo|unassigned at gcc dot gnu   |reichelt at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
           Keywords|                            |monitored


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


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

* [Bug c++/21686] [4.0/4.1 Regression] weird quoting in an error message
  2005-05-20 21:36 [Bug c++/21686] New: [4.0/4.1 Regression] weird quoting in an error message pinskia at gcc dot gnu dot org
  2005-05-20 21:36 ` [Bug c++/21686] " pinskia at gcc dot gnu dot org
  2005-05-22 22:46 ` reichelt at gcc dot gnu dot org
@ 2005-05-25  9:51 ` cvs-commit at gcc dot gnu dot org
  2005-05-25  9:52 ` cvs-commit at gcc dot gnu dot org
  2005-05-25 10:45 ` reichelt at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-25  9:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-05-25 09:47 -------
Subject: Bug 21686

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	reichelt@gcc.gnu.org	2005-05-25 09:47:21

Modified files:
	gcc/cp         : ChangeLog semantics.c 

Log message:
	PR c++/21686
	* semantics.c (finish_id_expression): Fix quoting in error message.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4754&r2=1.4755
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&r1=1.471&r2=1.472



-- 


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


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

* [Bug c++/21686] [4.0/4.1 Regression] weird quoting in an error message
  2005-05-20 21:36 [Bug c++/21686] New: [4.0/4.1 Regression] weird quoting in an error message pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-05-25  9:51 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-25  9:52 ` cvs-commit at gcc dot gnu dot org
  2005-05-25 10:45 ` reichelt at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-25  9:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-05-25 09:51 -------
Subject: Bug 21686

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	reichelt@gcc.gnu.org	2005-05-25 09:50:32

Modified files:
	gcc/cp         : ChangeLog semantics.c 

Log message:
	PR c++/21686
	* semantics.c (finish_id_expression): Fix quoting in error message.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4648.2.42&r2=1.4648.2.43
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.463.2.3&r2=1.463.2.4



-- 


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


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

* [Bug c++/21686] [4.0/4.1 Regression] weird quoting in an error message
  2005-05-20 21:36 [Bug c++/21686] New: [4.0/4.1 Regression] weird quoting in an error message pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-05-25  9:52 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-25 10:45 ` reichelt at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-05-25 10:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-05-25 09:51 -------
Fixed in gcc 4.0.1 and mainline.


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


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


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

end of thread, other threads:[~2005-05-25  9:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-20 21:36 [Bug c++/21686] New: [4.0/4.1 Regression] weird quoting in an error message pinskia at gcc dot gnu dot org
2005-05-20 21:36 ` [Bug c++/21686] " pinskia at gcc dot gnu dot org
2005-05-22 22:46 ` reichelt at gcc dot gnu dot org
2005-05-25  9:51 ` cvs-commit at gcc dot gnu dot org
2005-05-25  9:52 ` cvs-commit at gcc dot gnu dot org
2005-05-25 10:45 ` reichelt 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).