public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/38692]  New: ep9312/maverick code generation is broken
@ 2009-01-02 12:40 martinwguy at yahoo dot it
  2009-01-02 14:19 ` [Bug target/38692] " laurent at guerby dot net
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: martinwguy at yahoo dot it @ 2009-01-02 12:40 UTC (permalink / raw)
  To: gcc-bugs

The Cirrus MaverickCrunch code generator has never worked. For example:

#include <stdio.h>
main()
{
        int i; double d;
        for (i=3, d=3; i<=5; i++, d++) {
                printf("%g", d);
                if (d < 4.0) printf(" lt";
                if (d > 4.0) printf(" gt");
                if (d <= 4.0) printf(" le");
                if (d >= 4.0) printf(" ge");
                putchar('\n');
        }
}

should output

3 lt le
4 le ge
5 gt ge

but outputs

3 lt le
4 le ge
5 lt gt le ge

There is a set of patches to cleanly fix code generation in EABI environment
under http://martinwguy.co.uk/martin/crunch as weel as description of the
Maverick's other problems and how they are addressed.


-- 
           Summary: ep9312/maverick code generation is broken
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: martinwguy at yahoo dot it
GCC target triplet: arm-linux-gnueabi


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-07-10  9:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-38692-4@http.gcc.gnu.org/bugzilla/>
2012-07-10  9:03 ` [Bug target/38692] ep9312/maverick code generation is broken rearnsha at gcc dot gnu.org
2009-01-02 12:40 [Bug target/38692] New: " martinwguy at yahoo dot it
2009-01-02 14:19 ` [Bug target/38692] " laurent at guerby dot net
2009-01-02 15:22 ` pinskia at gcc dot gnu dot org
2009-01-03 14:44 ` martinwguy at yahoo dot it
2009-01-03 15:41 ` laurent at guerby dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).