Hello everyone I am sorry if this question doesn't relates to the bugs mailing list but I think its a bug.
I posted a question on gcc-help but didn't got a useful answer yet. I am using plugin with gcc-4.5.3. The plugin just uses a simple number_of_loops() function. Plugin defines 2 passes (one at GIMPEL level and the other at RTL). GIMPLE Pass goes smoothly but at RTL, I receive an error concerning dominance.c hello.c: In function ‘main’: hello.c:13:1: internal compiler error: in calc_dfs_tree, at dominance.c:394 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. There are 2 functions in hello.c. Things are fine if main function call another function (in this case called function doesn't return any value) but if I modify the function to return some value then I get the above error but only in RTL pass.