public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/48561] internal compiler error: in change_address_1, at emit-rtl.c:1954 Date: Wed, 11 Jan 2012 13:41:00 -0000 [thread overview] Message-ID: <bug-48561-4-avhR2hsHhV@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-48561-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48561 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-*-* Status|WAITING |NEW Known to fail| |4.5.3 --- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-11 13:40:21 UTC --- Confirmed. Works on 4.6 and 4.7. Reduced testcase: typedef unsigned char uint8_t; typedef unsigned int uint32_t; typedef uint32_t ITERATOR_TYPE; const uint8_t RETIRED = (1 << 1); struct AQMRU_Instantiated_For_Payload { ITERATOR_TYPE next; uint8_t flags; }; typedef struct { ITERATOR_TYPE queueHead; ITERATOR_TYPE queueCount; ITERATOR_TYPE stackHead; struct AQMRU_Instantiated_For_Payload entries[((1 == sizeof(ITERATOR_TYPE)) ? (255) : ((2 == sizeof(ITERATOR_TYPE)) ? (65535) : ((4 == sizeof(ITERATOR_TYPE)) ? (4294967295U) : 0)))]; } TestQueue; int main(int argc, const char *argv[]) { TestQueue testQueue; ITERATOR_TYPE iter; ITERATOR_TYPE count; for (count = 0; count < ((1 == sizeof(ITERATOR_TYPE)) ? (255) : ((2 == sizeof(ITERATOR_TYPE)) ? (65535) : ((4 == sizeof(ITERATOR_TYPE)) ? (4294967295U) : 0))); ++count) { ITERATOR_TYPE temp = iter; iter = testQueue.entries[iter].next; testQueue.queueHead = iter; testQueue.queueCount--; if (0 == testQueue.queueCount) { ((((1 == sizeof(ITERATOR_TYPE)) ? (255) : ((2 == sizeof(ITERATOR_TYPE)) ? (65535) : ((4 == sizeof(ITERATOR_TYPE)) ? (4294967295U) : 0))) == testQueue.queueHead) ? (void) (0) : __assert_fail ()); } testQueue.entries[temp].next = testQueue.stackHead; testQueue.stackHead = temp; } } notice the large variable testQueue.
next prev parent reply other threads:[~2012-01-11 13:41 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-04-11 20:48 [Bug c/48561] New: " brian.davis at eclipseoptions dot com 2011-04-12 10:32 ` [Bug c/48561] " rguenth at gcc dot gnu.org 2011-04-13 14:26 ` brian.davis at eclipseoptions dot com 2011-04-13 14:28 ` brian.davis at eclipseoptions dot com 2012-01-11 13:41 ` rguenth at gcc dot gnu.org [this message] 2012-01-11 13:46 ` [Bug c/48561] [4.4 Regression] " rguenth at gcc dot gnu.org 2012-01-11 13:55 ` rguenth at gcc dot gnu.org 2012-03-13 17:20 ` jakub at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-48561-4-avhR2hsHhV@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).