[Bug middle-end/35705] [4.3/4.4 Regression] Symbol address check eliminated by C frontend.
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 26 12:46:00 GMT 2008
------- Comment #1 from rguenth at gcc dot gnu dot org 2008-03-26 12:45 -------
This is caused by
2007-09-23 Ollie Wild <aaw@google.com>
* fold-const.c (fold_binary): Fold BIT_AND_EXPR's with a pointer
operand.
(get_pointer_modulus_and_residue): New function.
so I suppose you want to disable this optimization for addresses of functions.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Component|c |middle-end
Ever Confirmed|0 |1
Keywords| |wrong-code
Known to fail| |4.3.0
Known to work| |4.2.3
Last reconfirmed|0000-00-00 00:00:00 |2008-03-26 12:45:51
date| |
Summary|Regression: Symbol address |[4.3/4.4 Regression] Symbol
|check eliminated by C |address check eliminated by
|frontend. |C frontend.
Target Milestone|--- |4.3.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35705
More information about the Gcc-bugs
mailing list