This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/46915] Wrong code is generated for conditional branch followed by zero length asm
- From: "dave at hiauly1 dot hia.nrc.ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Dec 2010 03:59:17 +0000
- Subject: [Bug target/46915] Wrong code is generated for conditional branch followed by zero length asm
- Auto-submitted: auto-generated
- References: <bug-46915-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46915
--- Comment #5 from dave at hiauly1 dot hia.nrc.ca 2010-12-13 03:59:08 UTC ---
Testing attached change. branch_to_delay_slot_p didn't correctly
handle asms, etc. When it is fixed, branch_needs_nop_p isn't needed.
It also didn't handle all cases.
Dave