This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/50266] [4.6/4.7 Regression] ICE in decode_addr_const
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 06 Sep 2011 21:23:57 +0000
- Subject: [Bug middle-end/50266] [4.6/4.7 Regression] ICE in decode_addr_const
- Auto-submitted: auto-generated
- References: <bug-50266-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50266
--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-09-06 21:23:57 UTC ---
Author: ebotcazou
Date: Tue Sep 6 21:23:53 2011
New Revision: 178613
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178613
Log:
PR middle-end/50266
* c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Fold offsetof-like
computations.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/compile/20110906-1.c
- copied unchanged from r178611,
trunk/gcc/testsuite/gcc.c-torture/compile/20110906-1.c
Modified:
branches/gcc-4_6-branch/gcc/c-family/ChangeLog
branches/gcc-4_6-branch/gcc/c-family/c-common.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog