re PR rtl-optimization/56356 (DJGPP compiler crashing)
PR rtl-optimization/56356 * sdbout.c (sdbout_parms): Verify that parms' incoming argument is valid. (sdbout_reg_parms): Likewise. From-SVN: r208663
This commit is contained in:
parent
58ca6edfe5
commit
234f76cb20
@ -1,3 +1,10 @@
|
||||
2014-03-18 Kai Tietz <ktietz@redhat.com>
|
||||
|
||||
PR rtl-optimization/56356
|
||||
* sdbout.c (sdbout_parms): Verify that parms'
|
||||
incoming argument is valid.
|
||||
(sdbout_reg_parms): Likewise.
|
||||
|
||||
2014-03-18 Richard Henderson <rth@redhat.com>
|
||||
|
||||
PR target/60562
|
||||
|
10
gcc/sdbout.c
10
gcc/sdbout.c
@ -1229,7 +1229,10 @@ static void
|
||||
sdbout_parms (tree parms)
|
||||
{
|
||||
for (; parms; parms = TREE_CHAIN (parms))
|
||||
if (DECL_NAME (parms))
|
||||
if (DECL_NAME (parms)
|
||||
&& TREE_TYPE (parms) != error_mark_node
|
||||
&& DECL_RTL_SET_P (parms)
|
||||
&& DECL_INCOMING_RTL (parms))
|
||||
{
|
||||
int current_sym_value = 0;
|
||||
const char *name = IDENTIFIER_POINTER (DECL_NAME (parms));
|
||||
@ -1361,7 +1364,10 @@ static void
|
||||
sdbout_reg_parms (tree parms)
|
||||
{
|
||||
for (; parms; parms = TREE_CHAIN (parms))
|
||||
if (DECL_NAME (parms))
|
||||
if (DECL_NAME (parms)
|
||||
&& TREE_TYPE (parms) != error_mark_node
|
||||
&& DECL_RTL_SET_P (parms)
|
||||
&& DECL_INCOMING_RTL (parms))
|
||||
{
|
||||
const char *name = IDENTIFIER_POINTER (DECL_NAME (parms));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user