Can anyone tell me if there is a patch for this problem?
Consider:
void bar(char*);
void foo(int x)
{
if (x) { char y[4096]; bar(y); }
else { char z[4096]; bar(z); }
}
Cygwin gcc 3.4.2 -O2 yields:
pushl %ebp
movl$8216, %eax /* Should be abou
;)
It seems the compiler will not prefer the conversion from X to
unsigned short in order to compile the (subsequent unsigned short to
unsigned short) comparison and considers the competing conversions
to C as viable.
Earl Chew
---
Is there a patch for the following problem?
I am having problems with _M_fill_initialize in deque on the powerpc
version compiled at -O2.
template
void
deque<_Tp,_Alloc>::
_M_fill_initialize(const value_type& __value)
{
_Map_pointer __cur;
try
{
for
Earl Chew wrote:
I can't make up my mind whether the new behaviour is incorrect,
or whether the old behaviour should never have been supported.
I'm pretty certain this is a defect because I can construct a
program that should work, but doesn't.
In any case, I've discove