public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/35834] New: building libiberty fails in build2_stat for -mcpu=m32c as of r133403
@ 2008-04-05 15:36 dj at redhat dot com
2008-04-05 15:37 ` [Bug tree-optimization/35834] " dj at redhat dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: dj at redhat dot com @ 2008-04-05 15:36 UTC (permalink / raw)
To: gcc-bugs
$ ./cc1 -fpreprocessed /tmp/cplus-dem.i -quiet -dumpbase cplus-dem.c
-mcpu=m32cm -auxbase-strip cplus-dem.o -g -O2 -W -Wall -Wwrite-strings
-Wc++-compat -Wstrict-prototypes -pedantic -o cplus-dem.s
../../../../gcc/libiberty/cplus-dem.c: In function
'cplus_demangle_name_to_style':
../../../../gcc/libiberty/cplus-dem.c:807: internal compiler error: in
build2_stat, at tree.c:3107
--
Summary: building libiberty fails in build2_stat for -mcpu=m32c
as of r133403
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dj at redhat dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: m32c-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35834
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/35834] building libiberty fails in build2_stat for -mcpu=m32c as of r133403
2008-04-05 15:36 [Bug tree-optimization/35834] New: building libiberty fails in build2_stat for -mcpu=m32c as of r133403 dj at redhat dot com
@ 2008-04-05 15:37 ` dj at redhat dot com
2008-04-05 15:57 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: dj at redhat dot com @ 2008-04-05 15:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dj at redhat dot com 2008-04-05 15:36 -------
Created an attachment (id=15433)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15433&action=view)
preprocessed cplus-dem.i
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35834
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/35834] building libiberty fails in build2_stat for -mcpu=m32c as of r133403
2008-04-05 15:36 [Bug tree-optimization/35834] New: building libiberty fails in build2_stat for -mcpu=m32c as of r133403 dj at redhat dot com
2008-04-05 15:37 ` [Bug tree-optimization/35834] " dj at redhat dot com
@ 2008-04-05 15:57 ` rguenth at gcc dot gnu dot org
2008-04-05 16:09 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-04-05 15:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2008-04-05 15:56 -------
This will eventually fix it (and not break sth else):
Index: tree-ssa-address.c
===================================================================
--- tree-ssa-address.c (revision 133937)
+++ tree-ssa-address.c (working copy)
@@ -639,9 +639,9 @@ create_mem_ref (block_stmt_iterator *bsi
{
atype = TREE_TYPE (parts.base);
parts.base = force_gimple_operand_bsi (bsi,
- fold_build2 (PLUS_EXPR, atype,
+ fold_build2 (POINTER_PLUS_EXPR, atype,
parts.base,
- fold_convert (atype, parts.index)),
+ parts.index),
true, NULL_TREE, true, BSI_SAME_STMT);
}
else
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35834
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/35834] building libiberty fails in build2_stat for -mcpu=m32c as of r133403
2008-04-05 15:36 [Bug tree-optimization/35834] New: building libiberty fails in build2_stat for -mcpu=m32c as of r133403 dj at redhat dot com
2008-04-05 15:37 ` [Bug tree-optimization/35834] " dj at redhat dot com
2008-04-05 15:57 ` rguenth at gcc dot gnu dot org
@ 2008-04-05 16:09 ` rguenth at gcc dot gnu dot org
2008-04-08 9:55 ` rguenth at gcc dot gnu dot org
2008-04-08 9:56 ` rguenth at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-04-05 16:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2008-04-05 16:08 -------
I am testing it on x86_64-linux, can you do m32c testing?
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-04-05 16:08:44
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35834
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/35834] building libiberty fails in build2_stat for -mcpu=m32c as of r133403
2008-04-05 15:36 [Bug tree-optimization/35834] New: building libiberty fails in build2_stat for -mcpu=m32c as of r133403 dj at redhat dot com
` (2 preceding siblings ...)
2008-04-05 16:09 ` rguenth at gcc dot gnu dot org
@ 2008-04-08 9:55 ` rguenth at gcc dot gnu dot org
2008-04-08 9:56 ` rguenth at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-04-08 9:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2008-04-08 09:54 -------
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35834
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/35834] building libiberty fails in build2_stat for -mcpu=m32c as of r133403
2008-04-05 15:36 [Bug tree-optimization/35834] New: building libiberty fails in build2_stat for -mcpu=m32c as of r133403 dj at redhat dot com
` (3 preceding siblings ...)
2008-04-08 9:55 ` rguenth at gcc dot gnu dot org
@ 2008-04-08 9:56 ` rguenth at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-04-08 9:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2008-04-08 09:55 -------
Subject: Bug 35834
Author: rguenth
Date: Tue Apr 8 09:53:52 2008
New Revision: 134090
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134090
Log:
2008-04-08 Richard Guenther <rguenther@suse.de>
PR middle-end/35834
* tree-ssa-address.c (create_mem_ref): Use POINTER_PLUS_EXPR
for adding index to base.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-ssa-address.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35834
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-04-08 9:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-05 15:36 [Bug tree-optimization/35834] New: building libiberty fails in build2_stat for -mcpu=m32c as of r133403 dj at redhat dot com
2008-04-05 15:37 ` [Bug tree-optimization/35834] " dj at redhat dot com
2008-04-05 15:57 ` rguenth at gcc dot gnu dot org
2008-04-05 16:09 ` rguenth at gcc dot gnu dot org
2008-04-08 9:55 ` rguenth at gcc dot gnu dot org
2008-04-08 9:56 ` rguenth 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).