public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/41281] New: toplevel asms do not work
@ 2009-09-05 17:46 rguenth at gcc dot gnu dot org
2009-09-14 12:34 ` [Bug lto/41281] " rguenth at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-05 17:46 UTC (permalink / raw)
To: gcc-bugs
Testcase:
asm(".text\n"
".globl main\n"
"\t.type main,@function\n"
"main:\n"
"\tret\n");
$ ./xgcc -B. -o t t.c -flto
/usr/lib/crt1.o: In function `_start':
/build/buildd-eglibc_2.9-26-i386-ldMK3g/eglibc-2.9/csu/../sysdeps/i386/elf/start.S:115:
undefined reference to `main'
collect2: ld returned 1 exit status
--
Summary: toplevel asms do not work
Product: gcc
Version: lto
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rguenth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41281
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/41281] toplevel asms do not work
2009-09-05 17:46 [Bug lto/41281] New: toplevel asms do not work rguenth at gcc dot gnu dot org
@ 2009-09-14 12:34 ` rguenth at gcc dot gnu dot org
2009-09-14 13:49 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-14 12:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2009-09-14 12:34 -------
We need to stream cgraph_asm_nodes.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41281
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/41281] toplevel asms do not work
2009-09-05 17:46 [Bug lto/41281] New: toplevel asms do not work rguenth at gcc dot gnu dot org
2009-09-14 12:34 ` [Bug lto/41281] " rguenth at gcc dot gnu dot org
@ 2009-09-14 13:49 ` rguenth at gcc dot gnu dot org
2009-10-05 14:30 ` rguenth at gcc dot gnu dot org
2009-10-05 14:31 ` rguenth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-14 13:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2009-09-14 13:49 -------
I have a patch that fixes -flto at least.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-09-14 13:49:15
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41281
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/41281] toplevel asms do not work
2009-09-05 17:46 [Bug lto/41281] New: toplevel asms do not work rguenth at gcc dot gnu dot org
2009-09-14 12:34 ` [Bug lto/41281] " rguenth at gcc dot gnu dot org
2009-09-14 13:49 ` rguenth at gcc dot gnu dot org
@ 2009-10-05 14:30 ` rguenth at gcc dot gnu dot org
2009-10-05 14:31 ` rguenth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-05 14:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-05 14:30 -------
Subject: Bug 41281
Author: rguenth
Date: Mon Oct 5 14:30:10 2009
New Revision: 152453
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152453
Log:
2009-10-05 Richard Guenther <rguenther@suse.de>
PR lto/41281
* lto-cgraph.c (output_cgraph): Output toplevel asms.
(input_cgraph_1): Input toplevel asms.
* gcc.dg/lto/20090914-2_0.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/lto/20090914-2_0.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/lto-cgraph.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41281
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/41281] toplevel asms do not work
2009-09-05 17:46 [Bug lto/41281] New: toplevel asms do not work rguenth at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-10-05 14:30 ` rguenth at gcc dot gnu dot org
@ 2009-10-05 14:31 ` rguenth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-05 14:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2009-10-05 14:31 -------
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41281
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-10-05 14:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-05 17:46 [Bug lto/41281] New: toplevel asms do not work rguenth at gcc dot gnu dot org
2009-09-14 12:34 ` [Bug lto/41281] " rguenth at gcc dot gnu dot org
2009-09-14 13:49 ` rguenth at gcc dot gnu dot org
2009-10-05 14:30 ` rguenth at gcc dot gnu dot org
2009-10-05 14:31 ` rguenth at gcc dot gnu dot 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).