http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52108
Bug #: 52108
Summary: declval() with incomplete type
Classification: Unclassified
Product: gcc
Version: 4.5.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
--- Comment #38 from hidden_peak at mail dot ru 2007-03-05 14:53 ---
(In reply to comment #37)
>
> Can I reproduce it on Linux?
>
May be comment #21 help you?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625
--- Comment #7 from hidden_peak at mail dot ru 2007-03-01 15:13 ---
My mistake. Sorry.
--
hidden_peak at mail dot ru changed:
What|Removed |Added
Status
--- Comment #6 from hidden_peak at mail dot ru 2007-03-01 15:11 ---
> Shifting unsigned numbers doesn't replicate the sign bit.
unsigned ui3 = ~((1 << 31) >> 3);
printf( "%x\n", ui3 );
give me wrong result fff ?
--
hidden_peak at mail do
--- Comment #5 from hidden_peak at mail dot ru 2007-03-01 15:05 ---
Do you mean this treatment: ~((1ULL << 63ULL) >> 3ULL) -> ~(1ULL << 60ULL) ->
efff ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31007
--- Comment #3 from hidden_peak at mail dot ru 2007-03-01 14:48 ---
~((1ULL << 63ULL) >> 3ULL):
( 0001 << 63) -> 8000 (unsigned!)
(8000 >> 3 ) -> f000 (due to sign bit)
~(f000 )
--- Comment #1 from hidden_peak at mail dot ru 2007-03-01 12:30 ---
> (instead of 7fff 7fff)
Correct should be fff and fff.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31007
P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hidden_peak at mail dot ru
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31007
Severity: critical
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hidden_peak at mail dot ru
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26773
--- Comment #16 from hidden_peak at mail dot ru 2005-11-27 17:40 ---
Thanks for explanation. Link to this issue:
http://www.codesourcery.com/cxx-abi/abi.html#dso-dtor (for archive/reference
purposes).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24189
--- Comment #14 from hidden_peak at mail dot ru 2005-11-27 16:48 ---
Created an attachment (id=10348)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10348&action=view)
__cxa_atexit and __cxa_finalize that work correctly
cxa.c contain code with __cxa_atexit and __cxa_finali
--- Comment #13 from hidden_peak at mail dot ru 2005-11-27 16:41 ---
This is really bug in glibc: __cxa_finalize don't call all registered handlers
in case of NULL argument (glibc 2.2.5 has this bug, but 2.3.2 already not).
But nevertheless, the problem still present at plat
--- Comment #21 from hidden_peak at mail dot ru 2005-10-25 11:46 ---
May be is not gcc bug, but ld: the sample work with GNU ld version 2.12.90.0.1
20020307 Debian/GNU Linux, work with warnings with GNU ld version 2.15.94.0.2.2
20041220 (SuSE Linux) and don't work with ld 2.16.x
--- Comment #12 from hidden_peak at mail dot ru 2005-10-06 11:28 ---
Really, I wonder why code specific for C++ language support should be in glibc?
What about platforms without glibc? May be code to call dtors should be in
crtbegin/crtbeginS?
--
http://gcc.gnu.org/bugzilla
--- Comment #11 from hidden_peak at mail dot ru 2005-10-04 15:55 ---
Sometimes test run fine fror me too, but (the same build and same evironment!)
sometimes not. This like depends upon garbage... Well, as expected---call of
dtor of died object.
--
http://gcc.gnu.org/bugzilla
--- Comment #10 from hidden_peak at mail dot ru 2005-10-04 15:49 ---
Like my.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24189
--- Comment #7 from hidden_peak at mail dot ru 2005-10-04 14:17 ---
But may be this is problem in crtbeginS.o or crtendS.o? I.e. in something like
__cxa_finalize:
> nm /opt/gcc-3.4.4/lib/gcc/i686-pc-linux-gnu/3.4.4/crtbeginS.o
U _GLOBAL_OFFSET_TABLE_
--- Comment #6 from hidden_peak at mail dot ru 2005-10-04 14:04 ---
May be. Just for info: Debian GNU/Linux 3.0 ('woody'),
Linux peak 2.6.12.5 #1 SMP Mon Aug 29 17:22:33 MSD 2005 i686 unknown
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24189
--- Comment #4 from hidden_peak at mail dot ru 2005-10-04 13:54 ---
> What is the version of glibc you have? I have 2.3.3.
2.2.5
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24189
--- Comment #2 from hidden_peak at mail dot ru 2005-10-04 13:49 ---
Created an attachment (id=9870)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9870&action=view)
testcase
Unpack, (cd dlclose-cxa; x.sh). Script (bash) x.sh compile and run test; crash
at exit.
--
verity: critical
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hidden_peak at mail dot ru
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24189
21 matches
Mail list logo