octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #49055] Wcast-align warnings on certain non-x8


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #49055] Wcast-align warnings on certain non-x86 architectures
Date: Mon, 12 Sep 2016 05:44:11 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0

Update of bug #49055 (project octave):

              Item Group:                    None => Other                  
                  Status:                    None => Confirmed              
                 Release:                   4.0.3 => dev                    
                 Summary: Wcast-align Warning on compiling on ARM  =>
Wcast-align warnings on certain non-x86 architectures

    _______________________________________________________

Follow-up Comment #1:

Confirmed, the following lines of code produce a -Wcast-align warning on a
Debian build of a recent snapshot of the development branch on both ARM and
MIPS architectures:

http://hg.savannah.gnu.org/hgweb/octave/file/9d4cb0cf9cd2/libinterp/corefcn/load-save.cc#l1179
http://hg.savannah.gnu.org/hgweb/octave/file/9d4cb0cf9cd2/libinterp/corefcn/ls-mat5.cc#l494
http://hg.savannah.gnu.org/hgweb/octave/file/9d4cb0cf9cd2/libinterp/octave-value/ov-java.cc#l1249
http://hg.savannah.gnu.org/hgweb/octave/file/9d4cb0cf9cd2/liboctave/util/oct-base64.cc#l83
http://hg.savannah.gnu.org/hgweb/octave/file/9d4cb0cf9cd2/liboctave/util/oct-locbuf.h#l124
http://hg.savannah.gnu.org/hgweb/octave/file/9d4cb0cf9cd2/liboctave/util/oct-locbuf.h#l152
http://hg.savannah.gnu.org/hgweb/octave/file/9d4cb0cf9cd2/liboctave/util/oct-locbuf.h#l165

These are all reinterpret_casts from a char array to a larger sized type.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49055>

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




reply via email to

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