re PR target/31854 (internal compiler error: in cgraph_local_info, at cgraph.c:618)
PR target/31854 * config/i386/i386.c (ix86_function_regparm): Process local functions only when TREE_CODE (decl) equals FUNCTION_DECL. From-SVN: r124538
This commit is contained in:
parent
9b4fc32c63
commit
ac97d816a6
|
@ -1,3 +1,9 @@
|
|||
2007-05-08 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR target/31854
|
||||
* config/i386/i386.c (ix86_function_regparm): Process local
|
||||
functions only when TREE_CODE (decl) equals FUNCTION_DECL.
|
||||
|
||||
2007-05-07 Mike Stump <mrs@apple.com>
|
||||
|
||||
* doc/invoke.texi (Warning Options): Document that -Wempty-body
|
||||
|
|
|
@ -2792,7 +2792,8 @@ ix86_function_regparm (tree type, tree decl)
|
|||
return 2;
|
||||
|
||||
/* Use register calling convention for local functions when possible. */
|
||||
if (decl && flag_unit_at_a_time && !profile_flag)
|
||||
if (decl && TREE_CODE (decl) == FUNCTION_DECL
|
||||
&& flag_unit_at_a_time && !profile_flag)
|
||||
{
|
||||
struct cgraph_local_info *i = cgraph_local_info (decl);
|
||||
if (i && i->local)
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2007-05-08 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR target/31854
|
||||
* gcc.target/i386/pr31854.c: New test.
|
||||
|
||||
2007-05-07 Janis Johnson <janis187@us.ibm.com>
|
||||
|
||||
* gcc.dg/pch/pch.exp: XFAIL largefile on Solaris 10 x86.
|
||||
|
@ -12,8 +17,8 @@
|
|||
|
||||
2007-05-07 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* gcc.dg/dfp/convert-bfp-fold.c: Remove extra assignment to
|
||||
sf variable. Rearrange conversions from binary float to decimal float.
|
||||
* gcc.dg/dfp/convert-bfp-fold.c: Remove extra assignment to 'sf'
|
||||
variable. Rearrange conversions from binary float to decimal float.
|
||||
|
||||
2007-05-07 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
/* { dg-do compile { target dfp } } */
|
||||
/* { dg-options "-O -std=gnu99" } */
|
||||
|
||||
_Decimal128 d128;
|
||||
long double tf;
|
||||
|
||||
void foo (void)
|
||||
{
|
||||
d128 = tf;
|
||||
}
|
Loading…
Reference in New Issue