------- Comment #9 from ebotcazou at gcc dot gnu dot org  2010-04-28 22:42 
-------
The never ending story of qsort on Solaris 8:

Program received signal SIGSEGV, Segmentation fault.
0x0000000100bb7204 in allocno_priority_compare_func (v1p=0x102f3d268,
    v2p=0x102f3d278) at /nile.build/botcazou/gcc-4.4/src/gcc/ira-color.c:1738
1738      pri1 = allocno_priorities[ALLOCNO_NUM (a1)];
(gdb) bt
#0  0x0000000100bb7204 in allocno_priority_compare_func (v1p=0x102f3d268,
    v2p=0x102f3d278) at /nile.build/botcazou/gcc-4.4/src/gcc/ira-color.c:1738
#1  0xffffffff7f253a9c in qsort () from /usr/lib/64/libc.so.1
#2  0x0000000100bbeb10 in fast_allocation ()
    at /nile.build/botcazou/gcc-4.4/src/gcc/ira-color.c:3274
#3  0x0000000100bbf0b0 in ira_color ()
    at /nile.build/botcazou/gcc-4.4/src/gcc/ira-color.c:3339
#4  0x0000000100b3a7ac in ira (f=0x0)
    at /nile.build/botcazou/gcc-4.4/src/gcc/ira.c:3152
#5  0x0000000100b3b104 in rest_of_handle_ira ()
    at /nile.build/botcazou/gcc-4.4/src/gcc/ira.c:3309

IRA has been seriously shaken after 4.4.0 so the issue (absence of total order
on the sorted array) may have been de facto fixed.  Let's just pretend that.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to work|                            |4.4.3 4.5.0
         Resolution|                            |FIXED
            Summary|preprocessor fails with     |segmentation fault in
                   |myassertion                 |quicksort
   Target Milestone|---                         |4.4.3


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

Reply via email to