public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/36116] New: ICE with -O2 -ftree-loop-distribution -funsafe-loop-optimizations -m32
@ 2008-05-03 2:27 martin dot drab at fjfi dot cvut dot cz
2008-05-03 2:28 ` [Bug tree-optimization/36116] " martin dot drab at fjfi dot cvut dot cz
2008-12-29 3:24 ` reichelt at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: martin dot drab at fjfi dot cvut dot cz @ 2008-05-03 2:27 UTC (permalink / raw)
To: gcc-bugs
When the attached example is compiled by the
gcc version 4.4.0 20080430 (experimental) (GCC)
using
------------
gcc -O2 -ftree-loop-distribution -funsafe-loop-optimizations -m32 -c
png2theora.c.c -o x.o
------------
it produces the following error:
----------------
png2theora.c: In function 'main':
png2theora.c:405: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
----------------
--
Summary: ICE with -O2 -ftree-loop-distribution -funsafe-loop-
optimizations -m32
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: martin dot drab at fjfi dot cvut dot cz
GCC build triplet: x86_64-pc-linux-gnu
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36116
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/36116] ICE with -O2 -ftree-loop-distribution -funsafe-loop-optimizations -m32
2008-05-03 2:27 [Bug tree-optimization/36116] New: ICE with -O2 -ftree-loop-distribution -funsafe-loop-optimizations -m32 martin dot drab at fjfi dot cvut dot cz
@ 2008-05-03 2:28 ` martin dot drab at fjfi dot cvut dot cz
2008-12-29 3:24 ` reichelt at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: martin dot drab at fjfi dot cvut dot cz @ 2008-05-03 2:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from martin dot drab at fjfi dot cvut dot cz 2008-05-03 02:27 -------
Created an attachment (id=15565)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15565&action=view)
Triggers the bug
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36116
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/36116] ICE with -O2 -ftree-loop-distribution -funsafe-loop-optimizations -m32
2008-05-03 2:27 [Bug tree-optimization/36116] New: ICE with -O2 -ftree-loop-distribution -funsafe-loop-optimizations -m32 martin dot drab at fjfi dot cvut dot cz
2008-05-03 2:28 ` [Bug tree-optimization/36116] " martin dot drab at fjfi dot cvut dot cz
@ 2008-12-29 3:24 ` reichelt at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-12-29 3:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from reichelt at gcc dot gnu dot org 2008-12-29 03:22 -------
Instead of a segfault I see a crash in fold_binary, at fold-const.c:9278
Reduced testcase that crashes already with "-O -ftree-loop-distribution":
==========================================
extern void *malloc (__SIZE_TYPE__ n);
void foo()
{
char *p, *q;
int i;
p = malloc(8);
q = malloc(8);
for (i = 0; i < 8; i += 2)
{
p[i >> 1] = 0;
q[i >> 1] = 0;
}
}
==========================================
Apparently this has been fixed with the patch for PR38250.
*** This bug has been marked as a duplicate of 38250 ***
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36116
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-12-29 3:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-03 2:27 [Bug tree-optimization/36116] New: ICE with -O2 -ftree-loop-distribution -funsafe-loop-optimizations -m32 martin dot drab at fjfi dot cvut dot cz
2008-05-03 2:28 ` [Bug tree-optimization/36116] " martin dot drab at fjfi dot cvut dot cz
2008-12-29 3:24 ` reichelt 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).