[Bug target/23980] Bad assembly output in Thumb mode with -O2

2005-10-07 Thread czimman at bloomberg dot com
--- Comment #6 from czimman at bloomberg dot com 2005-10-07 15:54 --- Created an attachment (id=9928) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9928&action=view) mmcsd.i This is the pre-processed output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23980

[Bug target/23980] Bad assembly output in Thumb mode with -O2

2005-10-07 Thread czimman at bloomberg dot com
--- Comment #4 from czimman at bloomberg dot com 2005-10-07 14:53 --- Created an attachment (id=9927) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9927&action=view) mmcsd.s What happens is that a bogus label (.L622) gets created, and is treated as an unresolved symbol

[Bug target/23980] Bad assembly output in Thumb mode with -O2

2005-09-20 Thread czimman at bloomberg dot com
--- Additional Comments From czimman at bloomberg dot com 2005-09-20 17:25 --- -Wall gives a warning about i not being used, but that's it. We normally always build with -Wall enabled. Here's the preprocessed output: int mmcsd_read(void * dst, void * src, unsigned int len)

[Bug c/23980] New: Bad assembly output in Thumb mode with -O2

2005-09-20 Thread czimman at bloomberg dot com
ct: gcc Version: 3.4.4 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: czimman at bloomberg dot com CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i386-unknown-linux GCC target triplet: arm-elf-gcc http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23980