public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/26282] New: Runtime alignment checks are not optimized
@ 2006-02-14 13:37 rguenth at gcc dot gnu dot org
2006-02-14 13:42 ` [Bug middle-end/26282] " pinskia at gcc dot gnu dot org
2007-09-24 19:46 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-02-14 13:37 UTC (permalink / raw)
To: gcc-bugs
For addresses of memory objects where we know its alignment we should be able
to optimize runtime alignment checks like in
long foo;
void bar(void)
{
if ((intptr_t)&foo & 3)
link_error ();
}
and more cases like for function pointers or pmf (#3713).
--
Summary: Runtime alignment checks are not optimized
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: enhancement
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rguenth at gcc dot gnu dot org
OtherBugsDependingO 3713
nThis:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26282
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug middle-end/26282] Runtime alignment checks are not optimized
2006-02-14 13:37 [Bug middle-end/26282] New: Runtime alignment checks are not optimized rguenth at gcc dot gnu dot org
@ 2006-02-14 13:42 ` pinskia at gcc dot gnu dot org
2007-09-24 19:46 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-14 13:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-02-14 13:41 -------
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-02-14 13:41:57
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26282
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug middle-end/26282] Runtime alignment checks are not optimized
2006-02-14 13:37 [Bug middle-end/26282] New: Runtime alignment checks are not optimized rguenth at gcc dot gnu dot org
2006-02-14 13:42 ` [Bug middle-end/26282] " pinskia at gcc dot gnu dot org
@ 2007-09-24 19:46 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-09-24 19:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-09-24 19:46 -------
Fixed via http://gcc.gnu.org/ml/gcc-cvs/2007-09/msg00696.html .
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26282
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-09-24 19:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-14 13:37 [Bug middle-end/26282] New: Runtime alignment checks are not optimized rguenth at gcc dot gnu dot org
2006-02-14 13:42 ` [Bug middle-end/26282] " pinskia at gcc dot gnu dot org
2007-09-24 19:46 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).