public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/25127]  New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
@ 2005-11-27 21:54 schnetter at aei dot mpg dot de
  2005-11-27 22:19 ` [Bug target/25127] " pinskia at gcc dot gnu dot org
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: schnetter at aei dot mpg dot de @ 2005-11-27 21:54 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3854 bytes --]

I try to install gcc 4.1; I have

$ svn info
Path: .
URL: svn://gcc.gnu.org/svn/gcc/branches/gcc-4_1-branch
Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4
Revision: 107570
Node Kind: directory
Schedule: normal
Last Changed Author: kargl
Last Changed Rev: 107569
Last Changed Date: 2005-11-27 09:51:54 -0600 (Sun, 27 Nov 2005)
Properties Last Updated: 2005-11-27 14:41:39 -0600 (Sun, 27 Nov 2005)

I configured with

$ CFLAGS='-g -O2 -mcpu=G4 -mabi=altivec -mlongcall' CXXFLAGS='-g -O2 -mcpu=G4
-mabi=altivec -mlongcall' FCFLAGS='-g -O2 -mcpu=G4 -mabi=altivec -mlongcall'
/Users/eschnett/src/gcc-4.1/configure --prefix=/Users/eschnett/gcc
--with-mpfr=/Users/eschnett --disable-multilib
--enable-languages=c,c++,fortran,java,objc,treelang

and a "make boostrap" results in

./xgcc -B./ -B/Users/eschnett/gcc/powerpc-apple-darwin8.3.0/bin/ -isystem
/Users/eschnett/gcc/powerpc-apple-darwin8.3.0/include -isystem
/Users/eschnett/gcc/powerpc-apple-darwin8.3.0/sys-include
-L/Users/eschnett/src/gcc-build-4.1/gcc/../ld -O2  -O2 -g -O2 -mcpu=G4
-mabi=altivec -mlongcall  -DIN_GCC    -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include  -Wa,-force_cpusubtype_ALL -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I/Users/eschnett/src/gcc-4.1/gcc
-I/Users/eschnett/src/gcc-4.1/gcc/.
-I/Users/eschnett/src/gcc-4.1/gcc/../include -I./../intl
-I/Users/eschnett/src/gcc-4.1/gcc/../libcpp/include -I/Users/eschnett/include
-fexceptions -fvisibility=hidden -DHIDE_EXPORTS -c
/Users/eschnett/src/gcc-4.1/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
/Users/eschnett/src/gcc-4.1/gcc/unwind.inc: In function
‘_Unwind_RaiseException’:
/Users/eschnett/src/gcc-4.1/gcc/unwind.inc:140: internal compiler error: in
rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
{standard input}:4874:non-relocatable subtraction expression, "L_abort$stub"
minus "L550_pic"
{standard input}:4874:symbol: "L_abort$stub" can't be undefined in a
subtraction expression
{standard input}:4872:non-relocatable subtraction expression, "L_abort$stub"
minus "L550_pic"
{standard input}:4872:symbol: "L_abort$stub" can't be undefined in a
subtraction expression
{standard input}:4602:non-relocatable subtraction expression, "L_abort$stub"
minus "L517_pic"
{standard input}:4602:symbol: "L_abort$stub" can't be undefined in a
subtraction expression
{standard input}:4600:non-relocatable subtraction expression, "L_abort$stub"
minus "L517_pic"

[some similar lines omitted]

{standard input}:unknown:Undefined local symbol L_abort$stub
{standard input}:unknown:Undefined local symbol L__Unwind_Find_FDE$stub
{standard input}:unknown:Undefined local symbol L_memcpy$stub
{standard input}:unknown:Undefined local symbol L_memset$stub
{standard input}:unknown:Undefined local symbol
L__Unwind_fallback_frame_state_for$stub
{standard input}:unknown:Undefined local symbol L_strlen$stub
{standard input}:unknown:Undefined local symbol L_pthread_once$stub
make[3]: *** [libgcc/./unwind-dw2.o] Error 1
make[2]: *** [libgcc.a] Error 2
make[1]: *** [stage1_build] Error 2
make: *** [bootstrap] Error 2


-- 
           Summary: internal compiler error: in rs6000_emit_prologue, at
                    config/rs6000/rs6000.c:14039
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schnetter at aei dot mpg dot de
 GCC build triplet: powerpc-apple-darwin8.3.0
  GCC host triplet: powerpc-apple-darwin8.3.0
GCC target triplet: powerpc-apple-darwin8.3.0


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
@ 2005-11-27 22:19 ` pinskia at gcc dot gnu dot org
  2005-11-27 22:30 ` schnetter at aei dot mpg dot de
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-27 22:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-11-27 22:19 -------
Is there a reason why you are bootstrapping with -mlongcall?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |target
           Keywords|                            |build, ice-on-valid-code


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
  2005-11-27 22:19 ` [Bug target/25127] " pinskia at gcc dot gnu dot org
@ 2005-11-27 22:30 ` schnetter at aei dot mpg dot de
  2005-11-28  3:19 ` schnetter at aei dot mpg dot de
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: schnetter at aei dot mpg dot de @ 2005-11-27 22:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from schnetter at aei dot mpg dot de  2005-11-27 22:30 -------
In the end, I want to build some large applications, and I had an error at one
time where one of gcc's run time libraries needed to be built with -mlongcall. 
I didn't investigate this more closely, and I could be wrong with that
statement, so that some other change that I made made my application build
successfully.

I've been bootstrapping with -mlongcall for some time, and I didn't encounter
any problems.  I'm using Apple's gcc 3.3 for bootstrapping.  I'm now re-running
the bootstrap with the options "-mcpu=G4 -mabi=altivec" removed, and this seems
to go fine (so far).


-- 


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
  2005-11-27 22:19 ` [Bug target/25127] " pinskia at gcc dot gnu dot org
  2005-11-27 22:30 ` schnetter at aei dot mpg dot de
@ 2005-11-28  3:19 ` schnetter at aei dot mpg dot de
  2005-11-28  5:07 ` pinskia at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: schnetter at aei dot mpg dot de @ 2005-11-28  3:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from schnetter at aei dot mpg dot de  2005-11-28 03:19 -------
After removing the flags "-mcpu=G4 -mabi=altivec" from the explicit compiler
options, the bootstrap completes fine.


-- 


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
                   ` (2 preceding siblings ...)
  2005-11-28  3:19 ` schnetter at aei dot mpg dot de
@ 2005-11-28  5:07 ` pinskia at gcc dot gnu dot org
  2005-11-28  6:13 ` schnetter at aei dot mpg dot de
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-28  5:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2005-11-28 05:07 -------
Can you attach the preprocessed source for unwind-dw2.c when bootstrapping with
options that ICE?


-- 


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
                   ` (3 preceding siblings ...)
  2005-11-28  5:07 ` pinskia at gcc dot gnu dot org
@ 2005-11-28  6:13 ` schnetter at aei dot mpg dot de
  2005-12-13 22:12 ` Daniel dot Davies at xerox dot com
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: schnetter at aei dot mpg dot de @ 2005-11-28  6:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from schnetter at aei dot mpg dot de  2005-11-28 06:13 -------
Created an attachment (id=10351)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10351&action=view)
Failing preprocessed source code (gzipped)


-- 


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
                   ` (4 preceding siblings ...)
  2005-11-28  6:13 ` schnetter at aei dot mpg dot de
@ 2005-12-13 22:12 ` Daniel dot Davies at xerox dot com
  2006-02-02 19:56 ` pinskia at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Daniel dot Davies at xerox dot com @ 2005-12-13 22:12 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3902 bytes --]



------- Comment #6 from Daniel dot Davies at xerox dot com  2005-12-13 22:12 -------
(In reply to comment #0)
> I try to install gcc 4.1; I have
> 
> $ svn info
> Path: .
> URL: svn://gcc.gnu.org/svn/gcc/branches/gcc-4_1-branch
> Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4
> Revision: 107570
> Node Kind: directory
> Schedule: normal
> Last Changed Author: kargl
> Last Changed Rev: 107569
> Last Changed Date: 2005-11-27 09:51:54 -0600 (Sun, 27 Nov 2005)
> Properties Last Updated: 2005-11-27 14:41:39 -0600 (Sun, 27 Nov 2005)
> 
> I configured with
> 
> $ CFLAGS='-g -O2 -mcpu=G4 -mabi=altivec -mlongcall' CXXFLAGS='-g -O2 -mcpu=G4
> -mabi=altivec -mlongcall' FCFLAGS='-g -O2 -mcpu=G4 -mabi=altivec -mlongcall'
> /Users/eschnett/src/gcc-4.1/configure --prefix=/Users/eschnett/gcc
> --with-mpfr=/Users/eschnett --disable-multilib
> --enable-languages=c,c++,fortran,java,objc,treelang
> 
> and a "make boostrap" results in
> 
> ./xgcc -B./ -B/Users/eschnett/gcc/powerpc-apple-darwin8.3.0/bin/ -isystem
> /Users/eschnett/gcc/powerpc-apple-darwin8.3.0/include -isystem
> /Users/eschnett/gcc/powerpc-apple-darwin8.3.0/sys-include
> -L/Users/eschnett/src/gcc-build-4.1/gcc/../ld -O2  -O2 -g -O2 -mcpu=G4
> -mabi=altivec -mlongcall  -DIN_GCC    -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
> ./include  -Wa,-force_cpusubtype_ALL -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
> -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I/Users/eschnett/src/gcc-4.1/gcc
> -I/Users/eschnett/src/gcc-4.1/gcc/.
> -I/Users/eschnett/src/gcc-4.1/gcc/../include -I./../intl
> -I/Users/eschnett/src/gcc-4.1/gcc/../libcpp/include -I/Users/eschnett/include
> -fexceptions -fvisibility=hidden -DHIDE_EXPORTS -c
> /Users/eschnett/src/gcc-4.1/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
> /Users/eschnett/src/gcc-4.1/gcc/unwind.inc: In function
> ‘_Unwind_RaiseException’:
> /Users/eschnett/src/gcc-4.1/gcc/unwind.inc:140: internal compiler error: in
> rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> {standard input}:4874:non-relocatable subtraction expression, "L_abort$stub"
> minus "L550_pic"
> {standard input}:4874:symbol: "L_abort$stub" can't be undefined in a
> subtraction expression
> {standard input}:4872:non-relocatable subtraction expression, "L_abort$stub"
> minus "L550_pic"
> {standard input}:4872:symbol: "L_abort$stub" can't be undefined in a
> subtraction expression
> {standard input}:4602:non-relocatable subtraction expression, "L_abort$stub"
> minus "L517_pic"
> {standard input}:4602:symbol: "L_abort$stub" can't be undefined in a
> subtraction expression
> {standard input}:4600:non-relocatable subtraction expression, "L_abort$stub"
> minus "L517_pic"
> 
> [some similar lines omitted]
> 
> {standard input}:unknown:Undefined local symbol L_abort$stub
> {standard input}:unknown:Undefined local symbol L__Unwind_Find_FDE$stub
> {standard input}:unknown:Undefined local symbol L_memcpy$stub
> {standard input}:unknown:Undefined local symbol L_memset$stub
> {standard input}:unknown:Undefined local symbol
> L__Unwind_fallback_frame_state_for$stub
> {standard input}:unknown:Undefined local symbol L_strlen$stub
> {standard input}:unknown:Undefined local symbol L_pthread_once$stub
> make[3]: *** [libgcc/./unwind-dw2.o] Error 1
> make[2]: *** [libgcc.a] Error 2
> make[1]: *** [stage1_build] Error 2
> make: *** [bootstrap] Error 2
> 
I had exactly the same bug when attempting to build gcc-4.0.1 and gcc-4.0.2 on
Mac OSX 10.4.3 (Mac Mini, 512 MB memory).  I used
cd build
../gcc-4.0.2/configure --with-cpu=7450 --with-float=hard --disable-nls
...
make bootstrap.

Changing to
../gcc-4.0.2/configure --disable-nls
appears to have solved the problem.


-- 


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
                   ` (5 preceding siblings ...)
  2005-12-13 22:12 ` Daniel dot Davies at xerox dot com
@ 2006-02-02 19:56 ` pinskia at gcc dot gnu dot org
  2006-02-02 20:22 ` pinskia at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-02 19:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2006-02-02 19:56 -------
Reducing.


-- 


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
                   ` (6 preceding siblings ...)
  2006-02-02 19:56 ` pinskia at gcc dot gnu dot org
@ 2006-02-02 20:22 ` pinskia at gcc dot gnu dot org
  2006-10-01 20:19 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-02 20:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pinskia at gcc dot gnu dot org  2006-02-02 20:22 -------
Reduced testcase:
struct _Unwind_Context
{
  void *ra;
}
init_dwarf_reg_size_table (void)
{
  struct _Unwind_Context this_context, cur_context;
  __builtin_unwind_init ();
  long offset = uw_install_context_1 ((&this_context), (&cur_context));
  void *handler = __builtin_frob_return_addr ((&cur_context)->ra);
  __builtin_eh_return (offset, handler);
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
  GCC build triplet|powerpc-apple-darwin8.3.0   |
   GCC host triplet|powerpc-apple-darwin8.3.0   |
 GCC target triplet|powerpc-apple-darwin8.3.0   |powerpc-*-darwin*
   Last reconfirmed|0000-00-00 00:00:00         |2006-02-02 20:22:25
               date|                            |


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
                   ` (7 preceding siblings ...)
  2006-02-02 20:22 ` pinskia at gcc dot gnu dot org
@ 2006-10-01 20:19 ` pinskia at gcc dot gnu dot org
  2006-10-01 20:26 ` [Bug target/25127] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-01 20:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pinskia at gcc dot gnu dot org  2006-10-01 20:19 -------
*** Bug 29310 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |frunzales at gmail dot com


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] [4.0/4.1/4.2 Regression] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
                   ` (8 preceding siblings ...)
  2006-10-01 20:19 ` pinskia at gcc dot gnu dot org
@ 2006-10-01 20:26 ` pinskia at gcc dot gnu dot org
  2006-10-01 22:56 ` mmitchel at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-01 20:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from pinskia at gcc dot gnu dot org  2006-10-01 20:25 -------
Caused by:
2004-08-18  Fariborz Jahanian <fjahanian@apple.com>

        * 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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] [4.0/4.1/4.2 Regression] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
                   ` (9 preceding siblings ...)
  2006-10-01 20:26 ` [Bug target/25127] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-10-01 22:56 ` mmitchel at gcc dot gnu dot org
  2007-01-25 15:58 ` [Bug target/25127] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-10-01 22:56 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] [4.0/4.1/4.2/4.3 Regression] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
                   ` (10 preceding siblings ...)
  2006-10-01 22:56 ` mmitchel at gcc dot gnu dot org
@ 2007-01-25 15:58 ` gdr at gcc dot gnu dot org
  2007-01-25 19:18 ` geoffk at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-01-25 15:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from gdr at gcc dot gnu dot org  2007-01-25 15:58 -------
This PR will not be fixed in GCC-4.0.4, so adjusting
the milestone.


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.4                       |4.1.3


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] [4.0/4.1/4.2/4.3 Regression] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
                   ` (11 preceding siblings ...)
  2007-01-25 15:58 ` [Bug target/25127] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
@ 2007-01-25 19:18 ` geoffk at gcc dot gnu dot org
  2007-01-25 19:20 ` geoffk at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: geoffk at gcc dot gnu dot org @ 2007-01-25 19:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from geoffk at gcc dot gnu dot org  2007-01-25 19:18 -------
I'm working on this.


-- 

geoffk at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |geoffk at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2006-02-02 20:22:25         |2007-01-25 19:18:42
               date|                            |


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] [4.0/4.1/4.2/4.3 Regression] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
                   ` (12 preceding siblings ...)
  2007-01-25 19:18 ` geoffk at gcc dot gnu dot org
@ 2007-01-25 19:20 ` geoffk at gcc dot gnu dot org
  2007-01-25 20:32 ` geoffk at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: geoffk at gcc dot gnu dot org @ 2007-01-25 19:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from geoffk at gcc dot gnu dot org  2007-01-25 19:20 -------
... at least, I think I have a patch which will fix it.


-- 


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] [4.0/4.1/4.2/4.3 Regression] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
                   ` (13 preceding siblings ...)
  2007-01-25 19:20 ` geoffk at gcc dot gnu dot org
@ 2007-01-25 20:32 ` geoffk at gcc dot gnu dot org
  2007-01-26  0:04 ` geoffk at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: geoffk at gcc dot gnu dot org @ 2007-01-25 20:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from geoffk at gcc dot gnu dot org  2007-01-25 20:32 -------
Subject: Bug 25127

Author: geoffk
Date: Thu Jan 25 20:32:06 2007
New Revision: 121184

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121184
Log:
2007-01-24  Geoffrey Keating  <geoffk@apple.com>

        PR 25127
        * config/rs6000/rs6000.c (first_altivec_reg_to_save): On Darwin,
        save Altivec registers in an eh_return function.
        (compute_vrsave_mask): Likewise.
        (rs6000_stack_info): Correct AIX/Darwin stack alignment computation
        for saving Altivec registers.
        (rs6000_emit_prologue): Don't allocate stack twice in
        eh_return function.  Correct expected value of altivec_save_offset
        when using save_world.  Describe save of R0 to stack when using
        save_world.  Describe stack pointer adjustment when using
        save_world.  Remove duplicated eh_return parameter register saving.
        Update sp_offset variable after save_world.
        * config/rs6000/t-darwin (LIB2FUNCS_STATIC_EXTRA): Remove
        darwin-world.asm.
        (LIB2FUNCS_EXTRA): Add darwin-world.asm.
        * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): -m64
        implies Altivec.

Index: gcc/testsuite/ChangeLog
2007-01-24  Geoffrey Keating  <geoffk@apple.com>

        * gcc.target/powerpc/darwin-ehreturn-1.c: New.
        * g++.dg/eh/simd-2.C: Also run on Darwin.
        * g++.dg/eh/simd-3.C: New.
        * g++.dg/eh/simd-4.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/eh/simd-3.C
    trunk/gcc/testsuite/g++.dg/eh/simd-4.C
    trunk/gcc/testsuite/gcc.target/powerpc/darwin-ehreturn-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/darwin.h
    trunk/gcc/config/rs6000/rs6000.c
    trunk/gcc/config/rs6000/t-darwin
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/eh/simd-2.C


-- 


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] [4.0/4.1/4.2/4.3 Regression] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
                   ` (14 preceding siblings ...)
  2007-01-25 20:32 ` geoffk at gcc dot gnu dot org
@ 2007-01-26  0:04 ` geoffk at gcc dot gnu dot org
  2007-01-26  0:05 ` geoffk at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: geoffk at gcc dot gnu dot org @ 2007-01-26  0:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from geoffk at gcc dot gnu dot org  2007-01-26 00:04 -------
Subject: Bug 25127

Author: geoffk
Date: Fri Jan 26 00:03:28 2007
New Revision: 121190

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121190
Log:
2007-01-24  Geoffrey Keating  <geoffk@apple.com>

        PR 25127
        * config/rs6000/rs6000.c (first_altivec_reg_to_save): On Darwin,
        save Altivec registers in an eh_return function.
        (compute_vrsave_mask): Likewise.
        (rs6000_stack_info): Correct AIX/Darwin stack alignment computation
        for saving Altivec registers.
        (rs6000_emit_prologue): Don't allocate stack twice in
        eh_return function.  Correct expected value of altivec_save_offset
        when using save_world.  Describe save of R0 to stack when using
        save_world.  Describe stack pointer adjustment when using
        save_world.  Remove duplicated eh_return parameter register saving.
        Update sp_offset variable after save_world.
        * config/rs6000/t-darwin (LIB2FUNCS_STATIC_EXTRA): Remove
        darwin-world.asm.
        (LIB2FUNCS_EXTRA): Add darwin-world.asm.
        * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): -m64
        implies Altivec.

Index: gcc/testsuite/ChangeLog
2007-01-24  Geoffrey Keating  <geoffk@apple.com>

        * gcc.target/powerpc/darwin-ehreturn-1.c: New.
        * g++.dg/eh/simd-2.C: Also run on Darwin.
        * g++.dg/eh/simd-3.C: New.
        * g++.dg/eh/simd-4.C: New.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/eh/simd-3.C
      - copied unchanged from r121184, trunk/gcc/testsuite/g++.dg/eh/simd-3.C
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/eh/simd-4.C
      - copied unchanged from r121184, trunk/gcc/testsuite/g++.dg/eh/simd-4.C
   
branches/gcc-4_2-branch/gcc/testsuite/gcc.target/powerpc/darwin-ehreturn-1.c
      - copied unchanged from r121184,
trunk/gcc/testsuite/gcc.target/powerpc/darwin-ehreturn-1.c
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/config/rs6000/darwin.h
    branches/gcc-4_2-branch/gcc/config/rs6000/rs6000.c
    branches/gcc-4_2-branch/gcc/config/rs6000/t-darwin
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/eh/simd-2.C


-- 


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] [4.0/4.1/4.2/4.3 Regression] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
                   ` (15 preceding siblings ...)
  2007-01-26  0:04 ` geoffk at gcc dot gnu dot org
@ 2007-01-26  0:05 ` geoffk at gcc dot gnu dot org
  2007-01-26  4:08 ` [Bug target/25127] [4.0/4.1 " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: geoffk at gcc dot gnu dot org @ 2007-01-26  0:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from geoffk at gcc dot gnu dot org  2007-01-26 00:05 -------
This should be fixed now in the trunk and 4.2 branches.


-- 

geoffk at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|geoffk at gcc dot gnu dot   |unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] [4.0/4.1 Regression] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
                   ` (16 preceding siblings ...)
  2007-01-26  0:05 ` geoffk at gcc dot gnu dot org
@ 2007-01-26  4:08 ` pinskia at gcc dot gnu dot org
  2007-02-14  9:00 ` mmitchel at gcc dot gnu dot org
  2008-02-20 22:44 ` rguenth at gcc dot gnu dot org
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-26  4:08 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.3                       |4.1.2


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] [4.0/4.1 Regression] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
                   ` (17 preceding siblings ...)
  2007-01-26  4:08 ` [Bug target/25127] [4.0/4.1 " pinskia at gcc dot gnu dot org
@ 2007-02-14  9:00 ` mmitchel at gcc dot gnu dot org
  2008-02-20 22:44 ` rguenth at gcc dot gnu dot org
  19 siblings, 0 replies; 21+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14  9:00 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.2                       |4.1.3


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug target/25127] [4.0/4.1 Regression] internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039
  2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
                   ` (18 preceding siblings ...)
  2007-02-14  9:00 ` mmitchel at gcc dot gnu dot org
@ 2008-02-20 22:44 ` rguenth at gcc dot gnu dot org
  19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-02-20 22:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from rguenth at gcc dot gnu dot org  2008-02-20 22:44 -------
Fixed since 4.2.0, wontfix on earlier branches.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to fail|4.1.1 4.1.2                 |4.1.1 4.1.2 4.1.3
         Resolution|                            |FIXED
   Target Milestone|4.1.3                       |4.2.0


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2008-02-20 22:44 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-27 21:54 [Bug bootstrap/25127] New: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039 schnetter at aei dot mpg dot de
2005-11-27 22:19 ` [Bug target/25127] " pinskia at gcc dot gnu dot org
2005-11-27 22:30 ` schnetter at aei dot mpg dot de
2005-11-28  3:19 ` schnetter at aei dot mpg dot de
2005-11-28  5:07 ` pinskia at gcc dot gnu dot org
2005-11-28  6:13 ` schnetter at aei dot mpg dot de
2005-12-13 22:12 ` Daniel dot Davies at xerox dot com
2006-02-02 19:56 ` pinskia at gcc dot gnu dot org
2006-02-02 20:22 ` pinskia at gcc dot gnu dot org
2006-10-01 20:19 ` pinskia at gcc dot gnu dot org
2006-10-01 20:26 ` [Bug target/25127] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-10-01 22:56 ` mmitchel at gcc dot gnu dot org
2007-01-25 15:58 ` [Bug target/25127] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
2007-01-25 19:18 ` geoffk at gcc dot gnu dot org
2007-01-25 19:20 ` geoffk at gcc dot gnu dot org
2007-01-25 20:32 ` geoffk at gcc dot gnu dot org
2007-01-26  0:04 ` geoffk at gcc dot gnu dot org
2007-01-26  0:05 ` geoffk at gcc dot gnu dot org
2007-01-26  4:08 ` [Bug target/25127] [4.0/4.1 " pinskia at gcc dot gnu dot org
2007-02-14  9:00 ` mmitchel at gcc dot gnu dot org
2008-02-20 22:44 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).