public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/54570] New: [4.8 Regression] FAIL: gcc.dg/builtin-object-size-8.c execution test
@ 2012-09-13 15:13 rguenth at gcc dot gnu.org
  2012-09-13 15:15 ` [Bug tree-optimization/54570] " rguenth at gcc dot gnu.org
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-13 15:13 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54570

             Bug #: 54570
           Summary: [4.8 Regression] FAIL: gcc.dg/builtin-object-size-8.c
                    execution test
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rguenth@gcc.gnu.org


I broke it by making early FRE more reliably figure out address equivalences.

extern void abort (void);
union A
{
  int a1;
  char a2[3];
};
int main()
{
  union A *a = __builtin_malloc (212);
  if (__builtin_object_size (&a->a1, 1) != 4
      || __builtin_object_size (&a->a2, 1) != 212)
    abort ();
  return 0;
}

Would break in similar ways with struct { int a[]; } a; and &a vs. &a.a.


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2014-01-09 15:30 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-13 15:13 [Bug tree-optimization/54570] New: [4.8 Regression] FAIL: gcc.dg/builtin-object-size-8.c execution test rguenth at gcc dot gnu.org
2012-09-13 15:15 ` [Bug tree-optimization/54570] " rguenth at gcc dot gnu.org
2012-09-13 15:17 ` rguenth at gcc dot gnu.org
2012-09-13 23:56 ` ebotcazou at gcc dot gnu.org
2012-09-13 23:58 ` ebotcazou at gcc dot gnu.org
2012-09-14  1:03 ` hp at gcc dot gnu.org
2012-09-14  1:31 ` hp at gcc dot gnu.org
2012-09-19 10:27 ` dominiq at lps dot ens.fr
2012-09-19 12:09 ` rguenth at gcc dot gnu.org
2012-10-26 10:33 ` rguenth at gcc dot gnu.org
2012-12-06 16:45 ` rguenth at gcc dot gnu.org
2012-12-11 12:55 ` rguenth at gcc dot gnu.org
2012-12-11 14:35 ` jakub at gcc dot gnu.org
2012-12-11 14:46 ` [Bug tree-optimization/54570] [4.8/4.9 " jakub at gcc dot gnu.org
2012-12-13 10:45 ` rguenth at gcc dot gnu.org
2013-11-18 15:26 ` rguenth at gcc dot gnu.org
2013-11-18 15:28 ` [Bug tree-optimization/54570] [4.8 " rguenth at gcc dot gnu.org
2013-12-03  7:49 ` jakub at gcc dot gnu.org
2014-01-09 15:25 ` rguenth at gcc dot gnu.org
2014-01-09 15:30 ` rguenth at gcc dot gnu.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).