public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/45800] New: [M32C] compile error on increment volatile long var
@ 2010-09-26 18:31 aesok at gcc dot gnu.org
2010-09-29 11:01 ` [Bug target/45800] " dj at redhat dot com
2010-09-29 11:03 ` dj at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: aesok at gcc dot gnu.org @ 2010-09-26 18:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45800
Summary: [M32C] compile error on increment volatile long var
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: aesok@gcc.gnu.org
CC: dj@redhat.com
Target: M32C
Hi!
The following code snippet leads to compile error
volatile long boo = 0;
void
foo (void)
{
boo++;
}
[]$ /opt/m32c-elf/bin/m32c-elf-gcc -O1 -c test.c -o test.o
unconvertible operand - `Sms'(subreg:HI (mem/v/c/i:SI (symbol_ref:HI ("boo")
[flags 0x2] <var_decl 0x7faa9a811000 boo>) [0 boo+0 S4 A8]) 0)
unconvertible operand - `Sms'(subreg:HI (mem/v/c/i:SI (symbol_ref:HI ("boo")
[flags 0x2] <var_decl 0x7faa9a811000 boo>) [0 boo+0 S4 A8]) 2)
/tmp/ccx0sAA0.s: Assembler messages:
/tmp/ccx0sAA0.s:6: Error: Invalid literal `add.w #0x1,[-.Sms]'
/tmp/ccx0sAA0.s:7: Error: Invalid literal `adcf.w [-.Sms]'
Anatoly.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/45800] [M32C] compile error on increment volatile long var
2010-09-26 18:31 [Bug target/45800] New: [M32C] compile error on increment volatile long var aesok at gcc dot gnu.org
@ 2010-09-29 11:01 ` dj at redhat dot com
2010-09-29 11:03 ` dj at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: dj at redhat dot com @ 2010-09-29 11:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45800
DJ Delorie <dj at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2010.09.28 21:18:10
date| |
AssignedTo|unassigned at gcc dot |dj at redhat dot com
|gnu.org |
Ever Confirmed|0 |1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/45800] [M32C] compile error on increment volatile long var
2010-09-26 18:31 [Bug target/45800] New: [M32C] compile error on increment volatile long var aesok at gcc dot gnu.org
2010-09-29 11:01 ` [Bug target/45800] " dj at redhat dot com
@ 2010-09-29 11:03 ` dj at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: dj at gcc dot gnu.org @ 2010-09-29 11:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45800
--- Comment #2 from dj at gcc dot gnu.org <dj at gcc dot gnu.org> 2010-09-28 22:01:58 UTC ---
Author: dj
Date: Tue Sep 28 22:01:54 2010
New Revision: 164705
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164705
Log:
PR target/45800
* config/m32c/m32c.c (m32c_subreg): Force adjustment of subregs of
volatile MEMs.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/m32c/m32c.c
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-09-28 22:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-26 18:31 [Bug target/45800] New: [M32C] compile error on increment volatile long var aesok at gcc dot gnu.org
2010-09-29 11:01 ` [Bug target/45800] " dj at redhat dot com
2010-09-29 11:03 ` dj at gcc dot gnu.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).