[Bug middle-end/39378] Multiple inheritence thunk not working with -mthumb

2009-03-17 Thread dougkwan at gcc dot gnu dot org


--- Comment #2 from dougkwan at gcc dot gnu dot org  2009-03-17 20:18 
---
Subject: Bug 39378

Author: dougkwan
Date: Tue Mar 17 20:18:21 2009
New Revision: 144918

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=144918
Log:
2009-03-12  Jing Yu  jin...@google.com

PR middle-end/39378
* function.h: Move is_thunk from rtl_data structure to function
structure.
* cp/method.c (use_thunk): Change is_thunk from crtl to cfun.
* varasm.c (assemble_start_function): Change is_thunk from crtl to
cfun.
* config/alpha/alpha.c: Change is_thunk from crtl to cfun.
* config/rs6000/rs6000.c: Change is_thunk from crtl to cfun.
* config/arm/arm.h: Change is_thunk from crtl to cfun.
* testsuite/g++.dg/inherit/thunk10.C: New file.

Patch submitted by Doug Kwan dougk...@google.com


Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/alpha/alpha.c
trunk/gcc/config/arm/arm.h
trunk/gcc/config/rs6000/rs6000.c
trunk/gcc/cp/method.c
trunk/gcc/function.h
trunk/gcc/testsuite/ChangeLog
trunk/gcc/varasm.c


-- 


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



[Bug middle-end/39378] Multiple inheritence thunk not working with -mthumb

2009-03-17 Thread dougkwan at google dot com


--- Comment #3 from dougkwan at google dot com  2009-03-17 20:20 ---
Patch checked into trunk.


-- 

dougkwan at google dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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



[Bug middle-end/39378] Multiple inheritence thunk not working with -mthumb

2009-03-17 Thread ebotcazou at gcc dot gnu dot org


--- Comment #4 from ebotcazou at gcc dot gnu dot org  2009-03-17 21:22 
---
* cp/method.c (use_thunk): Change is_thunk from crtl to cfun.

in ChangeLog is incorrect.  It should be

* method.c (use_thunk): Change is_thunk from crtl to cfun.

in cp/ChangeLog.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org


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



[Bug middle-end/39378] Multiple inheritence thunk not working with -mthumb

2009-03-11 Thread ramana dot r at gmail dot com


--- Comment #1 from ramana dot r at gmail dot com  2009-03-11 23:30 ---
Patch submitted at http://gcc.gnu.org/viewcvs?view=revrevision=143367


-- 


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