This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: ARM code generation bug with -O2...
- To: Scott Bambrough <scottb at netwinder dot org>
- Subject: Re: ARM code generation bug with -O2...
- From: Philip Blundell <Philip dot Blundell at pobox dot com>
- Date: Wed, 28 Jun 2000 23:18:36 +0100
- cc: gcc bugs list <gcc-bugs at gcc dot gnu dot org>, Richard Earnshaw <richard dot earnshaw at arm dot com>, Nick Clifton <nickc at cygnus dot com>
- References: <395A4B28.FCDB480B@netwinder.org>
>Should the compiler be generating this assembler construct?
No. The generated code you quoted derives no advantage from the post-inc
and this construct is fairly clearly bogus. Do you have a testcase?
p.