https://bugzilla.novell.com/show_bug.cgi?id=290663
Summary: g++: internal compiler error
Product: openSUSE 10.3
Version: Alpha 5plus
Platform: x86-64
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Development
AssignedTo: pth@novell.com
ReportedBy: sbrabec@novell.com
QAContact: qa@suse.de
Found By: ---
Attached code causes internal compiler error on the latest Factory snapshot on
x86_64.
The error is depending on presence of "-g". Without it it fails.
$ g++ -g enblend-enblend.cpp
In file included from mask.h:36,
from enblend.h:40,
from enblend.cc:122:
anneal.h:61: internal compiler error: in reference_to_unused, at
dwarf2out.c:10010
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://bugs.opensuse.org for instructions.
$ g++ enblend-enblend.cpp
In file included from mask.h:36,
from enblend.h:40,
from enblend.cc:122:
anneal.h: In member function 'void enblend::GDAConfiguration::iterate()':
anneal.h:681: error: no matching function for call to 'max(unsigned int&,
size_t&)'
anneal.h: In member function 'void enblend::GDAConfiguration::iterate() [with CostImage = vigra::CachedFileImage<unsigned
char>, VisualizeImage = vigra::CachedFileImage >]':
anneal.h:277: instantiated from 'void enblend::GDAConfiguration::run() [with CostImage = vigra::CachedFileImage<unsigned char>,
VisualizeImage = vigra::CachedFileImage >]'
anneal.h:774: instantiated from 'void enblend::annealSnake(const CostImage*,
__gnu_cxx::slist,
std::allocator > >*, VisualizeImage*) [with
CostImage = vigra::CachedFileImage<unsigned char>, VisualizeImage =
vigra::CachedFileImage >]'
mask.h:725: instantiated from 'MaskType* enblend::createMask(const
ImageType*, const ImageType*, const AlphaType*, const AlphaType*, const
vigra::Rect2D&, const vigra::Rect2D&, bool) [with ImageType =
vigra::CachedFileImage >, AlphaType
= vigra::CachedFileImage<unsigned char>, MaskType =
vigra::CachedFileImage<unsigned char>]'
enblend.h:265: instantiated from 'void
enblend::enblendMain(std::listvigra::ImageImportInfo* >&, vigra::ImageExportInfo&,
vigra::Rect2D&) [with ImagePixelType = vigra::RGBValue]'
enblend.cc:768: instantiated from here
anneal.h:681: error: no matching function for call to 'max(unsigned int&,
size_t)'
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.