public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libobjc/13834] New: forward / performv broken
@ 2004-01-23 17:10 gavin at ipalsoftware dot com
  2004-01-23 17:18 ` [Bug libobjc/13834] [3.3 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: gavin at ipalsoftware dot com @ 2004-01-23 17:10 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]

forward / performv appears to be completely broken in the gcc 3.x series.  Below
is a test program.

Expected output is:

hello world
hello world

This is the output generated by gcc 2.96.

Output under gcc 3.3.2 is:

hello world
hello ˆõÿ¿ýO\x03@ð¿Øš\x10öÿ¿ð¿\x18

This may be related to bug 429 "-forward:: / -performv:: does not work with
floats/structs" but as far as I can tell forward/performv is not working with
anything now.

#include <objc/Object.h>
#include <stdio.h>

@interface Obj1 : Object
{
}
- (retval_t) forward:(SEL)asel :(arglist_t)args;
@end

@interface Obj2 : Object
{
}
- hello:(const char *)str;
@end

static Obj1 *o1;
static Obj2 *o2;

@implementation Obj1
- (retval_t) forward:(SEL)sel :(arglist_t) args
{
  [o2 performv:sel :args];

  return self;
}
@end

@implementation Obj2
- hello:(const char *)str
{
  printf("hello %s\n", str);

  return self;
}

@end

int
main(void)
{
  o1 = [[Obj1 alloc] init];
  o2 = [[Obj2 alloc] init];

  [o2 hello:"world"];
  [(id) o1 hello:"world"];

  return 0;
}

-- 
           Summary: forward / performv broken
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libobjc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gavin at ipalsoftware dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug libobjc/13834] [3.3 Regression] forward / performv broken
  2004-01-23 17:10 [Bug libobjc/13834] New: forward / performv broken gavin at ipalsoftware dot com
@ 2004-01-23 17:18 ` pinskia at gcc dot gnu dot org
  2004-02-15 12:40 ` gdr at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-23 17:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-23 17:17 -------
Confirmed for 3.3.3 but already fixed for 3.4.  This is a regression from 3.0.4, I will figure out 
which patch to libobjc fixed it.  Note also 2.95.3 is also busted.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-01-23 17:17:36
               date|                            |
            Summary|forward / performv broken   |[3.3 Regression] forward /
                   |                            |performv broken
   Target Milestone|---                         |3.3.3


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


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

* [Bug libobjc/13834] [3.3 Regression] forward / performv broken
  2004-01-23 17:10 [Bug libobjc/13834] New: forward / performv broken gavin at ipalsoftware dot com
  2004-01-23 17:18 ` [Bug libobjc/13834] [3.3 Regression] " pinskia at gcc dot gnu dot org
@ 2004-02-15 12:40 ` gdr at gcc dot gnu dot org
  2004-02-22 15:01 ` gdr at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: gdr at gcc dot gnu dot org @ 2004-02-15 12:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at gcc dot gnu dot org  2004-02-15 12:40 -------
Adjust milestone

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.3.3                       |3.3.4


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


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

* [Bug libobjc/13834] [3.3 Regression] forward / performv broken
  2004-01-23 17:10 [Bug libobjc/13834] New: forward / performv broken gavin at ipalsoftware dot com
  2004-01-23 17:18 ` [Bug libobjc/13834] [3.3 Regression] " pinskia at gcc dot gnu dot org
  2004-02-15 12:40 ` gdr at gcc dot gnu dot org
@ 2004-02-22 15:01 ` gdr at gcc dot gnu dot org
  2004-04-18 18:47 ` gdr at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: gdr at gcc dot gnu dot org @ 2004-02-22 15:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at gcc dot gnu dot org  2004-02-22 15:01 -------
(In reply to comment #1)
> Confirmed for 3.3.3 but already fixed for 3.4.  This is a regression from
3.0.4, I will figure out 
> which patch to libobjc fixed it.  Note also 2.95.3 is also busted.

Andrew --

  Did you make a progress on this one?

-- Gaby


-- 


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


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

* [Bug libobjc/13834] [3.3 Regression] forward / performv broken
  2004-01-23 17:10 [Bug libobjc/13834] New: forward / performv broken gavin at ipalsoftware dot com
                   ` (2 preceding siblings ...)
  2004-02-22 15:01 ` gdr at gcc dot gnu dot org
@ 2004-04-18 18:47 ` gdr at gcc dot gnu dot org
  2004-04-18 18:49 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: gdr at gcc dot gnu dot org @ 2004-04-18 18:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at gcc dot gnu dot org  2004-04-18 18:28 -------
(In reply to comment #3)
> (In reply to comment #1)
> > Confirmed for 3.3.3 but already fixed for 3.4.  This is a regression from
> 3.0.4, I will figure out 
> > which patch to libobjc fixed it.  Note also 2.95.3 is also busted.
> 
> Andrew --
> 
>   Did you make a progress on this one?

Andrew --

  May I close this as won't fix for 3.3.x?

-- Gaby



-- 


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


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

* [Bug libobjc/13834] [3.3 Regression] forward / performv broken
  2004-01-23 17:10 [Bug libobjc/13834] New: forward / performv broken gavin at ipalsoftware dot com
                   ` (3 preceding siblings ...)
  2004-04-18 18:47 ` gdr at gcc dot gnu dot org
@ 2004-04-18 18:49 ` pinskia at gcc dot gnu dot org
  2004-04-18 19:48 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-18 18:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-18 18:40 -------
I was just trying to figure out what patch fixed this, there is only 4 which could have fixed it so I should 
be able to get one by later today.

Thanks,
Andrew Pinski

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gdr at gcc dot gnu dot org


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


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

* [Bug libobjc/13834] [3.3 Regression] forward / performv broken
  2004-01-23 17:10 [Bug libobjc/13834] New: forward / performv broken gavin at ipalsoftware dot com
                   ` (4 preceding siblings ...)
  2004-04-18 18:49 ` pinskia at gcc dot gnu dot org
@ 2004-04-18 19:48 ` pinskia at gcc dot gnu dot org
  2004-04-18 20:52 ` pinskia at gcc dot gnu dot org
  2004-04-27  6:45 ` gdr at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-18 19:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-18 19:36 -------
I cannot figure out what fixed this on the mainline, I tried all patches from the mainline seperately and 
they did not fix this problem.  I think this can be closed as fixed in 3.4.0.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |3.3.3 3.4.0


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


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

* [Bug libobjc/13834] [3.3 Regression] forward / performv broken
  2004-01-23 17:10 [Bug libobjc/13834] New: forward / performv broken gavin at ipalsoftware dot com
                   ` (5 preceding siblings ...)
  2004-04-18 19:48 ` pinskia at gcc dot gnu dot org
@ 2004-04-18 20:52 ` pinskia at gcc dot gnu dot org
  2004-04-27  6:45 ` gdr at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-18 20:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-18 19:38 -------
Stupid browser and autocomplenation.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|3.3.3 3.4.0                 |3.3.3


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


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

* [Bug libobjc/13834] [3.3 Regression] forward / performv broken
  2004-01-23 17:10 [Bug libobjc/13834] New: forward / performv broken gavin at ipalsoftware dot com
                   ` (6 preceding siblings ...)
  2004-04-18 20:52 ` pinskia at gcc dot gnu dot org
@ 2004-04-27  6:45 ` gdr at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: gdr at gcc dot gnu dot org @ 2004-04-27  6:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at gcc dot gnu dot org  2004-04-27 06:37 -------
Fixed in 3.4.0.

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


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


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

end of thread, other threads:[~2004-04-27  6:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-23 17:10 [Bug libobjc/13834] New: forward / performv broken gavin at ipalsoftware dot com
2004-01-23 17:18 ` [Bug libobjc/13834] [3.3 Regression] " pinskia at gcc dot gnu dot org
2004-02-15 12:40 ` gdr at gcc dot gnu dot org
2004-02-22 15:01 ` gdr at gcc dot gnu dot org
2004-04-18 18:47 ` gdr at gcc dot gnu dot org
2004-04-18 18:49 ` pinskia at gcc dot gnu dot org
2004-04-18 19:48 ` pinskia at gcc dot gnu dot org
2004-04-18 20:52 ` pinskia at gcc dot gnu dot org
2004-04-27  6:45 ` gdr 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).