This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/27781] [4.1/4.2 Regression] weak-attribute over-optimisation
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 May 2006 12:04:00 -0000
- Subject: [Bug c/27781] [4.1/4.2 Regression] weak-attribute over-optimisation
- References: <bug-27781-12747@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rguenth at gcc dot gnu dot org 2006-05-28 12:03 -------
ipa-pure-const thinks that func is const, which is wrong. Then DCE comes along
and deletes the function call.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2006-05-28 12:03:59
date| |
Summary|weak-attribute over- |[4.1/4.2 Regression] weak-
|optimisation with 4.1 |attribute over-optimisation
Target Milestone|--- |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27781