public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/47625] New: FAIL: gcc.dg/guality/pr43077-1.c  -O2 -flto -flto-partition=none  line 42 a == 1
@ 2011-02-06 18:38 schwab@linux-m68k.org
  2011-02-07 11:36 ` [Bug lto/47625] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: schwab@linux-m68k.org @ 2011-02-06 18:38 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: FAIL: gcc.dg/guality/pr43077-1.c  -O2 -flto
                    -flto-partition=none  line 42 a == 1
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: schwab@linux-m68k.org
            Target: powerpc*-*-*


Breakpoint 1, fn3 ()
    at /daten/gcc/gcc-20110206/gcc/testsuite/gcc.dg/guality/pr43077-1.c:44
44      }
(gdb) whatis a
type = const number
(gdb) ptype a
type = union {
    int i[2];
    double d;
}(gdb) i addr a
Symbol "a" is static storage at address 0xffbc4f0.


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

* [Bug lto/47625] FAIL: gcc.dg/guality/pr43077-1.c  -O2 -flto -flto-partition=none  line 42 a == 1
  2011-02-06 18:38 [Bug lto/47625] New: FAIL: gcc.dg/guality/pr43077-1.c -O2 -flto -flto-partition=none line 42 a == 1 schwab@linux-m68k.org
@ 2011-02-07 11:36 ` rguenth at gcc dot gnu.org
  2011-02-07 23:37 ` schwab@linux-m68k.org
  2012-05-07 12:23 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-02-07 11:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-02-07 11:35:11 UTC ---
Huh, there isn't even such a union in the testcase ;)

On x86_64-linux for this testcase I get

FAIL: gcc.dg/guality/pr43077-1.c  -O2 -flto -flto-partition=none  line 42 varb
== 2
FAIL: gcc.dg/guality/pr43077-1.c  -O2 -flto  line 11 varb == 2
FAIL: gcc.dg/guality/pr43077-1.c  -O2 -flto  line 19 varb == 3
FAIL: gcc.dg/guality/pr43077-1.c  -O2 -flto  line 42 varb == 2

instead.

That said, there are numerous known issues with debug support and LTO, but
most of the guality fails would be nice to have analyzed as C debug support
should be basically "complete".


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

* [Bug lto/47625] FAIL: gcc.dg/guality/pr43077-1.c  -O2 -flto -flto-partition=none  line 42 a == 1
  2011-02-06 18:38 [Bug lto/47625] New: FAIL: gcc.dg/guality/pr43077-1.c -O2 -flto -flto-partition=none line 42 a == 1 schwab@linux-m68k.org
  2011-02-07 11:36 ` [Bug lto/47625] " rguenth at gcc dot gnu.org
@ 2011-02-07 23:37 ` schwab@linux-m68k.org
  2012-05-07 12:23 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: schwab@linux-m68k.org @ 2011-02-07 23:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> 2011-02-07 23:13:54 UTC ---
The type is coming from libc debuginfo.


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

* [Bug lto/47625] FAIL: gcc.dg/guality/pr43077-1.c  -O2 -flto -flto-partition=none  line 42 a == 1
  2011-02-06 18:38 [Bug lto/47625] New: FAIL: gcc.dg/guality/pr43077-1.c -O2 -flto -flto-partition=none line 42 a == 1 schwab@linux-m68k.org
  2011-02-07 11:36 ` [Bug lto/47625] " rguenth at gcc dot gnu.org
  2011-02-07 23:37 ` schwab@linux-m68k.org
@ 2012-05-07 12:23 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-05-07 12:23 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-07 12:14:14 UTC ---
Seems to be fixed with recent enough gdb(?)


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

end of thread, other threads:[~2012-05-07 12:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-06 18:38 [Bug lto/47625] New: FAIL: gcc.dg/guality/pr43077-1.c -O2 -flto -flto-partition=none line 42 a == 1 schwab@linux-m68k.org
2011-02-07 11:36 ` [Bug lto/47625] " rguenth at gcc dot gnu.org
2011-02-07 23:37 ` schwab@linux-m68k.org
2012-05-07 12:23 ` 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).