public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/20301] New: Assembler labels have a leading "-"
@ 2005-03-03 17:23 steve at netfuel dot com
  2005-03-03 18:42 ` [Bug middle-end/20301] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: steve at netfuel dot com @ 2005-03-03 17:23 UTC (permalink / raw)
  To: gcc-bugs

I am compiling a large jar file.

/opt/gcc-3.4.3-cvs/bin/gcj -c ../../kernel/kernel.jar --classpath=..:../kernel
-o kernel.o
/var/tmp//cct7Jptt.s: Assembler messages:
/var/tmp//cct7Jptt.s:103992: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:143015: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:169767: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:169775: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:179941: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:208865: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:225045: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:230975: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:231045: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:232434: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:232840: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:234117: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:235266: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:239572: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:240134: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:241111: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:243455: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:243858: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:246766: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:264795: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:272843: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:274270: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:276426: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:277635: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:278726: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:279508: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:296087: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:296150: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:296234: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:306372: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:406839: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:436738: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:530831: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:568280: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:582599: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:594217: Error: unknown pseudo-op: `.ll'
/var/tmp//cct7Jptt.s:652229: Error: unknown pseudo-op: `.ll'
make[2]: *** [kernel.o] Error 1
make[1]: *** [kernel.o] Error 2
make: *** [_SunOS_5.8_sparc] Error 2

The resulting *.s file has labels that contain "-" which causes as to fail.
If I hand remove the "-" from the .s file it compiles.

Here is a snipet of the resulting *.s code with the problem
.LLEHE635:
        restore
        jmp     %o7+8
         nop
        .align 4
        .align 4
.LL-1347440721:
        .word   .LL7725
        .word   .LL7697
        .word   .LL7726
        .word   .LL7727
        .word   .LL7728
        .word   .LL7729


I looks like the emitter has an int for the label counter instead of a uint.

[steve@helios are]$ gcc -v
Using built-in specs.
Configured with: ../configure --prefix=/opt/gcc-3.4.3-cvs --with-gnu-as
--with-gnu-ld
Thread model: posix
gcc version 4.0.0 20050120 (experimental)
[steve@helios are]$ gcj -v
Using built-in specs.
Reading specs from
/NetFuel/compilers/solaris-sparc-2.8/gcc-3.4.3-cvs/bin/../lib/gcc/sparc-sun-solaris2.8/4.0.0/../../../libgcj.spec
rename spec lib to liborig
Configured with: ../configure --prefix=/opt/gcc-3.4.3-cvs --with-gnu-as
--with-gnu-ld
Thread model: posix
gcc version 4.0.0 20050120 (experimental)

-- 
           Summary: Assembler labels have a leading "-"
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: steve at netfuel dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.8
  GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8


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


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

* [Bug middle-end/20301] Assembler labels have a leading "-"
  2005-03-03 17:23 [Bug target/20301] New: Assembler labels have a leading "-" steve at netfuel dot com
@ 2005-03-03 18:42 ` pinskia at gcc dot gnu dot org
  2005-04-15 22:07 ` ebotcazou 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 @ 2005-03-03 18:42 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
          Component|target                      |middle-end
           Keywords|                            |wrong-code


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


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

* [Bug middle-end/20301] Assembler labels have a leading "-"
  2005-03-03 17:23 [Bug target/20301] New: Assembler labels have a leading "-" steve at netfuel dot com
  2005-03-03 18:42 ` [Bug middle-end/20301] " pinskia at gcc dot gnu dot org
@ 2005-04-15 22:07 ` ebotcazou at gcc dot gnu dot org
  2005-04-15 22:09 ` [Bug target/20301] " ebotcazou at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-04-15 22:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-04-15 22:07 -------
Confirmed, there is indeed a suspicious cast in the way.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-15 22:07:24
               date|                            |


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


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

* [Bug target/20301] Assembler labels have a leading "-"
  2005-03-03 17:23 [Bug target/20301] New: Assembler labels have a leading "-" steve at netfuel dot com
  2005-03-03 18:42 ` [Bug middle-end/20301] " pinskia at gcc dot gnu dot org
  2005-04-15 22:07 ` ebotcazou at gcc dot gnu dot org
@ 2005-04-15 22:09 ` ebotcazou at gcc dot gnu dot org
  2005-05-31 16:34 ` ebotcazou at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-04-15 22:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-04-15 22:09 -------
Recategorizing for now.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|middle-end                  |target


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


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

* [Bug target/20301] Assembler labels have a leading "-"
  2005-03-03 17:23 [Bug target/20301] New: Assembler labels have a leading "-" steve at netfuel dot com
                   ` (2 preceding siblings ...)
  2005-04-15 22:09 ` [Bug target/20301] " ebotcazou at gcc dot gnu dot org
@ 2005-05-31 16:34 ` ebotcazou at gcc dot gnu dot org
  2005-06-14 13:08 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-05-31 16:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-05-31 16:32 -------
Investigating.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-04-15 22:07:24         |2005-05-31 16:32:34
               date|                            |


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


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

* [Bug target/20301] Assembler labels have a leading "-"
  2005-03-03 17:23 [Bug target/20301] New: Assembler labels have a leading "-" steve at netfuel dot com
                   ` (3 preceding siblings ...)
  2005-05-31 16:34 ` ebotcazou at gcc dot gnu dot org
@ 2005-06-14 13:08 ` cvs-commit at gcc dot gnu dot org
  2005-06-14 13:12 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-06-14 13:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-06-14 13:08 -------
Subject: Bug 20301

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ebotcazou@gcc.gnu.org	2005-06-14 13:07:43

Modified files:
	gcc            : ChangeLog 
	gcc/config/sparc: sol2.h 

Log message:
	PR target/20301
	* config/sparc/sol2.h (ASM_GENERATE_INTERNAL_LABEL): Emit
	unsigned index numbers.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9143&r2=2.9144
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sol2.h.diff?cvsroot=gcc&r1=1.72&r2=1.73



-- 


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


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

* [Bug target/20301] Assembler labels have a leading "-"
  2005-03-03 17:23 [Bug target/20301] New: Assembler labels have a leading "-" steve at netfuel dot com
                   ` (4 preceding siblings ...)
  2005-06-14 13:08 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-14 13:12 ` cvs-commit at gcc dot gnu dot org
  2005-06-14 13:15 ` cvs-commit at gcc dot gnu dot org
  2005-06-14 13:19 ` ebotcazou at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-06-14 13:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-06-14 13:12 -------
Subject: Bug 20301

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	ebotcazou@gcc.gnu.org	2005-06-14 13:12:01

Modified files:
	gcc            : ChangeLog 
	gcc/config/sparc: sol2.h 

Log message:
	PR target/20301
	* config/sparc/sol2.h (ASM_GENERATE_INTERNAL_LABEL): Emit
	unsigned index numbers.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.286&r2=2.7592.2.287
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sol2.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.69.8.2&r2=1.69.8.3



-- 


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


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

* [Bug target/20301] Assembler labels have a leading "-"
  2005-03-03 17:23 [Bug target/20301] New: Assembler labels have a leading "-" steve at netfuel dot com
                   ` (5 preceding siblings ...)
  2005-06-14 13:12 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-14 13:15 ` cvs-commit at gcc dot gnu dot org
  2005-06-14 13:19 ` ebotcazou at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-06-14 13:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-06-14 13:15 -------
Subject: Bug 20301

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	ebotcazou@gcc.gnu.org	2005-06-14 13:15:02

Modified files:
	gcc            : ChangeLog 
	gcc/config/sparc: sol2.h 

Log message:
	PR target/20301
	* config/sparc/sol2.h (ASM_GENERATE_INTERNAL_LABEL): Emit
	unsigned index numbers.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.877&r2=2.2326.2.878
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sol2.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.57.4.5&r2=1.57.4.6



-- 


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


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

* [Bug target/20301] Assembler labels have a leading "-"
  2005-03-03 17:23 [Bug target/20301] New: Assembler labels have a leading "-" steve at netfuel dot com
                   ` (6 preceding siblings ...)
  2005-06-14 13:15 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-14 13:19 ` ebotcazou at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-06-14 13:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-06-14 13:18 -------
I guess index number overflow is looming, but still.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.1


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


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

end of thread, other threads:[~2005-06-14 13:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-03 17:23 [Bug target/20301] New: Assembler labels have a leading "-" steve at netfuel dot com
2005-03-03 18:42 ` [Bug middle-end/20301] " pinskia at gcc dot gnu dot org
2005-04-15 22:07 ` ebotcazou at gcc dot gnu dot org
2005-04-15 22:09 ` [Bug target/20301] " ebotcazou at gcc dot gnu dot org
2005-05-31 16:34 ` ebotcazou at gcc dot gnu dot org
2005-06-14 13:08 ` cvs-commit at gcc dot gnu dot org
2005-06-14 13:12 ` cvs-commit at gcc dot gnu dot org
2005-06-14 13:15 ` cvs-commit at gcc dot gnu dot org
2005-06-14 13:19 ` ebotcazou 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).