public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Test] Fix for PRPR53981
@ 2012-07-20 12:24 Anna Tikhonova
  2012-07-24 18:29 ` Janis Johnson
  0 siblings, 1 reply; 9+ messages in thread
From: Anna Tikhonova @ 2012-07-20 12:24 UTC (permalink / raw)
  To: gcc-patches; +Cc: kirill.yukhin

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

Hi all,

I've fixed test which was failing on Android NDK

testsuite/ChangeLog:
2012-07-20  Anna Tikhonova  <anna.m.tikhonova@gmail.com>

        * gcc.dg/20020201-1.c: Include <stdlib.h>.


Patch attached.

Ok for trunk & 4.7?

[-- Attachment #2: 20020201-1.p --]
[-- Type: application/octet-stream, Size: 358 bytes --]

diff --git gcc/testsuite/gcc.dg/20020201-1.c gcc/testsuite/gcc.dg/20020201-1.c
index 6002c59..05aab6c 100644
--- gcc/testsuite/gcc.dg/20020201-1.c
+++ gcc/testsuite/gcc.dg/20020201-1.c
@@ -7,6 +7,8 @@
 /* { dg-options "-fprofile-arcs" } */
 /* { dg-do run { target native } } */
 
+#include <stdlib.h>
+
 extern void abort (void);
 extern void exit (int);
 

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

* Re: [Test] Fix for PRPR53981
  2012-07-20 12:24 [Test] Fix for PRPR53981 Anna Tikhonova
@ 2012-07-24 18:29 ` Janis Johnson
  2012-07-25 10:58   ` Anna Tikhonova
  0 siblings, 1 reply; 9+ messages in thread
From: Janis Johnson @ 2012-07-24 18:29 UTC (permalink / raw)
  To: Anna Tikhonova; +Cc: gcc-patches, kirill.yukhin

On 07/20/2012 05:23 AM, Anna Tikhonova wrote:
> Hi all,
> 
> I've fixed test which was failing on Android NDK
> 
> testsuite/ChangeLog:
> 2012-07-20  Anna Tikhonova  <anna.m.tikhonova@gmail.com>
> 
>         * gcc.dg/20020201-1.c: Include <stdlib.h>.
> 
> 
> Patch attached.
> 
> Ok for trunk & 4.7?

OK if you remove the declarations for abort, exit, rand, and srand;
they're no longer needed.  Presumably an alternate fix would be to
add "extern" before the declarations of rand and srand.

Janis

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

* Re: [Test] Fix for PRPR53981
  2012-07-24 18:29 ` Janis Johnson
@ 2012-07-25 10:58   ` Anna Tikhonova
  2012-07-27 10:09     ` Kirill Yukhin
       [not found]     ` <5010160D.8000609@mentor.com>
  0 siblings, 2 replies; 9+ messages in thread
From: Anna Tikhonova @ 2012-07-25 10:58 UTC (permalink / raw)
  To: janisjo; +Cc: gcc-patches, kirill.yukhin

[-- Attachment #1: Type: text/plain, Size: 810 bytes --]

Thanks!

I've removed declarations. New patch attached.

testsuite/ChangeLog:
2012-07-20  Anna Tikhonova  <anna.m.tikhonova@gmail.com>

         * gcc.dg/20020201-1.c: Remove declarations for exit, abort,
rand, srand. Include <stdlib.h>.


2012/7/24 Janis Johnson <janis_johnson@mentor.com>:
> On 07/20/2012 05:23 AM, Anna Tikhonova wrote:
>> Hi all,
>>
>> I've fixed test which was failing on Android NDK
>>
>> testsuite/ChangeLog:
>> 2012-07-20  Anna Tikhonova  <anna.m.tikhonova@gmail.com>
>>
>>         * gcc.dg/20020201-1.c: Include <stdlib.h>.
>>
>>
>> Patch attached.
>>
>> Ok for trunk & 4.7?
>
> OK if you remove the declarations for abort, exit, rand, and srand;
> they're no longer needed.  Presumably an alternate fix would be to
> add "extern" before the declarations of rand and srand.
>
> Janis

[-- Attachment #2: 20020201-1.p --]
[-- Type: application/octet-stream, Size: 434 bytes --]

diff --git a/gcc/testsuite/gcc.dg/20020201-1.c b/gcc/testsuite/gcc.dg/20020201-1.c
index 6002c59..1cb2a87 100644
--- a/gcc/testsuite/gcc.dg/20020201-1.c
+++ b/gcc/testsuite/gcc.dg/20020201-1.c
@@ -7,11 +7,7 @@
 /* { dg-options "-fprofile-arcs" } */
 /* { dg-do run { target native } } */
 
-extern void abort (void);
-extern void exit (int);
-
-int rand (void);
-void srand (unsigned int seed);
+#include <stdlib.h>
 
 int globvar;
 

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

* Re: [Test] Fix for PRPR53981
  2012-07-25 10:58   ` Anna Tikhonova
@ 2012-07-27 10:09     ` Kirill Yukhin
       [not found]     ` <5010160D.8000609@mentor.com>
  1 sibling, 0 replies; 9+ messages in thread
From: Kirill Yukhin @ 2012-07-27 10:09 UTC (permalink / raw)
  To: Anna Tikhonova; +Cc: janisjo, gcc-patches

>>
>> OK if you remove the declarations for abort, exit, rand, and srand;
>> they're no longer needed.  Presumably an alternate fix would be to
>> add "extern" before the declarations of rand and srand.
>>
>> Janis

Comitted to trunk and 4.7 branch

http://gcc.gnu.org/ml/gcc-cvs/2012-07/msg00811.html
http://gcc.gnu.org/ml/gcc-cvs/2012-07/msg00810.html

Thanks, K

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

* Re: [Test] Fix for PRPR53981
       [not found]     ` <5010160D.8000609@mentor.com>
@ 2012-07-27 11:44       ` Anna Tikhonova
  2012-08-03 10:09         ` Anna Tikhonova
  0 siblings, 1 reply; 9+ messages in thread
From: Anna Tikhonova @ 2012-07-27 11:44 UTC (permalink / raw)
  To: janisjo; +Cc: kirill.yukhin, gcc-patches

Kirill has already checked it in for me, thanks!
Btw, I have FSF copyright assignment.

Is it possible to commit this patch to 4.6 branch? Since current ndk
is based on 4.6

2012/7/25 Janis Johnson <janis_johnson@mentor.com>:
> On 07/25/2012 03:58 AM, Anna Tikhonova wrote:
>> Thanks!
>>
>> I've removed declarations. New patch attached.
>
> You're not listed as "write after approval" in the MAINTAINERS
> file; would you like me to check this in for you?
>
> I didn't check to see if you have an FSF copyright assignment
> because this is a very small patch.
>
> Janis

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

* Re: [Test] Fix for PRPR53981
  2012-07-27 11:44       ` Anna Tikhonova
@ 2012-08-03 10:09         ` Anna Tikhonova
  2012-08-03 15:21           ` Janis Johnson
  0 siblings, 1 reply; 9+ messages in thread
From: Anna Tikhonova @ 2012-08-03 10:09 UTC (permalink / raw)
  To: janisjo; +Cc: kirill.yukhin, gcc-patches

Ping

2012/7/27 Anna Tikhonova <anna.m.tikhonova@gmail.com>:
> Kirill has already checked it in for me, thanks!
> Btw, I have FSF copyright assignment.
>
> Is it possible to commit this patch to 4.6 branch? Since current ndk
> is based on 4.6
>
> 2012/7/25 Janis Johnson <janis_johnson@mentor.com>:
>> On 07/25/2012 03:58 AM, Anna Tikhonova wrote:
>>> Thanks!
>>>
>>> I've removed declarations. New patch attached.
>>
>> You're not listed as "write after approval" in the MAINTAINERS
>> file; would you like me to check this in for you?
>>
>> I didn't check to see if you have an FSF copyright assignment
>> because this is a very small patch.
>>
>> Janis

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

* Re: [Test] Fix for PRPR53981
  2012-08-03 10:09         ` Anna Tikhonova
@ 2012-08-03 15:21           ` Janis Johnson
  2012-08-06  7:12             ` Kirill Yukhin
  0 siblings, 1 reply; 9+ messages in thread
From: Janis Johnson @ 2012-08-03 15:21 UTC (permalink / raw)
  To: Anna Tikhonova; +Cc: janisjo, kirill.yukhin, gcc-patches

Yes, you can put it on the 4.6 branch.

Janis

On 08/03/2012 03:09 AM, Anna Tikhonova wrote:
> Ping
> 
> 2012/7/27 Anna Tikhonova <anna.m.tikhonova@gmail.com>:
>> Kirill has already checked it in for me, thanks!
>> Btw, I have FSF copyright assignment.
>>
>> Is it possible to commit this patch to 4.6 branch? Since current ndk
>> is based on 4.6
>>
>> 2012/7/25 Janis Johnson <janis_johnson@mentor.com>:
>>> On 07/25/2012 03:58 AM, Anna Tikhonova wrote:
>>>> Thanks!
>>>>
>>>> I've removed declarations. New patch attached.
>>>
>>> You're not listed as "write after approval" in the MAINTAINERS
>>> file; would you like me to check this in for you?
>>>
>>> I didn't check to see if you have an FSF copyright assignment
>>> because this is a very small patch.
>>>
>>> Janis

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

* Re: [Test] Fix for PRPR53981
  2012-08-03 15:21           ` Janis Johnson
@ 2012-08-06  7:12             ` Kirill Yukhin
  0 siblings, 0 replies; 9+ messages in thread
From: Kirill Yukhin @ 2012-08-06  7:12 UTC (permalink / raw)
  To: janisjo; +Cc: Anna Tikhonova, gcc-patches

> Yes, you can put it on the 4.6 branch.

Hi,
Thanks! Checked into 4.6 branch.

http://gcc.gnu.org/ml/gcc-cvs/2012-08/msg00130.html

Thanks, K

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

* Re: [Test] Fix for PRPR53981
       [not found] <CAE6XQqh_vfPc2gbJEaqwsTZjcZDsOyK93FnBntxCW55haTyDKg@mail.gmail.com>
@ 2012-07-23 11:25 ` Anna Tikhonova
  0 siblings, 0 replies; 9+ messages in thread
From: Anna Tikhonova @ 2012-07-23 11:25 UTC (permalink / raw)
  To: gcc-patches; +Cc: kirill.yukhin

Anyone? Ping.

2012/7/20 Anna Tikhonova <anna.m.tikhonova@gmail.com>
>
> Hi all,
>
> I've fixed test which was failing on Android NDK
>
> testsuite/ChangeLog:
> 2012-07-20  Anna Tikhonova  <anna.m.tikhonova@gmail.com>
>
>         * gcc.dg/20020201-1.c: Include <stdlib.h>.
>
> Patch attached.
>
> Ok for trunk & 4.7?
>

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

end of thread, other threads:[~2012-08-06  7:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-20 12:24 [Test] Fix for PRPR53981 Anna Tikhonova
2012-07-24 18:29 ` Janis Johnson
2012-07-25 10:58   ` Anna Tikhonova
2012-07-27 10:09     ` Kirill Yukhin
     [not found]     ` <5010160D.8000609@mentor.com>
2012-07-27 11:44       ` Anna Tikhonova
2012-08-03 10:09         ` Anna Tikhonova
2012-08-03 15:21           ` Janis Johnson
2012-08-06  7:12             ` Kirill Yukhin
     [not found] <CAE6XQqh_vfPc2gbJEaqwsTZjcZDsOyK93FnBntxCW55haTyDKg@mail.gmail.com>
2012-07-23 11:25 ` Anna Tikhonova

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