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]

Re: c/5250: ICE in print_rtl_and_abort, at flow.c:6458 with -O3


Synopsis: ICE in print_rtl_and_abort, at flow.c:6458 with -O3

State-Changed-From-To: open->analyzed
State-Changed-By: rodrigc
State-Changed-When: Wed Jan  2 12:38:12 2002
State-Changed-Why:
    The following testcase contributed by Volker Reichelt
    in PR 4257 duplicates your ICE at -O3:
    
    /* From Volker Reichelt <reichelt@igpm.rwth-aachen.de>,
     * PR 4257 */
     
    void
    f ()
    {
      unsigned int *p;
      p++;
      *p += *p / (*p < 2);
    }
    
    The workaround is to add the flag -fno-rename-registers if
    compiling with -O3.
    
    This bug is fixed in gcc 3.1.
    

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5250


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