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 tree-optimization/21171] [4.0/4.1 Regression] Generates wrong code (w/ optimization) when copying data from a table to a table in a structure


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-26 19:51 -------
The problem comes from dce but the problem is that IV OPT is making the pointer as "unsigned int *", 
because the field's type is just "unsigned int[]" but since the orginal type of the struct is volatile, we 
don't have a vop as it is volatile store. And since IV opts just copies the vops and not run aliasing (which 
right now causes a different issue on 4.0 branch), we don't get a vop.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.0 Regression] Generates  |[4.0/4.1 Regression]
                   |wrong code (w/ optimization)|Generates wrong code (w/
                   |when copying data from a    |optimization) when copying
                   |table to a table in a       |data from a table to a table
                   |structure                   |in a structure


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


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