This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

3.1 m68k/coldfire code gen problem!!


I was tracking down problems compiling RTEMS with gcc 3.1
and came across a case where my gcc 3.1 produces incorrect
code for the ColdFire.  Does anyone have a binary for an
m68k compiler newer than mine to doublecheck on?

$ /opt/gcc-3.1-test/bin/m68k-rtems-gcc --version
m68k-rtems-gcc (GCC) 3.1 20020430 (prerelease)

bash-2.05$ m68k-rtems-gcc -m5200 -O -c testcase.c 
bash-2.05$ m68k-rtems-gcc -m5200 -O2 -c testcase.c 
bash-2.05$ m68k-rtems-gcc -m5200 -O4 -c testcase.c 
/tmp/ccQJLRmU.s: Assembler messages:
/tmp/ccQJLRmU.s:90: Error: operands mismatch -- statement `ext.l %a1'

Attached is a bzip'ed test case. It is straight out of

I have cc'ed the folks listed as m68k maintainers 
in the hopes that they have a compiler built and 
can duplicate this with an other m68k target 
before I file a PR with the release pending. :)

Hopefully this has been fixed in the passed week. 


Joel Sherrill, Ph.D.             Director of Research & Development                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985

Attachment: testcase.c.bz2
Description: Binary data

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]