------- Comment #10 from pinskia at gcc dot gnu dot org 2006-10-01 20:25 ------- Caused by: 2004-08-18 Fariborz Jahanian <[EMAIL PROTECTED]>
* config/rs6000/altivec.md: Add new patterns for calls to save_world/rest_world functions. * config/rs6000/rs6000-protos.h: (save_world_operation, restore_world_operation) new declarations. * config/rs6000/rs6000.c: (struct rs6000_stack) new world_save_p field added. (rs6000_stack_info): Set world_save_p field. (save_world_operation): New function. (restore_world_operation): New function. (compute_save_world_info): New function. (rs6000_stack_info): Call compute_save_world_info. (rs6000_emit_prologue): Check for world_save_p and generate pattern to call save_world for saving all non-volatile and special registers. (rs6000_emit_epilogue): Check for world_save_p and generate pattern to call rest_world to restore saved registers. config/rs6000/rs6000.h: macros FIRST_SAVED_ALTIVEC_REGNO, FIRST_SAVED_FP_REGNO, FIRST_SAVED_GP_REGNO defined. (rs6000_reg_names): New entries added for save_world_operation and restore_world_operation. Which makes this a regression. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |blocker Summary|internal compiler error: in |[4.0/4.1/4.2 Regression] |rs6000_emit_prologue, at |internal compiler error: in |config/rs6000/rs6000.c:14039|rs6000_emit_prologue, at | |config/rs6000/rs6000.c:14039 Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25127