Opened 11 years ago

Last modified 11 years ago

#38008 closed defect

avr-gcc application — at Initial Version

Reported by: wcontello Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: avr-gcc

Description

I cannot see how to file a report with the application maintainer: it appears a 16 bit compare tries to use a register that the compiler expected to be 0 but is not. When I compile a set of source using version 4.5.1 I get code that works but when I use 4.7.2 the code does not work. I am attaching a zip file which contains:

  • a MakeFile for building the avr hex and elf files along with the commands I use to get the resulting files
  • a pdf where I have tried to highlight the offending lines
  • a main.c file you can compile using the make file to build the avr target or build for your native platform (I'm on a Mac OS X machine so I have a APPLE preprocessor which you may need to change)
  • a Problem.txt file that details what I was trying to do (The LED does in one direction and never turns around)

Change History (1)

Changed 11 years ago by wcontello

Attachment: CompilerBugDemo.zip added

supporting files to demonstrate problem

Note: See TracTickets for help on using tickets.