This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/24295] [4.1 Regression] #pragma weak foo = bar no longer causes bar to be referenced
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Oct 2005 15:57:44 -0000
- Subject: [Bug middle-end/24295] [4.1 Regression] #pragma weak foo = bar no longer causes bar to be referenced
- References: <bug-24295-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from pinskia at gcc dot gnu dot org 2005-10-10 15:57 -------
I am starting to think the following patch caused it:
-2005-03-29 Jakub Jelinek <jakub@redhat.com>
-
- PR middle-end/20622
- * cgraph.h (struct cgraph_varpool_node): Add alias field.
- * cgraph.c (cgraph_varpool_assemble_pending_decls): Don't call
- assemble_variable on aliases.
- * varasm.c (assemble_alias): Set node->alias.
- * toplev.c (wrapup_global_declarations): Don't call
- rest_of_decl_compilation on aliases again.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24295