This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [ssa-branch]using libbanshee with gcc
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>, "" <gcc at gcc dot gnu dot org>,"" <law at redhat dot com>
- Date: Sun, 26 Jan 2003 16:16:03 -0500 (EST)
- Subject: Re: [ssa-branch]using libbanshee with gcc
- References: <2735757A-312E-11D7-AE5B-000393A6D2F2@physics.uc.edu><u8of64c6rc.fsf@gromit.moeb>
On Sun, 26 Jan 2003, Andreas Jaeger wrote:
> Andrew Pinski <pinskia@physics.uc.edu> writes:
>
> > The patch work but there was problem while bootstrapping:
>
> A similar error happens on i686-linux-gnu with current CVS:
>
> gcc -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -fno-common -DHAVE_CONFIG_H -o cc1 \
> c-parse.o c-lang.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-objc-common.o c-dump.o c-pch.o libcpp.a c-simplify.o c-call-graph.o tree-mudflap.o c-mudflap.o c-pretty-print.o main.o libbackend.a ../libiberty/libiberty.a
> /builds/gcc/misc/gcc/xgcc -B/builds/gcc/misc/gcc/ -B/opt/gcc/tree-ssa-20020619-branch/i686-pc-linux-gnu/bin/ -B/opt/gcc/tree-ssa-20020619-branch/i686-pc-linux-gnu/lib/ -isystem /opt/gcc/tree-ssa-20020619-branch/i686-pc-linux-gnu/include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -I. -I. -I/cvs/gcc-tree-ssa-20020619-branch/gcc -I/cvs/gcc-tree-ssa-20020619-branch/gcc/. -I/cvs/gcc-tree-ssa-20020619-branch/gcc/config -I/cvs/gcc-tree-ssa-20020619-branch/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-omit-frame-pointer \
> -c /cvs/gcc-tree-ssa-20020619-branch/gcc/crtstuff.c -DCRT_BEGIN \
> -o crtbegin.o
> /cvs/gcc-tree-ssa-20020619-branch/gcc/crtstuff.c: In function `__do_global_dtors_aux':
> /cvs/gcc-tree-ssa-20020619-branch/gcc/crtstuff.c:256: internal compiler error: in simplify_expr, at gimplify.c:667
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
Neither are bugs introduced by me.
The bugs were introduced by Jeff's patch to examine static initializers.
Since the simplification test is is_simple_constructor, and what it
simplies to is not a constructor, is_simple_constructor returns false, and
the simplifier aborts.
Jeff, please fix this.
If you have to hack up the machinery so that it looks at something,
without caring whether it actually simplifies it, make an is_simple_*
function that just returns true, and use that as the predicate.
> > /Volumes/UFS_Partition/pinskia/src/gccssa/src/libbanshee/libcompat/
> > regions.c: In function `region_init':
> > /Volumes/UFS_Partition/pinskia/src/gccssa/src/libbanshee/libcompat/
> > regions.c:304: internal compiler error: in simplify_expr, at
> > gimplify.c:667
> > Please submit a full bug report,
> > with preprocessed source if appropriate.
> > See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> > [...]
>