This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/18519] [4.0 Regression] ICE: Segmentation fault with optimization


------- Additional Comments From kazu at cs dot umass dot edu  2004-11-16 15:06 -------
Reduced a little more:

/* ./cc1 -O1 pr18519.c */

int baz (int *);
                                                                               
                    
void
foo (int *uc)
{
  int *invalidp;
  int invalid;
                                                                               
                    
  while (1)
    {
      invalidp = &invalid;
                                                                               
                    
      if (baz (uc))
        invalid = 1;
                                                                               
                    
      invalid = 0;
    }
}
                                                                               
                    

-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]