http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
Iain Sandoe iains at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #28 from Iain Sandoe iains at gcc dot gnu.org 2011-11-12 14:05:03
UTC ---
Author: iains
Date: Sat Nov 12 14:04:58 2011
New Revision: 181314
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=181314
Log:
gcc/objc:
Backport from
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #26 from Iain Sandoe iains at gcc dot gnu.org 2011-10-29 12:59:33
UTC ---
Author: iains
Date: Sat Oct 29 12:59:30 2011
New Revision: 180653
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=180653
Log:
gcc/objc:
PR
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #27 from Iain Sandoe iains at gcc dot gnu.org 2011-10-29 13:03:27
UTC ---
let's give it a few weeks on trunk - and then back-port to 4.6 if all is OK
(since we just missed the 4.6.2 release).
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #25 from Tobias Netzel tobias.netzel at googlemail dot com
2011-09-08 16:27:21 UTC ---
As for me the patch does what it is expected to do; no more linker warnings
when linking objective-c code. I didn't notice anything that might be
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #24 from mrs at gcc dot gnu.org mrs at gcc dot gnu.org 2011-08-31
17:55:19 UTC ---
I don't have a take on the best way to fix this. With that said, if you like
the last patch and it tests out, Ok.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #20 from Iain Sandoe iains at gcc dot gnu.org 2011-07-21 07:54:51
UTC ---
hm .. I think this might be a new (objc). bug, rather than a back-end problem;
since it doesn't show with normal c-strings (even when compiled -x
objective-c).
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #21 from Iain Sandoe iains at gcc dot gnu.org 2011-07-21 09:05:10
UTC ---
This is indeed a new bug - if there is to be any lengthly deliberation, please
move it to its own PR (against objective-c).
calling fix_string_type () on
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #22 from Iain Sandoe iains at gcc dot gnu.org 2011-07-21 10:36:02
UTC ---
hmm, comment #21 is not the right solution ... (even if it works)
... the right solution is either
(a) to handle arrays of arbitrary-sized ints in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #23 from Iain Sandoe iains at gcc dot gnu.org 2011-07-21 14:52:26
UTC ---
OK, done some more debugging
so one can't call fix_string_type () twice on the same string and get a
sensible result...
... the determination of the
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #15 from Tobias Netzel tobias.netzel at googlemail dot com
2011-07-20 20:51:12 UTC ---
Created attachment 24800
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24800
sample objective-c code that still causes the warning
Said
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
Tobias Netzel tobias.netzel at googlemail dot com changed:
What|Removed |Added
CC|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
m...@gcc.gnu.org mrs at gcc dot gnu.org changed:
What|Removed |Added
Status|RESOLVED|NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #18 from mrs at gcc dot gnu.org mrs at gcc dot gnu.org 2011-07-20
21:25:37 UTC ---
Iain, I'm thinking we should do your code unconditionally for darwin10 and
later. In darwin10.h, we put:
#define LINKER_PEDANTICALLY_WANTS_CSTRING 1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #19 from Tobias Netzel tobias.netzel at googlemail dot com
2011-07-20 21:53:16 UTC ---
(In reply to comment #18)
Iain, I'm thinking we should do your code unconditionally for darwin10 and
later. In darwin10.h, we put:
To me it
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #13 from Iain Sandoe iains at gcc dot gnu.org 2011-06-28 09:16:08
UTC ---
Author: iains
Date: Tue Jun 28 09:16:04 2011
New Revision: 175578
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=175578
Log:
PR target/47997
*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
Iain Sandoe iains at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #12 from Iain Sandoe iains at gcc dot gnu.org 2011-06-26 16:25:32
UTC ---
Author: iains
Date: Sun Jun 26 16:25:29 2011
New Revision: 175410
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=175410
Log:
PR target/47997
*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #9 from Iain Sandoe iains at gcc dot gnu.org 2011-03-12 10:08:56
UTC ---
(In reply to comment #8)
firstly, I don't think you need to worry overly about the warning (we do place
the strings in the __TEXT segment, just not in the
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #10 from Iain Sandoe iains at gcc dot gnu.org 2011-03-12 13:45:38
UTC ---
patch @ comment #9 works for me on *-darwin9 (places the strings in .cstring).
I would propose this rather than the one in comment #2.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #11 from Mike Stump mikestump at comcast dot net 2011-03-12
16:23:45 UTC ---
Ok for the patch in comment #9.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #8 from Anatol anatol.pomozov at gmail dot com 2011-03-12
04:50:22 UTC ---
What are the plans? Are you going to submit the fix to 4.6?
How can I help you with testing?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #4 from Jack Howarth howarth at nitro dot med.uc.edu 2011-03-07
15:37:54 UTC ---
The proposed patch in Comment 2 fixes the problem testcase and causes no
regressions on x86_64-apple-darwin10.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
m...@gcc.gnu.org mrs at gcc dot gnu.org changed:
What|Removed |Added
CC||mrs at gcc dot
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #6 from Jack Howarth howarth at nitro dot med.uc.edu 2011-03-07
17:46:58 UTC ---
(In reply to comment #5)
Ok. I'm hoping you double checked the incantation with the other version that
exists.
How would I do that?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #7 from Mike Stump mikestump at comcast dot net 2011-03-07
18:16:13 UTC ---
Ok, you can look for strlen (s) == IDENTIFIER_LENGTH (x) in either the
darwin.[ch] files, or, failing one there, in the backend files... I know I've
seen one
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
Iain Sandoe iains at gcc dot gnu.org changed:
What|Removed |Added
Target|
27 matches
Mail list logo