------- Comment #19 from justinmattock at gmail dot com 2010-04-24 06:34
-------
(In reply to comment #18)
> I should have been more aggressive in my searches; filed a duplicate bug
> report
> #43840. I have a small test case there that compiles fine under 4.6.0 with
> -O1
> but fails on this bug with -O1 -finline-small-functions:
>
>
> typedef unsigned long int (*a)(unsigned long int *);
>
> extern __inline__ unsigned long int e(unsigned long int *d){
> unsigned long int r;
> u(r,d);
> return r;
> }
>
> a s(a f){
> return f;
> }
>
> int main(void){
> unsigned long int b[1];
> unsigned long int c;
> int i;
>
> for(i=0;i<1;i++){
> c=(*s(e))(b);
> c=(*s(e))(b);
> }
> return 0;
> }
>
no worries over here..(I should of looked harder before filing).,
anyways I can give those a try and see.. interesting thing here is this
boot/crash I'm hitting.. In any case I'll give your(-O1
-finline-small-functions)and maybe other switches a try and see.
I can set things up for a bisect...I just need to find the git address
so I can pull the latest,then I can have a go(good/bad).
Justin P. Mattock
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43791