This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/65237] [5 Regression] r221040 caused many regressions
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 27 Feb 2015 16:44:46 +0000
- Subject: [Bug ipa/65237] [5 Regression] r221040 caused many regressions
- Auto-submitted: auto-generated
- References: <bug-65237-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65237
--- Comment #8 from Jan Hubicka <hubicka at ucw dot cz> ---
>
> FAIL: gcc.dg/ipa/ipa-cp-1.c scan-ipa-dump cp "Alignment 2"
> FAIL: gcc.dg/ipa/ipa-cp-2.c scan-ipa-dump cp "Alignment 8, misalignment 4"
Sorry, these was unintentinal commits, I will revert them soon.
> FAIL: gcc.dg/noreturn-7.c (test for warnings, line 30)
Here we do merging before outputting a warning (testcase expects two warnings).
I suppose there is not much to do than -fno-ipa-cp.
Once user adds one noreturn, he will get warning for anohter, because the
functions will no longer get merged.
> FAIL: gcc.target/i386/stackalign/longlong-2.c -mno-stackrealign
> scan-assembler-times and[lq]?[^\\n]*-16,[^\\n]*sp 2
> FAIL: gcc.target/i386/stackalign/longlong-2.c -mno-stackrealign
> scan-assembler-times and[lq]?[^\\n]*-8,[^\\n]*sp 2
> FAIL: gcc.target/i386/stackalign/longlong-2.c -mstackrealign
> scan-assembler-times and[lq]?[^\\n]*-16,[^\\n]*sp 2
> FAIL: gcc.target/i386/stackalign/longlong-2.c -mstackrealign
> scan-assembler-times and[lq]?[^\\n]*-8,[^\\n]*sp 2
I suppose here we merge
void f2 (void)
{
unsigned long long a __attribute__((aligned (8)));
fn (&a);
}
and
void f4 (void)
{
unsigned long long a __attribute__((aligned (16)));
fn (&a);
}
I already discussed with Martin yesterday that we need to compare alignments.
I think he has patch on a way
Honza