[Bug objc/44125] [4.6 Regression] const-str-9 fails.

2010-05-28 Thread mrs at gcc dot gnu dot org
--- Comment #4 from mrs at gcc dot gnu dot org 2010-05-28 18:34 --- Subject: Bug 44125 Author: mrs Date: Fri May 28 18:33:45 2010 New Revision: 159989 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159989 Log: PR objc/44125 * objc.dg/const-str-9.m: Remove static.

[Bug objc/44125] [4.6 Regression] const-str-9 fails.

2010-05-28 Thread mrs at gcc dot gnu dot org
--- Comment #5 from mrs at gcc dot gnu dot org 2010-05-28 18:35 --- static isn't part of the test case, it just wasn't reduced. -- mrs at gcc dot gnu dot org changed: What|Removed |Added

[Bug objc/44125] [4.6 Regression] const-str-9 fails.

2010-05-19 Thread iains at gcc dot gnu dot org
--- Comment #3 from iains at gcc dot gnu dot org 2010-05-19 23:17 --- static const NSConstantString *appKey = @MyApp; is not being emitted because it's unused - this seems correct behavior to me. solutions: (a) make it const NSConstantString *appKey = @MyApp; (b) add : void *foo

[Bug objc/44125] [4.6 Regression] const-str-9 fails.

2010-05-14 Thread iains at gcc dot gnu dot org
--- Comment #1 from iains at gcc dot gnu dot org 2010-05-14 06:39 --- r159321 caused this. I think this is a case where we are generating initialization of a class - maybe we're not marking something the way that is expected? ccing Jan. -- iains at gcc dot gnu dot org changed:

[Bug objc/44125] [4.6 Regression] const-str-9 fails.

2010-05-14 Thread iains at gcc dot gnu dot org
--- Comment #2 from iains at gcc dot gnu dot org 2010-05-14 06:42 --- the working output (const-str-9.s) is: .lazy_reference .objc_class_name_NSConstantString .comm __NSConstantStringClassReference,4,2 .const .align 2 LC0: .ascii MyApp\0