public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/61905] New: zero variable length array bound in cp-demangle.c cplus_demangle_print_callback
@ 2014-07-25 8:13 zeccav at gmail dot com
2014-09-04 9:48 ` [Bug other/61905] " mpolacek at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: zeccav at gmail dot com @ 2014-07-25 8:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61905
Bug ID: 61905
Summary: zero variable length array bound in cp-demangle.c
cplus_demangle_print_callback
Product: gcc
Version: 4.9.1
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: zeccav at gmail dot com
The sanitizer claims that compiling the testsuite files pr21255-2-mb.c and
pr21255-4.c and pr21255-3.c and pr21255-2-ml.c
a zero variable length array bound occurs
"../../gcc-4.9.1/libiberty/cp-demangle.c:4039:40: runtime error:
variable length array bound evaluates to non-positive value 0"
Same at line 4040
" __extension__ struct d_saved_scope scopes[dpi.num_saved_scopes];
__extension__ struct d_print_template temps[dpi.num_copy_templates];"
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/61905] zero variable length array bound in cp-demangle.c cplus_demangle_print_callback
2014-07-25 8:13 [Bug c/61905] New: zero variable length array bound in cp-demangle.c cplus_demangle_print_callback zeccav at gmail dot com
@ 2014-09-04 9:48 ` mpolacek at gcc dot gnu.org
2014-09-28 9:30 ` [Bug target/61905] " trippels at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-09-04 9:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61905
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-09-04
Target Milestone|--- |4.9.2
Ever confirmed|0 |1
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I see:
$ ./xgcc -B./ -c pr21255-2-mb.c
pr21255-2-mb.c: In function ‘f’:
pr21255-2-mb.c:19:1: internal compiler error: in ix86_print_operand, at
config/i386/i386.c:15232
}
^
/home/polacek/src/gcc/libiberty/cp-demangle.c:4065:40: runtime error: variable
length array bound evaluates to non-positive value 0
/home/polacek/src/gcc/libiberty/cp-demangle.c:4066:43: runtime error: variable
length array bound evaluates to non-positive value 0
0x21383e3 ix86_print_operand(_IO_FILE*, rtx_def*, int)
/home/polacek/src/gcc/gcc/config/i386/i386.c:15232
0xd2a08e output_operand(rtx_def*, int)
/home/polacek/src/gcc/gcc/final.c:3850
0xd2b67c output_asm_insn(char const*, rtx_def**)
/home/polacek/src/gcc/gcc/final.c:3748
0xd2f8c7 final_scan_insn(rtx_def*, _IO_FILE*, int, int, int*)
/home/polacek/src/gcc/gcc/final.c:2635
0xd31894 final(rtx_insn*, _IO_FILE*, int)
/home/polacek/src/gcc/gcc/final.c:2063
0xd33b22 rest_of_handle_final
/home/polacek/src/gcc/gcc/final.c:4472
0xd33b22 execute
/home/polacek/src/gcc/gcc/final.c:4547
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.
>From gcc-bugs-return-461189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Sep 04 09:51:11 2014
Return-Path: <gcc-bugs-return-461189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18586 invoked by alias); 4 Sep 2014 09:51:11 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 18554 invoked by uid 48); 4 Sep 2014 09:51:06 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/61907] load of invalid value for 'bool' in trans-array.c trans_array_constructor
Date: Thu, 04 Sep 2014 09:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.9.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone everconfirmed
Message-ID: <bug-61907-4-3i0nEmBQ9p@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61907-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61907-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-09/txt/msg01023.txt.bz2
Content-length: 1154
https://gcc.gnu.org/bugzilla/show_bug.cgi?ida907
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-09-04
CC| |mpolacek at gcc dot gnu.org
Target Milestone|--- |4.9.2
Ever confirmed|0 |1
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
$ ./xgcc -B./ -c typebound_assignment_6.f03
/home/polacek/src/gcc/gcc/fortran/trans-array.c:2211:9: runtime error: load of
value 176, which is not a valid value for type 'bool'
/home/polacek/src/gcc/gcc/fortran/trans-expr.c:5280:27: runtime error: member
call on null pointer of type 'struct vec'
/home/polacek/src/gcc/gcc/fortran/trans-expr.c:5283:32: runtime error: member
call on null pointer of type 'struct vec'
/home/polacek/src/gcc/gcc/fortran/trans-expr.c:5286:30: runtime error: member
call on null pointer of type 'struct vec'
Confirmed.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/61905] zero variable length array bound in cp-demangle.c cplus_demangle_print_callback
2014-07-25 8:13 [Bug c/61905] New: zero variable length array bound in cp-demangle.c cplus_demangle_print_callback zeccav at gmail dot com
2014-09-04 9:48 ` [Bug other/61905] " mpolacek at gcc dot gnu.org
@ 2014-09-28 9:30 ` trippels at gcc dot gnu.org
2014-10-30 10:39 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-09-28 9:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61905
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gbenson at redhat dot com,
| |trippels at gcc dot gnu.org
--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Started with r206362.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/61905] zero variable length array bound in cp-demangle.c cplus_demangle_print_callback
2014-07-25 8:13 [Bug c/61905] New: zero variable length array bound in cp-demangle.c cplus_demangle_print_callback zeccav at gmail dot com
2014-09-04 9:48 ` [Bug other/61905] " mpolacek at gcc dot gnu.org
2014-09-28 9:30 ` [Bug target/61905] " trippels at gcc dot gnu.org
@ 2014-10-30 10:39 ` jakub at gcc dot gnu.org
2015-06-26 20:01 ` jakub at gcc dot gnu.org
2015-06-26 20:30 ` jakub at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-10-30 10:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61905
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.9.2 |4.9.3
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.9.2 has been released.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/61905] zero variable length array bound in cp-demangle.c cplus_demangle_print_callback
2014-07-25 8:13 [Bug c/61905] New: zero variable length array bound in cp-demangle.c cplus_demangle_print_callback zeccav at gmail dot com
` (2 preceding siblings ...)
2014-10-30 10:39 ` jakub at gcc dot gnu.org
@ 2015-06-26 20:01 ` jakub at gcc dot gnu.org
2015-06-26 20:30 ` jakub at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61905
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.9.3 has been released.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/61905] zero variable length array bound in cp-demangle.c cplus_demangle_print_callback
2014-07-25 8:13 [Bug c/61905] New: zero variable length array bound in cp-demangle.c cplus_demangle_print_callback zeccav at gmail dot com
` (3 preceding siblings ...)
2015-06-26 20:01 ` jakub at gcc dot gnu.org
@ 2015-06-26 20:30 ` jakub at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61905
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.9.3 |4.9.4
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-06-26 20:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-25 8:13 [Bug c/61905] New: zero variable length array bound in cp-demangle.c cplus_demangle_print_callback zeccav at gmail dot com
2014-09-04 9:48 ` [Bug other/61905] " mpolacek at gcc dot gnu.org
2014-09-28 9:30 ` [Bug target/61905] " trippels at gcc dot gnu.org
2014-10-30 10:39 ` jakub at gcc dot gnu.org
2015-06-26 20:01 ` jakub at gcc dot gnu.org
2015-06-26 20:30 ` jakub 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).