Launchpad has imported 3 comments from the remote bug at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45735.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-09-20T17:45:21+00:00 Matthias Klose wrote:

seen in 4.3, 4.4, 4.5, 4.6, didn't find an existing report:

$ gcc -c Fraction.m
Fraction.m:9:29: error: expected identifier before ':' token
Fraction.m:9:29: internal compiler error: tree check: expected tree that 
contains 'decl minimal' structure, have 'error_mark' in objc_add_method, at 
objc/objc-act.c:6941
Please submit a full bug report,
with preprocessed source if appropriate.


@interface Fraction {

 int numaretor;
 int denominator;

}
-(void) print;
-(void) setNumaretor: (int) :(int) ;

-(int) numaretor;
-(int) denominator;

@end

@implementation Fraction
-(void) print {
  printf("%i/%i",numaretor,denominator);
 }

-(void) setNumaretor: (int) n: (int) m {
  numaretor = n;
  denominator = m;
 }

-(int) numaretor {
  return numaretor;
 }

-(int) denominator {
  return denominator;
 }

@end

Reply at: https://bugs.launchpad.net/gcc/+bug/610851/comments/2

------------------------------------------------------------------------
On 2010-10-24T16:48:59+00:00 Nicola-gcc wrote:

Author: nicola
Date: Sun Oct 24 16:48:57 2010
New Revision: 165901

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165901
Log:
2010-10-24  Nicola Pero  <nicola.p...@meta-innovation.com>

        PR objc/45735   
        * obj-c.dg/pr45735.mm: New.     
        * obj-c++.dg/pr45735.mm: New.

Added:
    trunk/gcc/testsuite/obj-c++.dg/pr45735.mm
    trunk/gcc/testsuite/objc.dg/pr45735.m
Modified:
    trunk/gcc/testsuite/ChangeLog

Reply at: https://bugs.launchpad.net/gcc/+bug/610851/comments/5

------------------------------------------------------------------------
On 2010-10-24T16:50:04+00:00 Nicola-gcc wrote:

Fixed in trunk, and testcases committed to trunk.

Thanks

Reply at: https://bugs.launchpad.net/gcc/+bug/610851/comments/6


** Changed in: gcc
       Status: Unknown => Fix Released

** Changed in: gcc
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/610851

Title:
  [PR45735] "cc1obj" closed unexpectedly

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to