public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/26016] using -S on a .S file does not work properly
[not found] <bug-26016-4@http.gcc.gnu.org/bugzilla/>
@ 2022-11-28 21:44 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-11-28 21:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26016
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pskocik at gmail dot com
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 88131 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug driver/26016] using -S on a .S file does not work properly
2006-01-29 9:58 [Bug pending/26016] New: " vapier at gentoo dot org
2006-01-29 14:58 ` [Bug driver/26016] " pinskia at gcc dot gnu dot org
2007-11-15 17:16 ` manu at gcc dot gnu dot org
@ 2007-11-15 17:36 ` manu at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-11-15 17:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from manu at gcc dot gnu dot org 2007-11-15 17:35 -------
This patch is just a guess but it seems to fix this:
Index: gcc/gcc.c
===================================================================
--- gcc/gcc.c (revision 130174)
+++ gcc/gcc.c (working copy)
@@ -841,9 +841,9 @@
static const char *invoke_as =
#ifdef AS_NEEDS_DASH_FOR_PIPED_INPUT
-"%{!S:-o %|.s |\n as %(asm_options) %|.s %A }";
+"%{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %|.s |\n as %(asm_options) %|.s %A }";
#else
-"%{!S:-o %|.s |\n as %(asm_options) %m.s %A }";
+"%{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %|.s |\n as %(asm_options) %m.s %A }";
#endif
/* Some compilers have limits on line lengths, and the multilib_select
@@ -1029,12 +1029,12 @@
#ifdef AS_NEEDS_DASH_FOR_PIPED_INPUT
"%(trad_capable_cpp) -lang-asm %(cpp_options) -fno-directives-only\
%{E|M|MM:%(cpp_debug_options)}\
- %{!M:%{!MM:%{!E:%{!S:-o %|.s |\n\
+ %{!M:%{!MM:%{!E:%{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %|.s |\n\
as %(asm_debug) %(asm_options) %|.s %A }}}}"
#else
"%(trad_capable_cpp) -lang-asm %(cpp_options) -fno-directives-only\
%{E|M|MM:%(cpp_debug_options)}\
- %{!M:%{!MM:%{!E:%{!S:-o %|.s |\n\
+ %{!M:%{!MM:%{!E:%{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %|.s |\n\
as %(asm_debug) %(asm_options) %m.s %A }}}}"
#endif
, 0, 1, 0},
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26016
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug driver/26016] using -S on a .S file does not work properly
2006-01-29 9:58 [Bug pending/26016] New: " vapier at gentoo dot org
2006-01-29 14:58 ` [Bug driver/26016] " pinskia at gcc dot gnu dot org
@ 2007-11-15 17:16 ` manu at gcc dot gnu dot org
2007-11-15 17:36 ` manu at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-11-15 17:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from manu at gcc dot gnu dot org 2007-11-15 17:16 -------
Confirmed. Probably some issue with the default specs.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-11-15 17:16:06
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26016
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug driver/26016] using -S on a .S file does not work properly
2006-01-29 9:58 [Bug pending/26016] New: " vapier at gentoo dot org
@ 2006-01-29 14:58 ` pinskia at gcc dot gnu dot org
2007-11-15 17:16 ` manu at gcc dot gnu dot org
2007-11-15 17:36 ` manu at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-29 14:58 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Component|pending |driver
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26016
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-11-28 21:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-26016-4@http.gcc.gnu.org/bugzilla/>
2022-11-28 21:44 ` [Bug driver/26016] using -S on a .S file does not work properly pinskia at gcc dot gnu.org
2006-01-29 9:58 [Bug pending/26016] New: " vapier at gentoo dot org
2006-01-29 14:58 ` [Bug driver/26016] " pinskia at gcc dot gnu dot org
2007-11-15 17:16 ` manu at gcc dot gnu dot org
2007-11-15 17:36 ` manu 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).