public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/17662] New: testsuite for IMA testcases
@ 2004-09-24 17:42 pinskia at gcc dot gnu dot org
  2004-09-24 17:43 ` [Bug c/17662] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-24 17:42 UTC (permalink / raw)
  To: gcc-bugs

We really need a testsuite for IMA testcases so that IMA does not brake again (or some testcases which 
cannot be reproduced with a normal testcase but only with IMA).

-- 
           Summary: testsuite for IMA testcases
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 BugsThisDependsOn: 16954


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


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

* [Bug c/17662] testsuite for IMA testcases
  2004-09-24 17:42 [Bug c/17662] New: testsuite for IMA testcases pinskia at gcc dot gnu dot org
@ 2004-09-24 17:43 ` pinskia at gcc dot gnu dot org
  2004-09-29 15:57 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-24 17:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-24 17:43 -------
PR 16954 contains one testcase, Zack has my examples which were created (I might create some more 
and attach them here).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-24 17:43:08
               date|                            |


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


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

* [Bug c/17662] testsuite for IMA testcases
  2004-09-24 17:42 [Bug c/17662] New: testsuite for IMA testcases pinskia at gcc dot gnu dot org
  2004-09-24 17:43 ` [Bug c/17662] " pinskia at gcc dot gnu dot org
@ 2004-09-29 15:57 ` pinskia at gcc dot gnu dot org
  2005-01-05  1:42 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-29 15:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-29 15:57 -------
Another testcase in:
<http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02951.html>.


-- 


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


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

* [Bug c/17662] testsuite for IMA testcases
  2004-09-24 17:42 [Bug c/17662] New: testsuite for IMA testcases pinskia at gcc dot gnu dot org
  2004-09-24 17:43 ` [Bug c/17662] " pinskia at gcc dot gnu dot org
  2004-09-29 15:57 ` pinskia at gcc dot gnu dot org
@ 2005-01-05  1:42 ` pinskia at gcc dot gnu dot org
  2005-01-07 22:17 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-05  1:42 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 17662 depends on bug 19152, which changed state.

Bug 19152 Summary: [4.0 Regression] IMA and external inline don't get along
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19152

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

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


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

* [Bug c/17662] testsuite for IMA testcases
  2004-09-24 17:42 [Bug c/17662] New: testsuite for IMA testcases pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-01-05  1:42 ` pinskia at gcc dot gnu dot org
@ 2005-01-07 22:17 ` pinskia at gcc dot gnu dot org
  2005-01-11 18:22 ` janis187 at us dot ibm dot com
  2005-01-11 21:45 ` janis187 at us dot ibm dot com
  5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-07 22:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-07 22:17 -------
[17:13] < Rhyolite> it mainly needs a group of files to be compiled with -combine and a driver that will 
compile them all at once
[17:14] < Rhyolite> e.g., foo_a.c, foo_b.c, foo_c.c, foo_d.c, etc.
[17:14] < Rhyolite> try to compile "gcc -combine foo_?.c"



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |janis at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug c/17662] testsuite for IMA testcases
  2004-09-24 17:42 [Bug c/17662] New: testsuite for IMA testcases pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-01-07 22:17 ` pinskia at gcc dot gnu dot org
@ 2005-01-11 18:22 ` janis187 at us dot ibm dot com
  2005-01-11 21:45 ` janis187 at us dot ibm dot com
  5 siblings, 0 replies; 8+ messages in thread
From: janis187 at us dot ibm dot com @ 2005-01-11 18:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From janis187 at us dot ibm dot com  2005-01-11 18:22 -------
Look at dg-additional-files and dg-additional-sources, defined in
gcc-testsuite/lib/gcc-defs.exp and used in several tests.  I'll take a closer
look at them soon, but feel free to beat me to it and try them out on the IMA
tests.

-- 


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


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

* [Bug c/17662] testsuite for IMA testcases
  2004-09-24 17:42 [Bug c/17662] New: testsuite for IMA testcases pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-01-11 18:22 ` janis187 at us dot ibm dot com
@ 2005-01-11 21:45 ` janis187 at us dot ibm dot com
  5 siblings, 0 replies; 8+ messages in thread
From: janis187 at us dot ibm dot com @ 2005-01-11 21:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From janis187 at us dot ibm dot com  2005-01-11 21:45 -------
Here's how two tests mentioned here can use dg-additional-sources.  I ran
these in gcc.dg.special, which only treats files matching *[0-9].c as tests.
I don't yet know why, but 'dg-do compile' turns into 'dg-do assemble' and
vice versa when dg-additional-sources is used.
                                                                               
                                        
% cat combine-1a.c
extern int printf (const char *, ...);
                                                                               
                                        
struct x { int a; int b; };
                                                                               
                                        
bar (struct x* p)
{
    printf ("%d\n", p->a);
}
% cat combine-1.c
/* { dg-do compile } */
/* { dg-options "-combine -O3" } */
/* { dg-additional-sources combine-1a.c } */
                                                                               
                                        
struct x;
foo (struct x* q)
{
    bar (q);
}
% cat combine-2a.c
#include "combine-2.h"
                                                                               
                                        
int sentence[MAX_WORD];
% cat combine-2b.c
#include "combine-2.h"
% cat combine-2.c
/* { dg-do compile } */
/* { dg-options "-combine" } */
/* { dg-additional-sources "combine-2a.c combine-2b.c" } */
/* { dg-additional-files combine-2.h } */
                                                                               
                                        
#include "combine-2.h"
% cat combine-2.h
#define MAX_WORD 60
                                                                               
                                        
extern int sentence[];

-- 


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


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

* [Bug c/17662] testsuite for IMA testcases
       [not found] <bug-17662-6528@http.gcc.gnu.org/bugzilla/>
@ 2008-11-14 23:36 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-11-14 23:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2008-11-14 23:34 -------
I think we can close this as won't fix.  LTO has a testsuite part already so it
is not a big deal.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WONTFIX


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


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

end of thread, other threads:[~2008-11-14 23:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-24 17:42 [Bug c/17662] New: testsuite for IMA testcases pinskia at gcc dot gnu dot org
2004-09-24 17:43 ` [Bug c/17662] " pinskia at gcc dot gnu dot org
2004-09-29 15:57 ` pinskia at gcc dot gnu dot org
2005-01-05  1:42 ` pinskia at gcc dot gnu dot org
2005-01-07 22:17 ` pinskia at gcc dot gnu dot org
2005-01-11 18:22 ` janis187 at us dot ibm dot com
2005-01-11 21:45 ` janis187 at us dot ibm dot com
     [not found] <bug-17662-6528@http.gcc.gnu.org/bugzilla/>
2008-11-14 23:36 ` pinskia at gcc dot gnu dot org

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