Opened 11 years ago

Last modified 11 years ago

#38008 closed defect

avr-gcc application — at Version 2

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

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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 (3)

Changed 11 years ago by wcontello

Attachment: CompilerBugDemo.zip added

supporting files to demonstrate problem

comment:1 Changed 11 years ago by wcontello

Cc: wcontello@… added

Cc Me!

g5pw@…

Last edited 11 years ago by wcontello (previous) (diff)

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: wcontello@… removed
Description: modified (diff)
Keywords: avr-gcc 4.7.2 removed
Owner: changed from macports-tickets@… to g5pw@…
Note: See TracTickets for help on using tickets.