public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/17674] New: gcc generates invalid *.s code.
@ 2004-09-26 5:32 pluto at pld-linux dot org
2004-09-26 5:36 ` [Bug c/17674] " pinskia at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: pluto at pld-linux dot org @ 2004-09-26 5:32 UTC (permalink / raw)
To: gcc-bugs
http://sources.redhat.com/bugzilla/show_bug.cgi?id=392
.set is used to modify gas intenal modes (not to evaluate expressions)
# gas documentation.
.set {feature}
Enables or disables various assembler features. Using the positive
name of the feature enables while using no{feature} disables.
--
Summary: gcc generates invalid *.s code.
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at pld-linux dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: *-pld-linux
GCC host triplet: *-pld-linux
GCC target triplet: alpha-pld-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17674
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/17674] gcc generates invalid *.s code.
2004-09-26 5:32 [Bug c/17674] New: gcc generates invalid *.s code pluto at pld-linux dot org
@ 2004-09-26 5:36 ` pinskia at gcc dot gnu dot org
2004-09-26 5:43 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-26 5:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-26 05:36 -------
Can you provide the preprocessed source?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17674
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/17674] gcc generates invalid *.s code.
2004-09-26 5:32 [Bug c/17674] New: gcc generates invalid *.s code pluto at pld-linux dot org
2004-09-26 5:36 ` [Bug c/17674] " pinskia at gcc dot gnu dot org
@ 2004-09-26 5:43 ` pinskia at gcc dot gnu dot org
2004-09-26 5:49 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-26 5:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-26 05:43 -------
SET_ASM_OP is not defined for linux or alpha-linux, you must have a local patch installed.
And ASM_OUTPUT_DEF is defined as:
#define ASM_OUTPUT_DEF(FILE, ALIAS, NAME) \
do { \
assemble_name(FILE, ALIAS); \
fputs(" = ", FILE); \
assemble_name(FILE, NAME); \
fputc('\n', FILE); \
} while (0)
Which is what you said it should be.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17674
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/17674] gcc generates invalid *.s code.
2004-09-26 5:32 [Bug c/17674] New: gcc generates invalid *.s code pluto at pld-linux dot org
2004-09-26 5:36 ` [Bug c/17674] " pinskia at gcc dot gnu dot org
2004-09-26 5:43 ` pinskia at gcc dot gnu dot org
@ 2004-09-26 5:49 ` pinskia at gcc dot gnu dot org
2004-09-26 6:47 ` pluto at pld-linux dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-26 5:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-26 05:49 -------
Plus it has been defined that way since at least 1997 so you have to have a local patch which causes
this problem.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |WORKSFORME
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17674
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/17674] gcc generates invalid *.s code.
2004-09-26 5:32 [Bug c/17674] New: gcc generates invalid *.s code pluto at pld-linux dot org
` (2 preceding siblings ...)
2004-09-26 5:49 ` pinskia at gcc dot gnu dot org
@ 2004-09-26 6:47 ` pluto at pld-linux dot org
2004-09-26 8:55 ` pluto at pld-linux dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pluto at pld-linux dot org @ 2004-09-26 6:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pluto at pld-linux dot org 2004-09-26 06:47 -------
oops, i set up a wrong version of gcc - 3.4.3-snap works fine.
it seems to not work with 3.3.4.
--
What |Removed |Added
----------------------------------------------------------------------------
Version|3.4.3 |3.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17674
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/17674] gcc generates invalid *.s code.
2004-09-26 5:32 [Bug c/17674] New: gcc generates invalid *.s code pluto at pld-linux dot org
` (3 preceding siblings ...)
2004-09-26 6:47 ` pluto at pld-linux dot org
@ 2004-09-26 8:55 ` pluto at pld-linux dot org
2004-09-26 11:50 ` falk at debian dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pluto at pld-linux dot org @ 2004-09-26 8:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pluto at pld-linux dot org 2004-09-26 08:55 -------
preprocessed sources:
http://149.156.124.14/~pluto/tmp/avc.i.bz2
http://149.156.124.14/~pluto/tmp/avc.s.bz2
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|WORKSFORME |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17674
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/17674] gcc generates invalid *.s code.
2004-09-26 5:32 [Bug c/17674] New: gcc generates invalid *.s code pluto at pld-linux dot org
` (4 preceding siblings ...)
2004-09-26 8:55 ` pluto at pld-linux dot org
@ 2004-09-26 11:50 ` falk at debian dot org
2004-09-26 13:43 ` pinskia at gcc dot gnu dot org
2004-09-26 13:53 ` pluto at pld-linux dot org
7 siblings, 0 replies; 9+ messages in thread
From: falk at debian dot org @ 2004-09-26 11:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From falk at debian dot org 2004-09-26 11:50 -------
The source contains this line:
asm (".globl " "avc_av_stats" "\n.set " "avc_av_stats" ", " "avc_av_stats"
"_internal");
Which is not valid assembly. So where do you see a gcc bug?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17674
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/17674] gcc generates invalid *.s code.
2004-09-26 5:32 [Bug c/17674] New: gcc generates invalid *.s code pluto at pld-linux dot org
` (5 preceding siblings ...)
2004-09-26 11:50 ` falk at debian dot org
@ 2004-09-26 13:43 ` pinskia at gcc dot gnu dot org
2004-09-26 13:53 ` pluto at pld-linux dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-26 13:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-26 13:43 -------
So this is not a gcc bug.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17674
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/17674] gcc generates invalid *.s code.
2004-09-26 5:32 [Bug c/17674] New: gcc generates invalid *.s code pluto at pld-linux dot org
` (6 preceding siblings ...)
2004-09-26 13:43 ` pinskia at gcc dot gnu dot org
@ 2004-09-26 13:53 ` pluto at pld-linux dot org
7 siblings, 0 replies; 9+ messages in thread
From: pluto at pld-linux dot org @ 2004-09-26 13:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pluto at pld-linux dot org 2004-09-26 13:53 -------
(In reply to comment #6)
> The source contains this line:
>
> asm (".globl " "avc_av_stats" "\n.set " "avc_av_stats" ", " "avc_av_stats"
> "_internal");
>
> Which is not valid assembly. So where do you see a gcc bug?
ehh, I'm blind :/ You're right.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17674
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-09-26 13:53 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-26 5:32 [Bug c/17674] New: gcc generates invalid *.s code pluto at pld-linux dot org
2004-09-26 5:36 ` [Bug c/17674] " pinskia at gcc dot gnu dot org
2004-09-26 5:43 ` pinskia at gcc dot gnu dot org
2004-09-26 5:49 ` pinskia at gcc dot gnu dot org
2004-09-26 6:47 ` pluto at pld-linux dot org
2004-09-26 8:55 ` pluto at pld-linux dot org
2004-09-26 11:50 ` falk at debian dot org
2004-09-26 13:43 ` pinskia at gcc dot gnu dot org
2004-09-26 13:53 ` pluto at pld-linux 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).