This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/25860] [4.2 Regression] ice with -g -O2 -fPIC
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jan 2006 16:14:56 -0000
- Subject: [Bug tree-optimization/25860] [4.2 Regression] ice with -g -O2 -fPIC
- References: <bug-25860-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from pinskia at gcc dot gnu dot org 2006-01-20 16:14 -------
(In reply to comment #6)
> This one is actually not a trivial problem to fix ATM (in this case,
> eliminate would need to be changed as well), so it would be best to just
> change the can_PRE_operation to have something like:
>
> || (TREE_CODE (op) == INDIRECT_REF && !AGGREGATE_TYPE_P (TREE_TYPE
> (op))))
>
>
> If someone wants to bootstrap and test that fix before i get to it in
> the next week or so, that's fine.
That did not work, we get a different ICE:
t.cc: In function 'savewav':
t.cc:11: internal compiler error: in find_or_generate_expression, at
tree-ssa-pre.c:2029
Please submit a full bug report,
with preprocessed source if appropriate.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25860