This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/25860] [4.2 Regression] ice with -g -O2 -fPIC



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]