rpms/gcc/devel gcc43-fortran-debug10.patch,1.1,1.2
Jakub Jelinek
jakub at fedoraproject.org
Fri Aug 29 16:55:53 UTC 2008
Author: jakub
Update of /cvs/pkgs/rpms/gcc/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11573
Modified Files:
gcc43-fortran-debug10.patch
Log Message:
4.3.2-1
gcc43-fortran-debug10.patch:
Index: gcc43-fortran-debug10.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gcc/devel/gcc43-fortran-debug10.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gcc43-fortran-debug10.patch 29 Aug 2008 11:16:06 -0000 1.1
+++ gcc43-fortran-debug10.patch 29 Aug 2008 16:55:52 -0000 1.2
@@ -371,12 +371,13 @@
/* If we don't have a copy of this variable in memory for some reason (such
as a C++ member constant that doesn't have an out-of-line definition),
we should tell the debugger about the constant value. */
-@@ -11781,6 +11940,18 @@ tree_add_const_value_attribute (dw_die_r
+@@ -11781,6 +11940,19 @@ tree_add_const_value_attribute (dw_die_r
rtl = rtl_for_decl_init (init, type);
if (rtl)
add_const_value_attribute (var_die, rtl);
+ /* If the host and target are sane, try harder. */
-+ else if (CHAR_BIT == 8 && BITS_PER_UNIT == 8)
++ else if (CHAR_BIT == 8 && BITS_PER_UNIT == 8
++ && initializer_constant_valid_p (init, type))
+ {
+ HOST_WIDE_INT size = int_size_in_bytes (TREE_TYPE (init));
+ if (size > 0 && (int) size == size)
More information about the scm-commits
mailing list