public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* Possibly a bug
@ 2011-05-20 12:23 Abdul Wahid Memon
  2011-05-22  8:29 ` Eric Botcazou
  0 siblings, 1 reply; 2+ messages in thread
From: Abdul Wahid Memon @ 2011-05-20 12:23 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Possibly a bug
  2011-05-20 12:23 Possibly a bug Abdul Wahid Memon
@ 2011-05-22  8:29 ` Eric Botcazou
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Botcazou @ 2011-05-22  8:29 UTC (permalink / raw)
  To: Abdul Wahid Memon; +Cc: gcc-bugs

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

This error means that some basic blocks are unreachable in the CFG.  The CFG 
needs to be cleaned up before that point.

-- 
Eric Botcazou


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-22  8:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-20 12:23 Possibly a bug Abdul Wahid Memon
2011-05-22  8:29 ` Eric Botcazou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).