public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* Re: Possible GCC C parser bug
       [not found]   ` <20160827051728.GF15849@x4>
@ 2016-08-27  5:27     ` Markus Trippelsdorf
  0 siblings, 0 replies; only message in thread
From: Markus Trippelsdorf @ 2016-08-27  5:27 UTC (permalink / raw)
  To: Toshi Morita; +Cc: gcc-bugs

On 2016.08.27 at 07:17 +0200, Markus Trippelsdorf wrote:
> On 2016.08.26 at 20:43 +0000, Toshi Morita wrote:
> > Tried to create an account on Bugzilla, won't let me create an account.
> > So posting directly to the bugs list.
> > 
> > cdecl says "const int const * pntr" is a syntax error.
> > GCC accepts the same  construct without warning or error.
> > I suspect cdecl is correct.
> > 
> > user@hp-nx9420:~$ cdecl
> > Type `help' or `?' for help
> > cdecl> const int const * pntr
> > syntax error
> > cdecl> quit
> > user@hp-nx9420:~$ cat test.c
> > const int const * pntr;
> > user@hp-nx9420:~$ gcc -Wall -S test.c
> > user@hp-nx9420:~$ 
> 
> It is just a harmless duplicate type qualifier.

See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43651

-- 
Markus


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-27  5:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1542194575.395366.1472244234581.ref@mail.yahoo.com>
     [not found] ` <1542194575.395366.1472244234581@mail.yahoo.com>
     [not found]   ` <20160827051728.GF15849@x4>
2016-08-27  5:27     ` Possible GCC C parser bug Markus Trippelsdorf

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