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/22141] [4.0/4.1 Regression] Missing optimization when storing structures



------- Comment #3 from pinskia at gcc dot gnu dot org  2005-10-31 03:59 -------
(In reply to comment #2)
> Leaving as P2.
> Do we know what's different?
Yes in 4.0 and above there is no CONSTRUCTOR so we don't see the full
CONSTRUCTOR in expand so it could expand to just one integer store.

>The structure type is byte-aligned.  How did 2.95 justify using a 4-byte store?
There is no strict alignment requirements for either PPC or x86 which is why
GCC did it.


-- 


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


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