public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug target/44501] Wrong register stored [not found] <bug-44501-4@http.gcc.gnu.org/bugzilla/> @ 2010-11-06 12:48 ` avr at gjlay dot de 2010-11-06 12:57 ` eric.weddington at atmel dot com 1 sibling, 0 replies; 4+ messages in thread From: avr at gjlay dot de @ 2010-11-06 12:48 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44501 Georg Lay <avr at gjlay dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |avr at gjlay dot de --- Comment #4 from Georg Lay <avr at gjlay dot de> 2010-11-06 12:48:35 UTC --- I think this bug should be closed. It's about a private port from Atmel for AVR32 which is not in GCC main line. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/44501] Wrong register stored [not found] <bug-44501-4@http.gcc.gnu.org/bugzilla/> 2010-11-06 12:48 ` [Bug target/44501] Wrong register stored avr at gjlay dot de @ 2010-11-06 12:57 ` eric.weddington at atmel dot com 1 sibling, 0 replies; 4+ messages in thread From: eric.weddington at atmel dot com @ 2010-11-06 12:57 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44501 Eric Weddington <eric.weddington at atmel dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot |eweddington at gcc dot |gnu.org |gnu.org --- Comment #5 from Eric Weddington <eric.weddington at atmel dot com> 2010-11-06 12:56:40 UTC --- (In reply to comment #4) > I think this bug should be closed. > > It's about a private port from Atmel for AVR32 which is not in GCC main line. I'm leaving it open for the moment. Assigning to self. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/44501] New: Wrong register stored @ 2010-06-11 13:23 roland dot cassebohm at dh-partner dot com 2010-06-11 13:36 ` [Bug target/44501] " roland dot cassebohm at dh-partner dot com 2010-06-11 14:38 ` pinskia at gcc dot gnu dot org 0 siblings, 2 replies; 4+ messages in thread From: roland dot cassebohm at dh-partner dot com @ 2010-06-11 13:23 UTC (permalink / raw) To: gcc-bugs Hello, it seems if there is a bug in the avr 32 gcc compiler. avr32-gcc: version 4.3.2 toolchain: avr32-gnu-toolchain-2.4.2-setup.exe avr32studio: avr32studio-ide-installer-2.5.0.35-win32.win32.x86.exe Both got from www.atmel.com Device: UC3B0256 Compilerflags: -O2 -g2 -mpart=uc3b0256 When compiling the atached example whith optimation "O2" the line: telegramm[10] = 1; won't be translated right. In the listfile I see, that the wrong register will be stored to "telegramm[10]". Listfile: telegramm[10] = 1; 8000011a: 30 1a mov r10,1 void test_func(u8_t port) { u8_t *telegramm = test_str[port].telegramm_tx; telegramm[6] = 33; 8000011c: b8 e9 st.b r12[0x6],r9 telegramm[10] = 1; 8000011e: f9 68 00 0a st.b r12[10],r8 It will store r8 instead of r10, which has got the 1. I don't know if you coult help me, because the gcc ported from Atmel? I have attached the test code, the listfile and the output of avr32-gcc -v -save-temps -O2 -g3 -mpart=uc3b0256 -c main.o main.c. (hope I can attach them after commit) -- Summary: Wrong register stored Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: roland dot cassebohm at dh-partner dot com GCC host triplet: i686-pc-cygwin GCC target triplet: avr32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44501 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/44501] Wrong register stored 2010-06-11 13:23 [Bug c/44501] New: " roland dot cassebohm at dh-partner dot com @ 2010-06-11 13:36 ` roland dot cassebohm at dh-partner dot com 2010-06-11 14:38 ` pinskia at gcc dot gnu dot org 1 sibling, 0 replies; 4+ messages in thread From: roland dot cassebohm at dh-partner dot com @ 2010-06-11 13:36 UTC (permalink / raw) To: gcc-bugs -- roland dot cassebohm at dh-partner dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |critical http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44501 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/44501] Wrong register stored 2010-06-11 13:23 [Bug c/44501] New: " roland dot cassebohm at dh-partner dot com 2010-06-11 13:36 ` [Bug target/44501] " roland dot cassebohm at dh-partner dot com @ 2010-06-11 14:38 ` pinskia at gcc dot gnu dot org 1 sibling, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2010-06-11 14:38 UTC (permalink / raw) To: gcc-bugs -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44501 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-11-06 12:57 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-44501-4@http.gcc.gnu.org/bugzilla/> 2010-11-06 12:48 ` [Bug target/44501] Wrong register stored avr at gjlay dot de 2010-11-06 12:57 ` eric.weddington at atmel dot com 2010-06-11 13:23 [Bug c/44501] New: " roland dot cassebohm at dh-partner dot com 2010-06-11 13:36 ` [Bug target/44501] " roland dot cassebohm at dh-partner dot com 2010-06-11 14:38 ` pinskia at gcc dot gnu dot org
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).