This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix C++ testsuite failures.


On 3/7/06, Andrew Pinski <pinskia@physics.uc.edu> wrote:
>
> On Mar 7, 2006, at 6:25 PM, Lee Millward wrote:
>
> > -  return x + 31;
> > +  return x + 31; /* { dg-warning "address requested" } */
>
> Oh and the warning here makes even less sense in general as the address
> is not taken at all.
>
> -- Pinski
>

The warning produced by G++ is "register1.C:13: warning: address
requested for 'x', which is declared 'register", I compiled all of the
failing tests individually to see where the extra warnings was being
generated and what the messages being produced were which form the
basis for the dg-warning comments.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]