public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/58190] New: FAIL: g++.dg/pr57878.C (test for excess errors) on x86_64-apple-darwin10
@ 2013-08-18 21:35 dominiq at lps dot ens.fr
  2013-08-20  9:07 ` [Bug c++/58190] " paolo.carlini at oracle dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: dominiq at lps dot ens.fr @ 2013-08-18 21:35 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58190

            Bug ID: 58190
           Summary: FAIL: g++.dg/pr57878.C (test for excess errors) on
                    x86_64-apple-darwin10
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dominiq at lps dot ens.fr
                CC: iains at gcc dot gnu.org, vmakarov at redhat dot com
              Host: x86_64-apple-darwin10
            Target: x86_64-apple-darwin10
             Build: x86_64-apple-darwin10

The test FAIL: g++.dg/pr57878.C (introduced at r 201036) fails on
x86_64-apple-darwin10 with

/opt/gcc/work/gcc/testsuite/g++.dg/pr57878.C:27:53: error: 'operator new' takes
type 'size_t' ('long unsigned int') as first parameter [-fpermissive]
   inline void* operator new(std::size_t, void* __p) noexcept {

I get the error with older versions of g++, e.g., 4.8.1, and with -m32 and
-m64.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/58190] FAIL: g++.dg/pr57878.C (test for excess errors) on x86_64-apple-darwin10
  2013-08-18 21:35 [Bug c++/58190] New: FAIL: g++.dg/pr57878.C (test for excess errors) on x86_64-apple-darwin10 dominiq at lps dot ens.fr
@ 2013-08-20  9:07 ` paolo.carlini at oracle dot com
  2013-08-20  9:08 ` paolo.carlini at oracle dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-08-20  9:07 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58190

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Created attachment 30676
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30676&action=edit
Obvious patchlet


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/58190] FAIL: g++.dg/pr57878.C (test for excess errors) on x86_64-apple-darwin10
  2013-08-18 21:35 [Bug c++/58190] New: FAIL: g++.dg/pr57878.C (test for excess errors) on x86_64-apple-darwin10 dominiq at lps dot ens.fr
  2013-08-20  9:07 ` [Bug c++/58190] " paolo.carlini at oracle dot com
@ 2013-08-20  9:08 ` paolo.carlini at oracle dot com
  2013-08-20 10:32 ` paolo.carlini at oracle dot com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-08-20  9:08 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58190

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2013-08-20
     Ever confirmed|0                           |1

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
I'm going to commit as obvious this patchlet. Could you please double check
that it works for you?


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/58190] FAIL: g++.dg/pr57878.C (test for excess errors) on x86_64-apple-darwin10
  2013-08-18 21:35 [Bug c++/58190] New: FAIL: g++.dg/pr57878.C (test for excess errors) on x86_64-apple-darwin10 dominiq at lps dot ens.fr
  2013-08-20  9:07 ` [Bug c++/58190] " paolo.carlini at oracle dot com
  2013-08-20  9:08 ` paolo.carlini at oracle dot com
@ 2013-08-20 10:32 ` paolo.carlini at oracle dot com
  2013-08-20 11:08 ` iains at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-08-20 10:32 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58190

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Before committing anything, do you have any idea why the testcase isn't simply
skipped on darwin10? Because I just built mainline on a darwin12 machine and
the testcase is correctly skipped as UNSUPPORTED, thus doesn't FAIL (outside
the testsuite, it fails as you are reporting, but that doesn't really matter).
It seems very strange to me that on darwin10 the DejaGnu selectors on top of
the testcase don't work correctly. Is this a known, much more general issue?


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/58190] FAIL: g++.dg/pr57878.C (test for excess errors) on x86_64-apple-darwin10
  2013-08-18 21:35 [Bug c++/58190] New: FAIL: g++.dg/pr57878.C (test for excess errors) on x86_64-apple-darwin10 dominiq at lps dot ens.fr
                   ` (2 preceding siblings ...)
  2013-08-20 10:32 ` paolo.carlini at oracle dot com
@ 2013-08-20 11:08 ` iains at gcc dot gnu.org
  2013-08-20 11:16 ` paolo.carlini at oracle dot com
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: iains at gcc dot gnu.org @ 2013-08-20 11:08 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58190

--- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Paolo Carlini from comment #3)
> Before committing anything, do you have any idea why the testcase isn't
> simply skipped on darwin10? Because I just built mainline on a darwin12
> machine and the testcase is correctly skipped as UNSUPPORTED, thus doesn't
> FAIL (outside the testsuite, it fails as you are reporting, but that doesn't
> really matter). It seems very strange to me that on darwin10 the DejaGnu
> selectors on top of the testcase don't work correctly. Is this a known, much
> more general issue?

it fails for me on darwin12 for the "-m32" run (i.e. ilp32).
and shows unsupported for the m64 one.

We generally test on Darwin --target_board=unix\{-m32,-m64\}.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/58190] FAIL: g++.dg/pr57878.C (test for excess errors) on x86_64-apple-darwin10
  2013-08-18 21:35 [Bug c++/58190] New: FAIL: g++.dg/pr57878.C (test for excess errors) on x86_64-apple-darwin10 dominiq at lps dot ens.fr
                   ` (3 preceding siblings ...)
  2013-08-20 11:08 ` iains at gcc dot gnu.org
@ 2013-08-20 11:16 ` paolo.carlini at oracle dot com
  2013-08-20 11:18 ` iains at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-08-20 11:16 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58190

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Ok, that makes sense, it simply means that on darwin, at variance with Linux,
for -m32 a size_t is an unsigned long instead of an unsigned int, we can simply
apply the patchlet and close the issue.

Next time, please say more clearly in which *exact* condition the FAIL appears.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/58190] FAIL: g++.dg/pr57878.C (test for excess errors) on x86_64-apple-darwin10
  2013-08-18 21:35 [Bug c++/58190] New: FAIL: g++.dg/pr57878.C (test for excess errors) on x86_64-apple-darwin10 dominiq at lps dot ens.fr
                   ` (4 preceding siblings ...)
  2013-08-20 11:16 ` paolo.carlini at oracle dot com
@ 2013-08-20 11:18 ` iains at gcc dot gnu.org
  2013-08-20 11:41 ` paolo.carlini at oracle dot com
  2013-08-20 11:57 ` paolo.carlini at oracle dot com
  7 siblings, 0 replies; 9+ messages in thread
From: iains at gcc dot gnu.org @ 2013-08-20 11:18 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58190

--- Comment #6 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Paolo Carlini from comment #5)
> Ok, that makes sense, it simply means that on darwin, at variance with
> Linux, for -m32 a size_t is an unsigned long instead of an unsigned int, we
> can simply apply the patchlet and close the issue.
> 
> Next time, please say more clearly in which *exact* condition the FAIL
> appears.

ack, the patchlet fixes it as expected.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/58190] FAIL: g++.dg/pr57878.C (test for excess errors) on x86_64-apple-darwin10
  2013-08-18 21:35 [Bug c++/58190] New: FAIL: g++.dg/pr57878.C (test for excess errors) on x86_64-apple-darwin10 dominiq at lps dot ens.fr
                   ` (5 preceding siblings ...)
  2013-08-20 11:18 ` iains at gcc dot gnu.org
@ 2013-08-20 11:41 ` paolo.carlini at oracle dot com
  2013-08-20 11:57 ` paolo.carlini at oracle dot com
  7 siblings, 0 replies; 9+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-08-20 11:41 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58190

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.9.0

--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Done.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/58190] FAIL: g++.dg/pr57878.C (test for excess errors) on x86_64-apple-darwin10
  2013-08-18 21:35 [Bug c++/58190] New: FAIL: g++.dg/pr57878.C (test for excess errors) on x86_64-apple-darwin10 dominiq at lps dot ens.fr
                   ` (6 preceding siblings ...)
  2013-08-20 11:41 ` paolo.carlini at oracle dot com
@ 2013-08-20 11:57 ` paolo.carlini at oracle dot com
  7 siblings, 0 replies; 9+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-08-20 11:57 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58190

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.9.0                       |4.8.2

--- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed for 4.8.2 too.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-08-20 11:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-18 21:35 [Bug c++/58190] New: FAIL: g++.dg/pr57878.C (test for excess errors) on x86_64-apple-darwin10 dominiq at lps dot ens.fr
2013-08-20  9:07 ` [Bug c++/58190] " paolo.carlini at oracle dot com
2013-08-20  9:08 ` paolo.carlini at oracle dot com
2013-08-20 10:32 ` paolo.carlini at oracle dot com
2013-08-20 11:08 ` iains at gcc dot gnu.org
2013-08-20 11:16 ` paolo.carlini at oracle dot com
2013-08-20 11:18 ` iains at gcc dot gnu.org
2013-08-20 11:41 ` paolo.carlini at oracle dot com
2013-08-20 11:57 ` paolo.carlini at oracle dot com

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