[Bug c/46902] [4.6 Regression] gcc.dg/plugin/plugindir*.c gives ICEs on powerpc-apple-darwin9
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Mon Dec 13 18:53:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46902
--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2010-12-13 18:53:41 UTC ---
On Mon, 13 Dec 2010, dominiq at lps dot ens.fr wrote:
> I am fluent neither in C nor gdb. Does not "first=0xffffffff <Address
> 0xffffffff out of bounds>" answer the first question? I tried to go a little
> bit further by setting breakpoints at 'add_new_plugin' and
> 'default_plugin_dir_name' and tried to print 'plugindir_string', but ran out of
> idea at
>
> Breakpoint 3, default_plugin_dir_name () at ../../gcc-4.6-work/gcc/plugin.c:880
> 880 if (!plugindir_string)
> (gdb) p plugindir_string
> No symbol "plugindir_string" in current context.
Thats global_options.x_plugindir_string. If it's an invalid pointer then
setting a watchpoint on it might help show when that pointer was stored
(or there may be other memory debugging tools available on your platform).
In any case, please post the exact cc1 command line.
More information about the Gcc-bugs
mailing list