[Bug middle-end/29111] [4.2 Regression] FAIL: gcc.dg/torture/pr26565.c -O0 execution test
dave at hiauly1 dot hia dot nrc dot ca
gcc-bugzilla@gcc.gnu.org
Mon Sep 18 13:39:00 GMT 2006
------- Comment #6 from dave at hiauly1 dot hia dot nrc dot ca 2006-09-18 13:39 -------
Subject: Re: [4.2 Regression] FAIL: gcc.dg/torture/pr26565.c -O0 execution
test
> And this one: http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01569.html
Actually, I was thinking that the library name should be set by
def_builtin_1 if fallback_p is set for the builtin.
Also, based on comments in the thread:
Index: builtins.c
===================================================================
--- builtins.c (revision 117005)
+++ builtins.c (working copy)
@@ -233,6 +233,11 @@
{
unsigned int align, inner;
+ /* TER is not run at -O0, so our representation of alignment
+ information and its propagation is non-existant. */
+ if (!optimize)
+ return 0;
+
if (! POINTER_TYPE_P (TREE_TYPE (exp)))
return 0;
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29111
More information about the Gcc-bugs
mailing list