This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Putting target-dependent global state into switchable structures
- From: Mike Stump <mikestump at comcast dot net>
- To: Richard Sandiford <rdsandiford at googlemail dot com>
- Cc: Gcc Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 23 Aug 2012 14:29:39 -0700
- Subject: Re: RFC: Putting target-dependent global state into switchable structures
- References: <87pqzdegwc.fsf@firetop.home> <3D6C15DE-F3F5-409D-A715-5048C96EDD82@comcast.net> <87obm14agt.fsf@talisman.home>
On Aug 23, 2012, at 1:30 PM, Richard Sandiford wrote:
>> ../../gcc/gcc/target-globals.c: In function ‘target_globals* save_target_globals()’:
>> ../../gcc/gcc/target-globals.c:69:33: error: ‘ggc_alloc_target_globals’ was not declared in this scope
>> make: *** [target-globals.o] Error 1
>>
>> after the switch to C++. I was wondering if your switchable target port compiles post the switch to C++?
>
> Yeah, mips64-elf with today's trunk seems OK.
So, where is the prototype for this function? a grep seems not to find it. Possibly my compiler is pickier than yours, I'm using g++ 4.5.1 apparently.