bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/14201] gas 2.19.51, Assertion failure when declaring large arra


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/14201] gas 2.19.51, Assertion failure when declaring large array: sb_build at /netrel/src/binutils-2.19.51-1/gas/sb.c line 62.
Date: Thu, 07 Jun 2012 12:47:27 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=14201

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> 2012-06-07 12:47:27 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    address@hidden    2012-06-07 12:47:23

Modified files:
    gas            : ChangeLog app.c as.c as.h input-file.c 
                     input-file.h input-scrub.c macro.c macro.h 
                     read.c sb.c sb.h 

Log message:
    PR gas/14201
    * sb.h (sb_max_power_two): Delete.
    (struct sb): Delete "item" and "pot".  Make "len" a size_t.  Add "max".
    (sb_element): Delete.
    (sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update
    prototypes.
    * sb.c (string_count, free_list): Delete.
    (sb_build, sb_kill, sb_check): Rewrite.
    (scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer,
    sb_skip_white, sb_skip_comma): Replace assorted int params,
    vars and return types with size_t.
    * input-scrub.c: Likewise.
    * macro.c: Likewise.
    * macro.h: Likewise.
    * as.c: Likewise.
    * as.h: Likewise.
    * input-file.h: Likewise.
    * input-file.c: Likewise.
    * read.c: Likewise.
    * app.c: ..or ptrdiff_t.
    * input-file.c (input_file_get): Use ferror.
    (input_file_give_next_buffer): Use input_file_get.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4748&r2=1.4749
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/app.c.diff?cvsroot=src&r1=1.54&r2=1.55
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/as.c.diff?cvsroot=src&r1=1.101&r2=1.102
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/as.h.diff?cvsroot=src&r1=1.70&r2=1.71
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/input-file.c.diff?cvsroot=src&r1=1.28&r2=1.29
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/input-file.h.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/input-scrub.c.diff?cvsroot=src&r1=1.25&r2=1.26
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/macro.c.diff?cvsroot=src&r1=1.55&r2=1.56
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/macro.h.diff?cvsroot=src&r1=1.19&r2=1.20
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/read.c.diff?cvsroot=src&r1=1.178&r2=1.179
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/sb.c.diff?cvsroot=src&r1=1.17&r2=1.18
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/sb.h.diff?cvsroot=src&r1=1.16&r2=1.17

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]