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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |easyhack
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-11-19
                 CC|                            |manu at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Morwenn from comment #0)

It does say "[2]", no? It could say "too many initializers (3) for 'const int
[2]'"

> I guess that it is rather cheap to implement and can help to diagnose the
> actual problem faster.

If you guess that, you should really give it a try :)

Just launch cc1 under gdb, break at the line that prints that message and
figure out how to find out the number of initializers. Then follow:

https://gcc.gnu.org/wiki/GettingStarted#Basics:_Contributing_to_GCC_in_10_easy_steps

Reply via email to