public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/7154: [3.3 regression] ICE in verify_initial_elim_offsets at reload1.c:3337
@ 2002-12-06 14:41 reichelt
  0 siblings, 0 replies; 3+ messages in thread
From: reichelt @ 2002-12-06 14:41 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, spigel

Old Synopsis: verify_initial_elim_offsets at reload1.c:3337
New Synopsis: [3.3 regression] ICE in verify_initial_elim_offsets at reload1.c:3337

State-Changed-From-To: feedback->analyzed
State-Changed-By: reichelt
State-Changed-When: Fri Dec  6 14:41:07 2002
State-Changed-Why:
    Confirmed.
    
    The testcase can be reduced to the following code snippet
    
    ---------------------------snip here------------------------
    const int x[1]={ 1 };
    
    void foo(int i, int *p)
    {
        asm volatile("" : "+a" (i) : "m" (x[0]), "r" (p));
    }
    ---------------------------snip here------------------------
    
    Compiling this with "gcc -O -fPIC -c" using recent mainline (20021118)
    I get the following error message:
    
    PR7154.c: In function `foo':
    PR7154.c:6: internal compiler error: in verify_initial_elim_offsets, at reload1.c:3345
    
    Since the code compiles fine with the 3.2-branch, 3.0.x and 2.95.x,
    this is a regression.
    
    Wolfgang, I think gcc 3.2-20020623 is a snopshot of mainline
    before it got renamed to 3.3, so this never applied to the
    3.1/3.2-branch.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7154


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

* Re: optimization/7154: [3.3 regression] ICE in verify_initial_elim_offsets at reload1.c:3337
@ 2003-01-21  7:42 rth
  0 siblings, 0 replies; 3+ messages in thread
From: rth @ 2003-01-21  7:42 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, rth, spigel

Synopsis: [3.3 regression] ICE in verify_initial_elim_offsets at reload1.c:3337

Responsible-Changed-From-To: unassigned->rth
Responsible-Changed-By: rth
Responsible-Changed-When: Tue Jan 21 07:42:33 2003
Responsible-Changed-Why:
    .
State-Changed-From-To: analyzed->closed
State-Changed-By: rth
State-Changed-When: Tue Jan 21 07:42:33 2003
State-Changed-Why:
    http://gcc.gnu.org/ml/gcc-patches/2003-01/msg01434.html

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7154


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

* Re: optimization/7154: [3.3 regression] ICE in  verify_initial_elim_offsets at reload1.c:3337
@ 2002-12-18 12:46 Janis Johnson
  0 siblings, 0 replies; 3+ messages in thread
From: Janis Johnson @ 2002-12-18 12:46 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR optimization/7154; it has been noted by GNATS.

From: Janis Johnson <janis187@us.ibm.com>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, spigel@olvs.miee.ru,
   gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org
Cc:  
Subject: Re: optimization/7154: [3.3 regression] ICE in 
 verify_initial_elim_offsets at reload1.c:3337
Date: Wed, 18 Dec 2002 12:40:45 -0800

 The regression reported in PR optimization/7154 showed up
 starting with this patch:
 
 2002-05-28  Richard Henderson  <rth@redhat.com>
 
         * config/i386/i386.c (ix86_save_reg): Examine regs_ever_live,
         not current_function_uses_pic_offset_table and
         current_function_uses_const_pool; examine
 current_function_profile.
         (ix86_expand_prologue): Likewise.  Add pic_offset_table_rtx as
         input to blockage if needed.
         (ix86_expand_call): Do not set
 current_function_uses_pic_offset_table.
         (legitimize_pic_address): Likewise.  Set regs_ever_live for
         pic_offset_table_rtx when invoked during reload.
         * config/i386/i386.h (FINALIZE_PIC): Remove.
         * config/i386/i386.md (tablejump): Reformat.  Do not set
         current_function_uses_pic_offset_table.
         (tls_global_dynamic, tls_local_dynamic_base): Likewise.
         (blockage): Accept anything as operand 0.
 
 Output from the compiler when compiled with "-c -O -fPIC"
 on i686-linux:
 
 7154.c: In function `foo':
 7154.c:6: internal compiler error: in verify_initial_elim_offsets,
           at reload1.c:3350
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7154
 
 
 


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

end of thread, other threads:[~2003-01-21  7:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-06 14:41 optimization/7154: [3.3 regression] ICE in verify_initial_elim_offsets at reload1.c:3337 reichelt
2002-12-18 12:46 Janis Johnson
2003-01-21  7:42 rth

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).