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 middle-end/37928] [graphite] ICE :Segmentation fault



------- Comment #2 from grosser at gcc dot gnu dot org  2008-10-30 04:15 -------
Created an attachment (id=16586)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16586&action=view)
Add POINTER_PLUS_EXPR - Improvement?

It seems we miss the POINTER_PLUS_EXPR. In most cases in tree-scalar-evol.c and
tree-chrec.c it is handled like a PLUS_EXPR. If I add it, the test case passes
the front end, but fails again in gloog() with:
#0  0x089d919f in link_imm_use (linknode=0x29072c4c, def=0x20017) at
tree-flow-inline.h:323
#1  0x089d914e in set_ssa_use_from_ptr (use=0x29072c4c, val=0x20017) at
tree-flow-inline.h:342
#2  0x089d9097 in graphite_rename_variables_in_stmt (stmt=0x29060528,
map=0x8d8b040)
    at ../../../git/gcc/graphite.c:3512
#3  0x089d9b89 in graphite_rename_variables (bb=0x29060618, map=0x8d8b040)
    at ../../../git/gcc/graphite.c:3685
#4  0x089da177 in translate_clast (scop=0x8d321c0, context_loop=0x29100948,
stmt=0x8d8a350, 
    next_e=0x290c2988, ivstack=0xbfbfe880) at ../../../git/gcc/graphite.c:3816
#5  0x089d9fbd in translate_clast (scop=0x8d321c0, context_loop=0x29100948,
stmt=0x8d8a110, 
    next_e=0x290c25c8, ivstack=0xbfbfe880) at ../../../git/gcc/graphite.c:3781


I will have to think about the patch. Opinions?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37928


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