public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/59250] New: usan: ICE (segfault) with -fsanitize=undefined in ubsan_create_data
@ 2013-11-22 13:17 burnus at gcc dot gnu.org
  2013-11-22 13:24 ` [Bug middle-end/59250] " mpolacek at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: burnus at gcc dot gnu.org @ 2013-11-22 13:17 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59250
           Summary: usan: ICE (segfault) with -fsanitize=undefined in
                    ubsan_create_data
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
                CC: mpolacek at gcc dot gnu.org

Created attachment 31272
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31272&action=edit
Test case: Run as "g++ -fsanitize=undefined test29.ii"

The followed code worked about week ago but fails now (r205246) with a segfault
on x86-64-gnu-linux.

$ g++ -fsanitize=undefined test29.ii
test29.ii: In constructor 'FileHandle::FileHandle(const char*)':
test29.ii:27:1: internal compiler error: Segmentation fault
 FileHandle::FileHandle (const char* fname) : fname(fname) {
 ^
0xb9f85f crash_signal
        ../../gcc/toplev.c:336
0xbbab24 ubsan_source_location
        ../../gcc/ubsan.c:230
0xbbab24 ubsan_create_data(char const*, unsigned int, ubsan_mismatch_data
const*, ...)
        ../../gcc/ubsan.c:463
0xbbb179 ubsan_expand_null_ifn(gimple_stmt_iterator_d)
        ../../gcc/ubsan.c:565


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-11-25 11:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-22 13:17 [Bug middle-end/59250] New: usan: ICE (segfault) with -fsanitize=undefined in ubsan_create_data burnus at gcc dot gnu.org
2013-11-22 13:24 ` [Bug middle-end/59250] " mpolacek at gcc dot gnu.org
2013-11-22 13:28 ` [Bug sanitizer/59250] ubsan: " mpolacek at gcc dot gnu.org
2013-11-22 21:21 ` burnus at gcc dot gnu.org
2013-11-23 11:27 ` mpolacek at gcc dot gnu.org
2013-11-25 11:18 ` mpolacek at gcc dot gnu.org
2013-11-25 11:18 ` mpolacek at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).