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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
   Target Milestone|---                         |4.5.3
            Summary|4.5.1/4.5.2 ICE in          |[4.5/4.6 Regression] ICE in
                   |gimplify_expr, at           |gimplify_expr at gimplify.c
                   |gimplify.c:7146/7153 on     |
                   |fairly simple complex       |
                   |expression                  |

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-01 22:57:44 
UTC ---
[...@gnu-35 rrs]$ cat pr47150.c
float _Complex cmplx(float re, float im);
void bad_test(){
  float w = 2;
  float _Complex b;
  b = 0.5*(cmplx(0,w)+cmplx(1,w)/w);
}
[...@gnu-35 rrs]$ /export/gnu/import/rrs/147281/usr/bin/gcc -S pr47150.c
pr47150.c: In function \u2018bad_test\u2019:
pr47150.c:5: internal compiler error: in gimplify_expr, at gimplify.c:7045
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[...@gnu-35 rrs]$

Reply via email to