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 target/20625] [4.0/4.1 regression] ivopts produces code that generates "unaligned access exception"


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-29 20:03 -------
This most likely can be reproduced on ia64 too and other targets where alignment is needed for some 
loads.

The tree which we produce looks like:
<bb 0>:
  if (p->c[0] != 0) goto <L0>; else goto <L2>;

<L0>:;
  D.1133 = *((unsigned char *) p + 5B);
  p = p + 1B;
  if (D.1133 != 0) goto <L0>; else goto <L2>;

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.0 regression] ivopts     |[4.0/4.1 regression] ivopts
                   |produces code that generates|produces code that generates
                   |"unaligned access exception"|"unaligned access exception"
   Target Milestone|---                         |4.0.0


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


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