public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/65044] New: ICE: SIGSEGV in contains_struct_check with -fsanitize=address -fcheck-pointer-bounds
@ 2015-02-12 21:10 zsojka at seznam dot cz
  2015-03-12 11:16 ` [Bug target/65044] " ienkovich at gcc dot gnu.org
  2015-03-12 11:29 ` ienkovich at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: zsojka at seznam dot cz @ 2015-02-12 21:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65044

            Bug ID: 65044
           Summary: ICE: SIGSEGV in contains_struct_check with
                    -fsanitize=address -fcheck-pointer-bounds
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz

Created attachment 34743
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34743&action=edit
reduced testcase

Compiler output:
$ gcc -fsanitize=address -fcheck-pointer-bounds -mmpx testcase.c                
testcase.c:7:1: internal compiler error: Segmentation fault
 }
 ^
0xc43f1f crash_signal
        /mnt/svn/gcc-trunk/gcc/toplev.c:383
0xcee191 contains_struct_check(tree_node*, tree_node_structure_enum, char
const*, int, char const*)
        /mnt/svn/gcc-trunk/gcc/tree.h:2959
0xcee191 chkp_walk_pointer_assignments
        /mnt/svn/gcc-trunk/gcc/tree-chkp.c:3591
0xcee06a chkp_walk_pointer_assignments
        /mnt/svn/gcc-trunk/gcc/tree-chkp.c:3645
0xcf0396 chkp_finish_file()
        /mnt/svn/gcc-trunk/gcc/tree-chkp.c:3701
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r220566 - ICE


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

* [Bug target/65044] ICE: SIGSEGV in contains_struct_check with -fsanitize=address -fcheck-pointer-bounds
  2015-02-12 21:10 [Bug target/65044] New: ICE: SIGSEGV in contains_struct_check with -fsanitize=address -fcheck-pointer-bounds zsojka at seznam dot cz
@ 2015-03-12 11:16 ` ienkovich at gcc dot gnu.org
  2015-03-12 11:29 ` ienkovich at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ienkovich at gcc dot gnu.org @ 2015-03-12 11:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65044

--- Comment #2 from ienkovich at gcc dot gnu.org ---
Author: ienkovich
Date: Thu Mar 12 09:23:06 2015
New Revision: 221379

URL: https://gcc.gnu.org/viewcvs?rev=221379&root=gcc&view=rev
Log:
gcc/

    PR target/65044
    * toplev.c (process_options): Restrict Pointer Bounds Checker
    usage with Address Sanitizer.

gcc/testsuite/

    PR target/65044
    * gcc.target/i386/pr65044.c: New.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr65044.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/toplev.c


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

* [Bug target/65044] ICE: SIGSEGV in contains_struct_check with -fsanitize=address -fcheck-pointer-bounds
  2015-02-12 21:10 [Bug target/65044] New: ICE: SIGSEGV in contains_struct_check with -fsanitize=address -fcheck-pointer-bounds zsojka at seznam dot cz
  2015-03-12 11:16 ` [Bug target/65044] " ienkovich at gcc dot gnu.org
@ 2015-03-12 11:29 ` ienkovich at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ienkovich at gcc dot gnu.org @ 2015-03-12 11:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65044

ienkovich at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ienkovich at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #3 from ienkovich at gcc dot gnu.org ---
Fixed


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

end of thread, other threads:[~2015-03-12 11:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-12 21:10 [Bug target/65044] New: ICE: SIGSEGV in contains_struct_check with -fsanitize=address -fcheck-pointer-bounds zsojka at seznam dot cz
2015-03-12 11:16 ` [Bug target/65044] " ienkovich at gcc dot gnu.org
2015-03-12 11:29 ` ienkovich 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).