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

--- Comment #9 from Iain Sandoe <iains at gcc dot gnu.org> 2010-12-13 20:05:52 
UTC ---
hm  although we have:

gcc/common.opt:Common Joined Var(plugindir_string) Init(0)

I get....

Breakpoint 1 at 0x886ea4: file /GCC/gcc-live-trunk/gcc/plugin.c, line 880.
(gdb) run
Starting program: /Volumes/ScratchCS/gcc-4-6-trunk-build/gcc/cc1 -E -quiet -v
-iprefix
/Volumes/ScratchCS/gcc-4-6-trunk-build/gcc/../lib/gcc/powerpc-apple-darwin9/4.6.0/
-isystem gcc/include -isystem gcc/include-fixed -D__DYNAMIC__ -iplugindir=bar
/GCC/gcc-live-trunk/gcc/testsuite/gcc.dg/plugin/plugindir1.c -fPIC
-mmacosx-version-min=10.5.8 -m32 -fplugin=foo -fpch-preprocess -o plugindir1.i
Reading symbols for shared libraries ++++. done

Breakpoint 1, default_plugin_dir_name () at
/GCC/gcc-live-trunk/gcc/plugin.c:880
880       if (!plugindir_string)
(gdb) print plugindir_string
$1 = 0xffffffff <Address 0xffffffff out of bounds>

which is the origin of the current fail (there will be other issues related to
the FIXME, I'm sure).

Reply via email to