[Bug rtl-optimization/28569] [4.2 Regression] Segmentation fault from struct pointers

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Aug 2 12:40:00 GMT 2006



------- Comment #1 from rguenth at gcc dot gnu dot org  2006-08-02 12:40 -------
Confirmed:

Starting program: /abuild/rguenther/trunk-g/gcc/cc1 -O -quiet t.i
t.i: In function 'function':
t.i:17: warning: assignment from incompatible pointer type
t.i:18: warning: comparison of distinct pointer types lacks a cast

Program received signal SIGSEGV, Segmentation fault.
0x082950e5 in fold_rtx (x=0xb7d53a14, insn=0x0)
    at /space/rguenther/src/svn/trunk/gcc/cse.c:3718
3718            int old_cost = COST_IN (XEXP (x, i), code);

we are recursing endlessly.  Likely a dup of PR27616 (the testcase also looks
similar).


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |27616
             Status|UNCONFIRMED                 |NEW
          Component|c                           |rtl-optimization
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2006-08-02 12:40:23
               date|                            |
            Summary|Segmentation fault from     |[4.2 Regression]
                   |struct pointers             |Segmentation fault from
                   |                            |struct pointers


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



More information about the Gcc-bugs mailing list