public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/60310] New: internal compiler error due to excessive alignment
@ 2014-02-22 0:52 mikulas at artax dot karlin.mff.cuni.cz
2014-02-22 1:33 ` [Bug middle-end/60310] " glisse at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: mikulas at artax dot karlin.mff.cuni.cz @ 2014-02-22 0:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60310
Bug ID: 60310
Summary: internal compiler error due to excessive alignment
Product: gcc
Version: 4.8.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: mikulas at artax dot karlin.mff.cuni.cz
Host: arm-linux-gnueabihf
Target: arm-linux-gnueabihf
Build: arm-linux-gnueabihf
When compiling this piece of code with or without optimizations, gcc crashes
with
an internal error:
int f(void)
{
struct { __attribute__((aligned(1 << 28)))double a; } x;
return 0;
}
alignof.c: In function 'f':
alignof.c:3:9: internal compiler error: in round_up_loc, at fold-const.c:16748
struct { __attribute__((aligned(1 << 28)))double a; } x;
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccQIqkJl.out file, please attach this to
your bugreport.
I reproduced the bug on gcc-4.6.4, gcc-4.7.2, gcc-4.7.3, gcc-4.8.2.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug middle-end/60310] internal compiler error due to excessive alignment
2014-02-22 0:52 [Bug middle-end/60310] New: internal compiler error due to excessive alignment mikulas at artax dot karlin.mff.cuni.cz
@ 2014-02-22 1:33 ` glisse at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: glisse at gcc dot gnu.org @ 2014-02-22 1:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60310
Marc Glisse <glisse at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
Dup.
*** This bug has been marked as a duplicate of bug 60226 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-22 1:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-22 0:52 [Bug middle-end/60310] New: internal compiler error due to excessive alignment mikulas at artax dot karlin.mff.cuni.cz
2014-02-22 1:33 ` [Bug middle-end/60310] " glisse 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).