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 c/14235] New: ICE in verify_local_live_at start (flow.c:546) on 2004-02-18 snapshot


Using gcc 3.4 (snapshot 2004-02-18) the following code ICEs.  I tried to reduce it to a minimal 
example:

#include <stdio.h>

int main() {
  long long a;
  
  scanf("%d",a);
  
  if (!a) {
    long long b = 0;
    
    if (a == 7)
      b = 9;
    else if (a == 8)
      b = (short)b;

    if (b) { 
      printf("hi");
    }
  }
}

-- 
           Summary: ICE in verify_local_live_at start (flow.c:546) on 2004-
                    02-18 snapshot
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: senor_fjord at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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