[PATCH v1 3/3] dwarf: purge DIEs for unreferenced extern globals.

2017-07-12 Thread FranklinSnaipeMathieu
From: Franklin “Snaipe” Mathieu Due to an earlier change in gcc that split the dwarf info generation in two steps (one early, one late), the DIE for unreferenced extern globals are no longer removed (in fact, they didn't emit it at all since they had already processed the translation uni

[PATCH v1 2/3] dwarf: purge DIEs for unreferenced extern globals.

2017-07-12 Thread FranklinSnaipeMathieu
From: Franklin “Snaipe” Mathieu Due to an earlier change in gcc that split the dwarf info generation in two steps (one early, one late), the DIE for unreferenced extern globals are no longer removed (in fact, they didn't emit it at all since they had already processed the translation uni

[PATCH v1 1/3] dwarf: purge DIEs for unreferenced extern globals.

2017-07-12 Thread FranklinSnaipeMathieu
From: Franklin “Snaipe” Mathieu Due to an earlier change in gcc that split the dwarf info generation in two steps (one early, one late), the DIE for unreferenced extern globals are no longer removed (in fact, they didn't emit it at all since they had already processed the translation uni

[PATCH v1 0/3] dwarf: purge DIEs for unreferenced extern globals.

2017-07-12 Thread FranklinSnaipeMathieu
From: Franklin “Snaipe” Mathieu Hello GCC folks, This patch series addresses PR 81135 [1]. * patch 1/3 is for trunk (built/tested on trunk@250093). * patch 2/3 is the gcc7 backport (built/tested on gcc-7-branch@249680). * patch 3/3 is the gcc6 backport (built/tested on gcc-6-branch@249671

[PATCH v1] cxx: Make __func__, __FUNCTION__, and __PRETTY_FUNCTION__ constexpr.

2017-06-28 Thread Franklin Snaipe Mathieu
From: "Franklin \"Snaipe\" Mathieu" This patch makes the forementioned definitions `contexpr` when compiling C++11 and above with GNU extensions. gcc/cp/ChangeLog: 2017-06-27 Franklin “Snaipe” Mathieu PR c++/66639 * decl.c (cp_make_fname_decl): Make d

[PATCH v1] cxx: Make __func__, __FUNCTION__, and __PRETTY_FUNCTION__ constexpr.

2017-06-28 Thread FranklinSnaipeMathieu
From: Franklin “Snaipe” Mathieu This patch makes the forementioned definitions `contexpr` when compiling C++11 and above with GNU extensions. gcc/cp/ChangeLog: 2017-06-27 Franklin “Snaipe” Mathieu PR c++/66639 * decl.c (cp_make_fname_decl): Make declaration constexpr. gcc