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++/38625] Segmentation fault when dereferencing valid pointer, probably REGRESSION



------- Comment #9 from hjl dot tools at gmail dot com  2009-01-11 23:33 -------
There are warnings like

../include/vigra/accessor.hxx: In function âvoid
vigra::read_bands(vigra::Decoder*, ImageIterator, Accessor, SrcValueType) [with
ImageIterator = vigra::CachedFileImageIterator<vigra::RGBValue<double, 0u, 1u,
2u> >, Accessor = vigra::RGBAccessor<vigra::RGBValue<double, 0u, 1u, 2u> >,
SrcValueType = double]â:
../include/vigra/accessor.hxx:813: warning: array subscript is above array
bounds
In file included from enblend.h:39,
                 from enblend.cc:124:
../include/vigra/diff2d.hxx: In function âvoid enblend::maskBounds(MaskType*,
vigra::Rect2D&, vigra::Rect2D&) [with MaskType =
enblend::enblendMain(std::list<vigra::ImageImportInfo*,
std::allocator<vigra::ImageImportInfo*> >&, vigra::ImageExportInfo&,
vigra::Rect2D&) [with ImagePixelType = vigra::RGBValue<unsigned char, 0u, 1u,
2u>]::MaskType]â:
../include/vigra/diff2d.hxx:1108: warning: assuming signed overflow does not
occur when assuming that (X - c) > X is always false


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2009-01-11 23:32:10         |2009-01-11 23:33:14
               date|                            |


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


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