[Bug bootstrap/42400] objc build fails

2009-12-17 Thread paolo dot carlini at oracle dot com


-- 

paolo dot carlini at oracle dot com changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |pzhao at gcc dot gnu dot org
   |dot org |
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2009-12-17 11:15:51
   date||


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



[Bug bootstrap/42400] objc build fails

2009-12-17 Thread rainer at emrich-ebersheim dot de


--- Comment #1 from rainer at emrich-ebersheim dot de  2009-12-17 11:21 
---
(In reply to comment #0)
> most likely the changes of 155302 are the cause.
> 
> ../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘objc_substitute_decl’:
> ../../gcc-4-5-libwork/gcc/objc/objc-act.c:3118:14: error: incompatible type 
> for
> argument 3 of ‘build_indirect_ref’
> ../../gcc-4-5-libwork/gcc/c-common.h:465:13: note: expected ‘ref_operator’ but
> argument is of type ‘const char *’
> ../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘build_ivar_reference’:
> ../../gcc-4-5-libwork/gcc/objc/objc-act.c:6826:14: error: incompatible type 
> for
> argument 3 of ‘build_indirect_ref’
> ../../gcc-4-5-libwork/gcc/c-common.h:465:13: note: expected ‘ref_operator’ but
> argument is of type ‘const char *’
> ../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘get_super_receiver’:
> ../../gcc-4-5-libwork/gcc/objc/objc-act.c:8844:10: error: incompatible type 
> for
> argument 3 of ‘build_indirect_ref’
> ../../gcc-4-5-libwork/gcc/c-common.h:465:13: note: expected ‘ref_operator’ but
> argument is of type ‘const char *’
> cc1: warnings being treated as errors
> ../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘build_ivar_reference’:
> ../../gcc-4-5-libwork/gcc/objc/objc-act.c:6827:1: error: control reaches end 
> of
> non-void function
> make[3]: *** [objcp/objcp-act.o] Error 1
> make[2]: *** [all-stage2-gcc] Error 2
> make[1]: *** [stage2-bubble] Error 2
> make: *** [bootstrap] Error 2
> 

Confirmed for x86_64-unknown-linux-gnu.

It's caused by r155302 see http://gcc.gnu.org/ml/gcc-cvs/2009-12/msg00446.html
and PR40885.


-- 

rainer at emrich-ebersheim dot de changed:

   What|Removed |Added

 CC||rainer at emrich-ebersheim
   ||dot de


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



[Bug bootstrap/42400] objc build fails

2009-12-17 Thread developer at sandoe-acoustics dot co dot uk


--- Comment #2 from developer at sandoe-acoustics dot co dot uk  2009-12-17 
11:30 ---
Created an attachment (id=19337)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19337&action=view)
apply the new ref_operator to objc-act.c

this is a mechanical change to the file, bootstrapped and checked on
i686-apple-darwin9


-- 


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



[Bug bootstrap/42400] objc build fails

2009-12-17 Thread paolo dot carlini at oracle dot com


--- Comment #3 from paolo dot carlini at oracle dot com  2009-12-17 12:00 
---
Fixed with:

  http://gcc.gnu.org/ml/gcc-cvs/2009-12/msg00455.html


-- 

paolo dot carlini at oracle dot com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



[Bug bootstrap/42400] objc build fails

2009-12-17 Thread linuxl4 at sohu dot com


--- Comment #4 from linuxl4 at sohu dot com  2009-12-17 12:32 ---
confirmed! Today my gcc 4.5 bootstrap also failed :(


-- 


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