This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Disable -p testing on MinGW
On Tue, 2008-02-26 at 22:25 +1300, Danny Smith wrote:
> On Tue, Feb 26, 2008 at 12:55 PM, Janis Johnson <janis187@us.ibm.com> wrote:
> > On Sun, 2008-02-24 at 22:27 +0000, Joseph S. Myers wrote:
> > > The test gcc.dg/20021014-1.c fails for i686-mingw32 with "undefined
> > > reference to `_mcount'" and "undefined reference to `__monstartup'"
> > > errors. OK to commit the following patch which makes the testsuite
> > > treat -p as unavailable on MinGW?
> > >
> > > 2008-02-24 Joseph Myers <joseph@codesourcery.com>
> > >
> > > * lib/target-supports.exp (check_profiling_available): Report -p
> > > unavailable on *-*-mingw*.
> >
> > OK. If someone enables -p on this target they can remove
> > this new code at that time.
>
> -p is also unavailable on cygwin and 20021014-1.c fails there as well
> Is this followup OK ?
Yes, with a proper testsuite/ChangeLog entry.
Janis