std::thread with g++-4.5 / libstdc++6 4.5-20100227-1

2010-03-31 Thread Miles Bader
Is std::thread (only usable with g++-4.5 I think) known to be broken? The following program: #include #include int g = 0; void f () { g++; } int main () { std::thread t (f); t.join (); std::cout << "after joing, g = " << g << std::endl; return

Bug#576111: marked as done (gcc-4.4 miscompiles __builtin_expect in -O0)

2010-03-31 Thread Debian Bug Tracking System
Your message dated Thu, 01 Apr 2010 02:06:58 +0200 with message-id <4bb3e3a2.40...@debian.org> and subject line Re: Bug#576111: gcc-4.4 miscompiles __builtin_expect in -O0 has caused the Debian Bug report #576111, regarding gcc-4.4 miscompiles __builtin_expect in -O0 to be marked as done. This mea

Bug#576111: gcc-4.4 miscompiles __builtin_expect in -O0

2010-03-31 Thread Pierre Habouzit
For what it's worth, there is at least _another_ regression introduced by the -4 or -5 revision in -O0, that I've not been able to track down yet. I mean that when I remove all my uses of __builtin_expect in the code that lead me to find out about this bug, I still have (at least) another issue tha

Bug#576111: gcc-4.4 miscompiles __builtin_expect in -O0

2010-03-31 Thread Pierre Habouzit
Package: gcc-4.4 Version: 4.4.3-4 Severity: grave Since gcc-4.4 version 4.4.3-4 (and yes -5 is still affected), gcc miscompiles __builtin_expect when no optimization is set (at least). Test case: int foo(int t) { if (__builtin_expect(t & 0x100, 0)) return 0; retur

[Bug libgcj/40860] [4.4/4.5 regression] regressions in libjava testsuite on arm-linux

2010-03-31 Thread mikpe at it dot uu dot se
--- Comment #32 from mikpe at it dot uu dot se 2010-03-31 21:43 --- (In reply to comment #31) > There appears to be a mistaken presumption running through this thread that > there is a 1<->1 mapping between unwind blocks and source language functions. > This is not the case, and any cod

Bug#576030: gcc-4.3: wcstoll returns only the value for 32bit.

2010-03-31 Thread Hikaru MIYAGI
Package: gcc-4.3 Version: 4.3.2-1.1 Severity: important wcstoll returns only the value for 32bit. For instance, wcstoll(L"1", NULL, 16) returns 0 though it is sure to become 4294967296. -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (990, 'stable') Archite

Processed: gnat-4.4: [amd64] GNAT.Expect.Non_Blocking_Spawn double free or corruption

2010-03-31 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > tags 575954 upstream Bug #575954 [gnat-4.4] gnat-4.4: [amd64] GNAT.Expect.Non_Blocking_Spawn double free or corruption Added tag(s) upstream. > forwarded 575954 http://gcc.gnu.org/PR43598 Bug #575954 [gnat-4.4] gnat-4.4: [amd64] GNAT.Expect.Non_B

[Bug libgcj/40860] [4.4/4.5 regression] regressions in libjava testsuite on arm-linux

2010-03-31 Thread rearnsha at gcc dot gnu dot org
--- Comment #31 from rearnsha at gcc dot gnu dot org 2010-03-31 08:47 --- (In reply to comment #30) > (In reply to comment #29) > > Wouldn't it be better to just remove _Unwind_GetRegionStart? > > This function is not part of the ARM EABI, and removing it would expose any > > (already b

Bug#575997: libstdc++6-4.5-dev: c++config.h doesn't seem to match reality

2010-03-31 Thread Miles Bader
Package: libstdc++6-4.5-dev Version: 4.5-20100103-1 Severity: normal The file "/usr/include/c++/4.5/x86_64-linux-gnu/bits/c++config.h" doesn't seem to actually reflect the available facilities of the system. In particular (from that file): /* Defined if nanosleep is available. */ /* #und