public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: r207119 - in /branches/gcc-4_7-branch/gcc: fort...
       [not found] <20140126144949.26627.qmail@sourceware.org>
@ 2014-01-27  9:22 ` Dongsheng Song
  0 siblings, 0 replies; only message in thread
From: Dongsheng Song @ 2014-01-27  9:22 UTC (permalink / raw)
  To: mikael; +Cc: GCC Mailing List

This broken gcc 4.7 build due to use C++ grammar in C source file:

static void
skip_list (int nest_level = 0)
{
...
}

gcc -c  -DIN_GCC_FRONTEND -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE
-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -Ifortran
-I/home/cauchy/vcs/svn/gcc/branches/gcc-4_7-branch/gcc
-I/home/cauchy/vcs/svn/gcc/branches/gcc-4_7-branch/gcc/fortran
-I/home/cauchy/vcs/svn/gcc/branches/gcc-4_7-branch/gcc/../include
-I/home/cauchy/vcs/svn/gcc/branches/gcc-4_7-branch/gcc/../libcpp/include
-I/home/cauchy/obj/i686-w64-mingw32-gcc47/gcc/./gmp
-I/home/cauchy/vcs/svn/gcc/branches/gcc-4_7-branch/gmp
-I/home/cauchy/obj/i686-w64-mingw32-gcc47/gcc/./mpfr
-I/home/cauchy/vcs/svn/gcc/branches/gcc-4_7-branch/mpfr
-I/home/cauchy/vcs/svn/gcc/branches/gcc-4_7-branch/mpc/src
-I/home/cauchy/vcs/svn/gcc/branches/gcc-4_7-branch/gcc/../libdecnumber
-I/home/cauchy/vcs/svn/gcc/branches/gcc-4_7-branch/gcc/../libdecnumber/bid
-I../libdecnumber
/home/cauchy/vcs/svn/gcc/branches/gcc-4_7-branch/gcc/fortran/module.c
-o fortran/module.o
/home/cauchy/vcs/svn/gcc/branches/gcc-4_7-branch/gcc/fortran/module.c:3868:27:
error: expected ‘;’, ‘,’ or ‘)’ before ‘=’ token
/home/cauchy/vcs/svn/gcc/branches/gcc-4_7-branch/gcc/fortran/module.c:
In function ‘load_derived_extensions’:/home/cauchy/vcs/svn/gcc/branches/gcc-4_7-branch/gcc/fortran/module.c:4231:6:
warning: implicit declaration of function ‘skip_list’
[-Wimplicit-function-declaration]
make[2]: *** [fortran/module.o] Error 1


On Sun, Jan 26, 2014 at 10:49 PM, <mikael@gcc.gnu.org> wrote:
>
> Author: mikael
> Date: Sun Jan 26 14:49:47 2014
> New Revision: 207119
>
> URL: http://gcc.gnu.org/viewcvs?rev=207119&root=gcc&view=rev
> Log:
> fortran/
>         PR fortran/58007
>         * module.c (fp2, find_pointer2): Remove.
>         (mio_component_ref): Don't forcedfully set the containing derived type
>         symbol for loading.  Remove unused argument.
>         (mio_ref): Update caller
>         (skip_list): New argument nest_level.  Initialize level with the new
>         argument.
>         (read_module): Add forced pointer components association for derived
>         type symbols.
>
> testsuite/
>         PR fortran/58007
>         * gfortran.dg/unresolved_fixup_1.f90: New test.
>         * gfortran.dg/unresolved_fixup_2.f90: New test.
>
>
> Added:
>     branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/unresolved_fixup_1.f90
>     branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/unresolved_fixup_2.f90
> Modified:
>     branches/gcc-4_7-branch/gcc/fortran/ChangeLog
>     branches/gcc-4_7-branch/gcc/fortran/module.c
>     branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
>

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

only message in thread, other threads:[~2014-01-27  4:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20140126144949.26627.qmail@sourceware.org>
2014-01-27  9:22 ` r207119 - in /branches/gcc-4_7-branch/gcc: fort Dongsheng Song

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