passes.c (rest_of_decl_compilation): Do not call dwarf2out_early_global_decl for aliases.
2015-09-21 Richard Biener <rguenther@suse.de> * passes.c (rest_of_decl_compilation): Do not call dwarf2out_early_global_decl for aliases. * g++.dg/ext/attr-alias-3.C: Add -g. From-SVN: r227973
This commit is contained in:
parent
9386cdeee6
commit
b1e251ec9e
|
@ -1,3 +1,8 @@
|
|||
2015-09-21 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* passes.c (rest_of_decl_compilation): Do not call
|
||||
dwarf2out_early_global_decl for aliases.
|
||||
|
||||
2015-09-21 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR debug/67664
|
||||
|
|
|
@ -327,7 +327,8 @@ rest_of_decl_compilation (tree decl,
|
|||
and thus have incomplete early debug and late debug
|
||||
called from varpool node removal fails to handle it
|
||||
properly. */
|
||||
|| (TREE_CODE (decl) == VAR_DECL
|
||||
|| (finalize
|
||||
&& TREE_CODE (decl) == VAR_DECL
|
||||
&& TREE_STATIC (decl) && !DECL_EXTERNAL (decl)))
|
||||
/* Avoid confusing the debug information machinery when there are
|
||||
errors. */
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2015-09-21 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* g++.dg/ext/attr-alias-3.C: Add -g.
|
||||
|
||||
2015-09-21 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR debug/67664
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// PR c++/56134
|
||||
// { dg-require-alias "" }
|
||||
// { dg-options "-g" }
|
||||
|
||||
char a;
|
||||
class Q
|
||||
|
|
Loading…
Reference in New Issue