This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/32950] [4.5 regression] ICE with __complex__ double



------- Comment #16 from pinskia at gcc dot gnu dot org  2009-06-07 15:55 -------
Wait, (In reply to comment #15)
> (In reply to comment #11)
> > It is caused by revision 147980:
> > 
> > http://gcc.gnu.org/ml/gcc-cvs/2009-05/msg00959.html
> > 
> 
> Revision 147978 also does not work if you compile the testcase with
> the -fno-tree-sra switch.
> 
> New SRA uncovers this problem because it sees the structure containing
> only a  single field  always accessed  as a structure  and never  as a
> scalar and so  does not scalarize it.  Something  goes wrong later on,
> probably when  expanding to RTL.  Unfortunately, I  cannot help fixing
> that.

I think that should always scalarize as it is a single field as it is always
better to scalarize single field structs (except maybe bitfield ones).

-- Pinski


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]