simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] [bug #47017] regression of Bug 34793


From: Michael Hennebry
Subject: Re: [Simulavr-devel] [bug #47017] regression of Bug 34793
Date: Sat, 30 Jan 2016 02:36:05 +0000 (UTC)

If the problem is gcc-specific, the following might be an appropriate 
workaround:
#ifdef __GNUC__
default: __builtin_unreachable();

#endif



----- Original Message -----
From: anonymous <address@hidden>
To: address@hidden
Sent: Friday, January 29, 2016 4:02 PM
Subject: [Simulavr-devel] [bug #47017] regression of Bug 34793

URL:
  <http://savannah.nongnu.org/bugs/?47017>

                 Summary: regression of Bug 34793
                 Project: Simulavr: an AVR simulator
            Submitted by: None
            Submitted on: Fri 29 Jan 2016 10:02:45 PM UTC
                Category: Configure
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: simulavr

    _______________________________________________________

Details:

Presumably due to optimization improvements on newer gcc

gcc version 5.3.1 20151207 (Red Hat 5.3.1-2) (GCC)

disp.c:246:34: error: variable ‘areg’ set but not used
[-Werror=unused-but-set-variable]

The attempted fix in the code is:
                    areg = 42;          /*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34793 */





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?47017>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
Simulavr-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/simulavr-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]