http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56877



Richard Biener <rguenth at gcc dot gnu.org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |WAITING

   Last reconfirmed|                            |2013-04-08

     Ever Confirmed|0                           |1



--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> 2013-04-08 
15:08:20 UTC ---

Seems to work for me, both with and without -g.



I'm running on x86_64-linux with binutils 2.23.1 and use GNU ld.



rguenther@murzim:/tmp> gcc-4.8 -o t bt.c  -static -flto

rguenther@murzim:/tmp> rm core

rguenther@murzim:/tmp> ./t

t: bt.c:13: main: Assertion `0' failed.

Aborted (core dumped)

rguenther@murzim:/tmp> gdb ./t core

GNU gdb (GDB) SUSE (7.5.50.20130215-88.1)

Copyright (C) 2013 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.  Type "show copying"

and "show warranty" for details.

This GDB was configured as "x86_64-suse-linux".

For bug reporting instructions, please see:

<http://www.gnu.org/software/gdb/bugs/>...

Reading symbols from /tmp/t...done.

[New LWP 25418]

Core was generated by `./t'.

Program terminated with signal 6, Aborted.

#0  0x000000000043b675 in raise (sig=<optimized out>)

    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64

64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.

(gdb) bt

#0  0x000000000043b675 in raise (sig=<optimized out>)

    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64

#1  0x000000000040660b in abort () at abort.c:93

#2  0x0000000000401a5e in __assert_fail_base (fmt=<optimized out>, 

    assertion=0x483609 "0", file=0x483604 "bt.c", line=13, 

    function=<optimized out>) at assert.c:96

#3  0x0000000000401ace in __assert_fail (assertion=0x483609 "0", 

    file=0x483604 "bt.c", line=13, 

    function=0x48360b <__PRETTY_FUNCTION__.1856.2391.2391> "main")

    at assert.c:105

#4  0x00000000004011c4 in main ()

(gdb)



please specify more details to reproduce this bug.

Reply via email to