From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo commit in src/patchsets/gcc/4.2.2/gentoo: 56_all_gcc-4.2-pr31899.patch README.history |
Date: | Sun, 14 Oct 2007 22:37:01 |
Message-Id: | E1IhBv8-0007M6-Ax@stork.gentoo.org |
1 | vapier 07/10/14 22:26:50 |
2 | |
3 | Modified: README.history |
4 | Added: 56_all_gcc-4.2-pr31899.patch |
5 | Log: |
6 | fix from upstream PR31899 for #195628 |
7 | |
8 | Revision Changes Path |
9 | 1.2 src/patchsets/gcc/4.2.2/gentoo/README.history |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.2.2/gentoo/README.history?rev=1.2&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.2.2/gentoo/README.history?rev=1.2&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.2.2/gentoo/README.history?r1=1.1&r2=1.2 |
14 | |
15 | Index: README.history |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.2.2/gentoo/README.history,v |
18 | retrieving revision 1.1 |
19 | retrieving revision 1.2 |
20 | diff -u -r1.1 -r1.2 |
21 | --- README.history 11 Oct 2007 04:43:19 -0000 1.1 |
22 | +++ README.history 14 Oct 2007 22:26:49 -0000 1.2 |
23 | @@ -1,3 +1,6 @@ |
24 | +1.1 [pending] |
25 | + + 56_all_gcc-4.2-pr31899.patch |
26 | + |
27 | 1.0 11.10.2007 |
28 | + 00_all_gcc-4.1-alpha-mieee-default.patch |
29 | + 00_all_gcc-trampolinewarn.patch |
30 | |
31 | |
32 | |
33 | 1.1 src/patchsets/gcc/4.2.2/gentoo/56_all_gcc-4.2-pr31899.patch |
34 | |
35 | file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.2.2/gentoo/56_all_gcc-4.2-pr31899.patch?rev=1.1&view=markup |
36 | plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.2.2/gentoo/56_all_gcc-4.2-pr31899.patch?rev=1.1&content-type=text/plain |
37 | |
38 | Index: 56_all_gcc-4.2-pr31899.patch |
39 | =================================================================== |
40 | http://bugs.gentoo.org/195628 |
41 | http://gcc.gnu.org/PR31899 |
42 | |
43 | 2007-10-03 Doug Kwan <dougkwan@××××××.com> |
44 | Richard Guenther <rguenther@××××.de> |
45 | |
46 | PR debug/31899 |
47 | * dwarf2out.c (reference_to_unused): Disable sanity checking, |
48 | be conservative instead. |
49 | |
50 | Index: gcc-4.2.2/gcc/dwarf2out.c |
51 | =================================================================== |
52 | --- gcc-4.2.2/gcc/dwarf2out.c (revision 129198) |
53 | +++ gcc-4.2.2/gcc/dwarf2out.c (revision 129199) |
54 | @@ -10005,9 +10005,12 @@ |
55 | return *tp; |
56 | else if (!flag_unit_at_a_time) |
57 | return NULL_TREE; |
58 | + /* ??? The C++ FE emits debug information for using decls, so |
59 | + putting gcc_unreachable here falls over. See PR31899. For now |
60 | + be conservative. */ |
61 | else if (!cgraph_global_info_ready |
62 | && (TREE_CODE (*tp) == VAR_DECL || TREE_CODE (*tp) == FUNCTION_DECL)) |
63 | - gcc_unreachable (); |
64 | + return *tp; |
65 | else if (DECL_P (*tp) && TREE_CODE (*tp) == VAR_DECL) |
66 | { |
67 | struct cgraph_varpool_node *node = cgraph_varpool_node (*tp); |
68 | |
69 | |
70 | |
71 | -- |
72 | gentoo-commits@g.o mailing list |