public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/47998] New: ICE of -O2
@ 2011-03-05 16:49 ysato at users dot sourceforge.jp
2011-03-06 8:11 ` [Bug target/47998] " ysato at users dot sourceforge.jp
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: ysato at users dot sourceforge.jp @ 2011-03-05 16:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47998
Summary: ICE of -O2
Product: gcc
Version: 4.5.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ysato@users.sourceforge.jp
Target: h8300-elf
$ cat ice-test.c
unsigned char buf[2048];
unsigned char *ptr;
void test(void)
{
ptr = buf + (32 - 1);
ptr -= (unsigned long)ptr % 32;
}
$ h8300-elf-gcc-4.5.3 -mh -mint32 -g -O2 -S ice-test.c
ice-test.c: In function ‘test’:
ice-test.c:8:1: internal compiler error: in gen_lowpart_general, at
rtlhooks.c:59
-O0 or -O1 is no problem.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/47998] ICE of -O2
2011-03-05 16:49 [Bug target/47998] New: ICE of -O2 ysato at users dot sourceforge.jp
@ 2011-03-06 8:11 ` ysato at users dot sourceforge.jp
2011-03-06 8:55 ` ysato at users dot sourceforge.jp
2015-02-05 23:45 ` law at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: ysato at users dot sourceforge.jp @ 2011-03-06 8:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47998
--- Comment #1 from Yoshinori Sato <ysato at users dot sourceforge.jp> 2011-03-06 08:11:08 UTC ---
Created attachment 23557
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23557
proposal fix
It mismatch of restriction rule.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/47998] ICE of -O2
2011-03-05 16:49 [Bug target/47998] New: ICE of -O2 ysato at users dot sourceforge.jp
2011-03-06 8:11 ` [Bug target/47998] " ysato at users dot sourceforge.jp
@ 2011-03-06 8:55 ` ysato at users dot sourceforge.jp
2015-02-05 23:45 ` law at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: ysato at users dot sourceforge.jp @ 2011-03-06 8:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47998
Yoshinori Sato <ysato at users dot sourceforge.jp> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #23557|0 |1
is obsolete| |
--- Comment #2 from Yoshinori Sato <ysato at users dot sourceforge.jp> 2011-03-06 08:55:28 UTC ---
Created attachment 23558
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23558
proposal fix
Sorry. I mistake.
Update changes.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/47998] ICE of -O2
2011-03-05 16:49 [Bug target/47998] New: ICE of -O2 ysato at users dot sourceforge.jp
2011-03-06 8:11 ` [Bug target/47998] " ysato at users dot sourceforge.jp
2011-03-06 8:55 ` ysato at users dot sourceforge.jp
@ 2015-02-05 23:45 ` law at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: law at redhat dot com @ 2015-02-05 23:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47998
Jeffrey A. Law <law at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |law at redhat dot com
Resolution|--- |DUPLICATE
--- Comment #3 from Jeffrey A. Law <law at redhat dot com> ---
It's not obvious, but this is a duplicate of 45623 which was resolved years
ago.
*** This bug has been marked as a duplicate of bug 45633 ***
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-02-05 23:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-05 16:49 [Bug target/47998] New: ICE of -O2 ysato at users dot sourceforge.jp
2011-03-06 8:11 ` [Bug target/47998] " ysato at users dot sourceforge.jp
2011-03-06 8:55 ` ysato at users dot sourceforge.jp
2015-02-05 23:45 ` law at redhat dot com
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).