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: PR 30457 Please warn about va_start(ap, invalid)


"Manuel LÃpez-IbÃÃez" <lopezibanez@gmail.com> writes:

>> This doesn't look right to me.  It looks to me like you will issue
>> this warning whenever the parameter is declared with the register
>> storage class.  It's OK to use "register int".
>>
>
> Then I do not understand what the standard is saying here. Could you
> give me one example of each things that is undefined per that
> paragraph, please?

Gah, you're right, I misread it.  Sorry.

Your patch is OK.

Ian


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