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: [gfortran,patch] bootstrap broken


On Fri, 17 Sep 2004, Paul Brook wrote:
> Better would be to just replace the empty array "[]" with "[1]".

For the record, you could also just have changed the [] to [0],
and not do the other changes.  That would on the other hand use
a GCC extension, but a front-end is allowed to use gcc
extensions.  You were already using an extension by taking
sizeof gfc_linebuf.  (The [0] worked with gcc-2.95, survived
bootstrap and check on the FC2 gcc-3.3.3-derivate, and I was
about to check it in as obvious.  Heh.)

brgds, H-P


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