public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/47992] New: ICE: SIGSEGV in ira_reuse_stack_slot (ira-color.c:2887) with -fweb
@ 2011-03-04 19:47 zsojka at seznam dot cz
  2011-03-04 20:02 ` [Bug rtl-optimization/47992] " zsojka at seznam dot cz
  2012-02-02  8:33 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: zsojka at seznam dot cz @ 2011-03-04 19:47 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE: SIGSEGV in ira_reuse_stack_slot
                    (ira-color.c:2887) with -fweb
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 23546
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23546
reduced testcase (from gfortran.dg/g77/pr9258.f)

Compiler output:
$ gfortran -O -fno-dce -fgcse -fno-tree-ccp -fno-tree-dominator-opts -fweb
testcase.f

Tested revisions:
r170674 - crash
4.5 r170113 - OK


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

* [Bug rtl-optimization/47992] ICE: SIGSEGV in ira_reuse_stack_slot (ira-color.c:2887) with -fweb
  2011-03-04 19:47 [Bug rtl-optimization/47992] New: ICE: SIGSEGV in ira_reuse_stack_slot (ira-color.c:2887) with -fweb zsojka at seznam dot cz
@ 2011-03-04 20:02 ` zsojka at seznam dot cz
  2012-02-02  8:33 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: zsojka at seznam dot cz @ 2011-03-04 20:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> 2011-03-04 20:02:03 UTC ---
Seems I forgot to paste the compiler output:
$ gcc -O -fno-dce -fgcse -fno-tree-ccp -fno-tree-dominator-opts
-funroll-all-loops -wrapper valgrind,-q,--num-callers=40 testcase.f 
testcase.f:2.72:

      ASSIGN 20 TO M           !{ dg-warning "Deleted feature: ASSIGN" "
                                                                        1
Warning: Deleted feature: ASSIGN statement at (1)
testcase.f:6.72:

  30  ASSIGN 10 TO M           !{ dg-warning "Deleted feature: ASSIGN" "
                                                                        1
Warning: Deleted feature: ASSIGN statement at (1)
testcase.f:7.12:

  40  GOTO M,(10,20,30)        !{ dg-warning "Deleted feature: Assigned 
            1
Warning: Deleted feature: Assigned GOTO statement at (1)
==1357== Invalid read of size 4
==1357==    at 0x8027D1: ira_reuse_stack_slot (ira-color.c:2887)
==1357==    by 0x8B54A6: alter_reg (reload1.c:2180)
==1357==    by 0x8C00E1: reload (reload1.c:795)
==1357==    by 0x7EDF78: ira (ira.c:3273)
==1357==    by 0x7EFD8F: rest_of_handle_ira (ira.c:3343)
==1357==    by 0x857895: execute_one_pass (passes.c:1556)
==1357==    by 0x857B94: execute_pass_list (passes.c:1611)
==1357==    by 0x857BA6: execute_pass_list (passes.c:1612)
==1357==    by 0x99AAF5: tree_rest_of_compilation (tree-optimize.c:422)
==1357==    by 0xB62B41: cgraph_expand_function (cgraphunit.c:1576)
==1357==    by 0xB65289: cgraph_optimize (cgraphunit.c:1635)
==1357==    by 0xB65809: cgraph_finalize_compilation_unit (cgraphunit.c:1096)   
==1357==    by 0x810D3C: write_global_declarations (langhooks.c:303)            
==1357==    by 0x943A87: toplev_main (toplev.c:591)                             
==1357==    by 0x64AABBC: (below main) (in /lib64/libc-2.11.2.so)               
==1357==  Address 0xc is not stack'd, malloc'd or (recently) free'd             
==1357==                                                                        
testcase.f: In function 'MAIN__':                                               
testcase.f:8:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug rtl-optimization/47992] ICE: SIGSEGV in ira_reuse_stack_slot (ira-color.c:2887) with -fweb
  2011-03-04 19:47 [Bug rtl-optimization/47992] New: ICE: SIGSEGV in ira_reuse_stack_slot (ira-color.c:2887) with -fweb zsojka at seznam dot cz
  2011-03-04 20:02 ` [Bug rtl-optimization/47992] " zsojka at seznam dot cz
@ 2012-02-02  8:33 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-02  8:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-02 08:33:32 UTC ---
This works for me on the trunk.


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

end of thread, other threads:[~2012-02-02  8:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-04 19:47 [Bug rtl-optimization/47992] New: ICE: SIGSEGV in ira_reuse_stack_slot (ira-color.c:2887) with -fweb zsojka at seznam dot cz
2011-03-04 20:02 ` [Bug rtl-optimization/47992] " zsojka at seznam dot cz
2012-02-02  8:33 ` pinskia at gcc dot gnu.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).