[GRASS-dev] [GRASS GIS] #2787: grass-7.0.1: compiling on Gentoo shows warnings when built with -Wagressive-loop-optimizations

GRASS GIS trac at osgeo.org
Thu Oct 29 06:06:33 PDT 2015


#2787: grass-7.0.1: compiling on Gentoo shows warnings when built with
-Wagressive-loop-optimizations
-------------------------+-------------------------
 Reporter:  wraeth       |      Owner:  grass-dev@…
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:
Component:  Compiling    |    Version:  7.0.1
 Keywords:               |        CPU:  x86-64
 Platform:  Linux        |
-------------------------+-------------------------
 * QA Notice: Package triggers severe warnings which indicate that it
  *            may exhibit random runtime failures.
  * main.c:312:2: warning: iteration 14u invokes undefined behavior
 [-Waggressive-loop-optimizations]
  * main.c:308:6: warning: iteration 14u invokes undefined behavior
 [-Waggressive-loop-optimizations]
  * main.c:278:6: warning: iteration 14u invokes undefined behavior
 [-Waggressive-loop-optimizations]
  * aerosolmodel.cpp:619:59: warning: iteration 82u invokes undefined
 behavior [-Waggressive-loop-optimizations]

 This appears to be coming from the files:
   imagery/i.aster.toar/main.c
   imagery/i.atcorr/aerosolmodel.cpp

 Compile log to follow.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2787>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list