This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc++/27249] FAIL: obj-c++.dg/encode-8.mm execution test
- From: "ghazi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Feb 2008 17:58:40 -0000
- Subject: [Bug objc++/27249] FAIL: obj-c++.dg/encode-8.mm execution test
- References: <bug-27249-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from ghazi at gcc dot gnu dot org 2008-02-08 17:58 -------
Below is the info from gdb with mainline on x86_64-linux-gnu. We're aborting
because the encoding for BOOL* doesn't match the expected value.
(gdb) run
Starting program:
/home/ghazi/gcc-testing/43/build/gcc/testsuite/obj-c++/encode-8.exe
Program received signal SIGABRT, Aborted.
0x00002ad8f2f4107b in raise () from /lib/libc.so.6
(gdb) bt full
#0 0x00002ad8f2f4107b in raise () from /lib/libc.so.6
No symbol table info available.
#1 0x00002ad8f2f4284e in abort () from /lib/libc.so.6
No symbol table info available.
#2 0x00000000004006db in main () at testsuite/obj-c++.dg/encode-8.mm:17
BOOL_ptr = 0x4007cc "*"
char_ptr = 0x4007cc "*"
(gdb) list 17
12 int main(void) {
13 const char *BOOL_ptr = @encode(BOOL *);
14 const char *char_ptr = @encode(char *);
15
16 if(strcmp(BOOL_ptr, "^c"))
17 abort();
18
19 if(strcmp(char_ptr, "*"))
20 abort();
21
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27249