public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/9285: [3.4 regression] False shadowing of parameters in templates
@ 2003-01-15 20:46 Andrew Pollard
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Pollard @ 2003-01-15 20:46 UTC (permalink / raw)
  To: mmitchel; +Cc: gcc-prs

The following reply was made to PR c++/9285; it has been noted by GNATS.

From: Andrew Pollard <Andrew.Pollard@brooks-pri.com>
To: gcc-gnats@gcc.gnu.org,  gcc-prs@gcc.gnu.org,  wlandry@ucsd.edu, 
 gcc-bugs@gcc.gnu.org
Cc:  
Subject: Re: c++/9285: [3.4 regression] False shadowing of parameters in templates
Date: Wed, 15 Jan 2003 20:40:20 +0000

 Hi All,
 
   This is probably related to (the fixed) c++/9112 and the recently
 submitted c++/9333.
 
 Andrew.
 


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

* Re: c++/9285: [3.4 regression] False shadowing of parameters in templates
@ 2003-01-22 17:52 mmitchel
  0 siblings, 0 replies; 3+ messages in thread
From: mmitchel @ 2003-01-22 17:52 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, mmitchel, wlandry

Synopsis: [3.4 regression] False shadowing of parameters in templates

State-Changed-From-To: analyzed->closed
State-Changed-By: mmitchel
State-Changed-When: Wed Jan 22 17:52:21 2003
State-Changed-Why:
    Fixed in GCC 3.4.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9285


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

* Re: c++/9285: [3.4 regression] False shadowing of parameters in templates
@ 2003-01-13  0:09 bangerth
  0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2003-01-13  0:09 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, mmitchel, nobody, wlandry

Old Synopsis: REGRESSION: False shadowing of parameters in templates
New Synopsis: [3.4 regression] False shadowing of parameters in templates

Responsible-Changed-From-To: unassigned->mmitchel
Responsible-Changed-By: bangerth
Responsible-Changed-When: Sun Jan 12 16:09:04 2003
Responsible-Changed-Why:
    Author of the new parser.
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Sun Jan 12 16:09:04 2003
State-Changed-Why:
    This is a reduced testcase:
    ------------------------
    struct X{
        X(double *data, double d0, double d1);
    };
    
    int foo(double d0) {
      double * data;
      X(data,d0,d0);
    }
    ----------------------------
    It compiled with a snapshot from 2002-12-25, but fails now.
    Probably due to the new parser.
    
    Present compilers say
    regression/test> ../bin/gcc-2003-01-05/bin/c++ -c PR9285.cc
    PR9285.cc: In function `int foo(double)':
    PR9285.cc:7: error: declaration of `d0' shadows a parameter
    PR9285.cc:7: error: no matching function for call to `X::X()'
    PR9285.cc:1: error: candidates are: X::X(const X&)
    PR9285.cc:2: error:                 X::X(double*, double, double)
    PR9285.cc:7: error: expected init-declarator
    PR9285.cc:7: error: expected `,' or `;'
    
    W.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9285


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

end of thread, other threads:[~2003-01-22 17:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-15 20:46 c++/9285: [3.4 regression] False shadowing of parameters in templates Andrew Pollard
  -- strict thread matches above, loose matches on Subject: below --
2003-01-22 17:52 mmitchel
2003-01-13  0:09 bangerth

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).