[Bug c/27781] [4.1/4.2 Regression] weak-attribute over-optimisation

2006-05-28 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-05-28 14:00 --- I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|

[Bug c/27781] [4.1/4.2 Regression] weak-attribute over-optimisation

2006-05-28 Thread rguenth 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 --