This is the mail archive of the gcc-help@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: const void* and goto *expr


2008/6/27 Eus <eus@member.fsf.org>:

> Yes, it is intended. But, neither the doc nor GCC has a bug.
> Why? Because the goto operator can be considered as the following function:
> void goto(const void *ptr);

Right. This in retrospect is obvious.

> I guess Intel folks walked the wrong path of not knowing that `const void *' is the superset of `void *'.

Well, the doc can be read as impling goto(void *ptr). In any case, I
will file a bug for ICC.

Regards, Igor


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