On Sun, 26 Jan 2014, Mikael Morin wrote:
> Le 18/01/2014 21:17, Mikael Morin a écrit :
> > Well, I guess that due to the touchy nature of the bug, there are cases
> > that work by luck on old versions and fail (by unluck) on newer ones.
> > Thus, I will backport in a few days to 4.8 and 4.7.
> >
> I added the following hardening to the patch on the 4.8 backport
> (http://gcc.gnu.org/r207117 and attached) and forward-ported it to trunk
> (http://gcc.gnu.org/r207118) as well.
> 4.7 will come in an hour or so.

Did you bootstrap & test the 4.7 backport?

Looks like you committed C++ code there, in module.c:
...
  3867  static void
  3868  skip_list (int nest_level = 0)
  3869  {
...

This breaks build.  In 4.7 gcc is still C, at least for
cross-builds (cris-elf but unimportant):

/tmp/hpautotest-gcc47/gcc/gcc/fortran/module.c:3868:27:
 error: expected ';', ',' or ')' before '=' token
/tmp/hpautotest-gcc47/gcc/gcc/fortran/module.c:
In function 'load_derived_extensions':
/tmp/hpautotest-gcc47/gcc/gcc/fortran/module.c:4231:6: warning:
implicit declaration of function 'skip_list' [-Wimplicit-function-declaration]
make[2]: *** [fortran/module.o] Error 1

Seen at r207119.

brgds, H-P

Reply via email to