This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/37431] New: ACATS failures for alignment
- From: "joel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Sep 2008 19:08:19 -0000
- Subject: [Bug ada/37431] New: ACATS failures for alignment
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Worked on SVN trunk:
http://gcc.gnu.org/ml/gcc-testresults/2008-08/msg02355.html
c34002a and ~100 more. Code is being generated for a byte wide access of the
stack and causing an alignment exception on an ERC32 CPU. Compiler invocation:
sparc-rtems4.9-gnatmake -fstack-check -v -O -gnatws -O2
-I/home/joel/work-gnat/svn/gcc/gcc/testsuite/ada/acats/work-sis/support
c34002a.adb -bargs -Mgnat_main -largs
-B/home/joel/work-gnat/svn//bsp-install/sparc-rtems4.9/sis/lib/ -specs
bsp_specs -qrtems -mcpu=cypress
/home/joel/work-gnat/svn/gcc/gcc/testsuite/ada/acats/work-sis/rtems_init.o
(gdb) p/x $pc
$3 = 0x2003a98
0x02003a98 <_ada_c34002a+124>: st %o0, [ %fp + -89 ]
(gdb) si
Unexpected trap (0x 7) at address 0x02003A98
memory address not aligned
--
Summary: ACATS failures for alignment
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: joel at gcc dot gnu dot org
GCC target triplet: sparc-rtems4.9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37431