This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/25042] [3.4/4.0/4.1/4.2 Regression] __float128 ICE on x86
- From: "hubicka at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Dec 2005 23:11:38 -0000
- Subject: [Bug target/25042] [3.4/4.0/4.1/4.2 Regression] __float128 ICE on x86
- References: <bug-25042-230@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from hubicka at gcc dot gnu dot org 2005-12-19 23:11 -------
testing patch:
Index: config/i386/i386.c
===================================================================
*** config/i386/i386.c (revision 108753)
--- config/i386/i386.c (working copy)
*************** ix86_function_regparm (tree type, tree d
*** 2179,2184 ****
--- 2179,2186 ----
/* Use register calling convention for local functions when possible.
*/
if (!TARGET_64BIT && !user_convention && decl
+ /* Libcalls pass IDENTIFIER_NODE as an decl. */
+ && TREE_CODE (decl) == FUNCTION_DECL
&& flag_unit_at_a_time && !profile_flag)
{
struct cgraph_local_info *i = cgraph_local_info (decl);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25042