This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] -pedantic-errors vs. extern template


Jason Merrill <jason@redhat.com> writes:

| >>>>> "Gabriel" == Gabriel Dos Reis <gdr@codesourcery.com> writes:
| 
| > As an aside I'm seeing the bootstrap following failure (with a fresh
| > CVS tree): 
| 
| > if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
| > ./xgcc -B./ -B/codesourcery/i686-pc-linux-gnu/bin/ -isystem /codesourcery/i686-pc-linux-gnu/include -isystem /codesourcery/i686-pc-linux-gnu/sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I/home/gdr/work/egcs/gcc -I/home/gdr/work/egcs/gcc/. -I/home/gdr/work/egcs/gcc/config -I/home/gdr/work/egcs/gcc/../include  -DL_muldi3 -c /home/gdr/work/egcs/gcc/libgcc2.c -o libgcc/./_muldi3.o
| > /tmp/cc1BJKU6.s: Assembler messages:
| > /tmp/cc1BJKU6.s:2: Warning: Missing string
| > /tmp/cc1BJKU6.s:2: Error: Rest of line ignored. First ignored character is `1'.
| 
| > It it just me?  Must I use CVS binutils?
| 
| > 'as' is from binutils 2.10.91 on a SuSE Linux.
| 
| CVS binutils shouldn't be necessary.

Ah, OK.  Thanks for your help

|  What does the bad assembly look like?

Line 2 is:

        .file 1 "/home/gdr/work/egcs/gcc/libgcc2.c"
 
The complete assembler output is below.  Thanks.

-- Gaby

	.file	"libgcc2.c"
	.file 1 "/home/gdr/work/egcs/gcc/libgcc2.c"
	.section	.debug_abbrev,"",@progbits
.Ldebug_abbrev0:
	.section	.debug_info,"",@progbits
.Ldebug_info0:
	.section	.debug_line,"",@progbits
.Ldebug_line0:
	.text
.Ltext0:
	.align 2
	.p2align 4,,15
.globl __muldi3
	.type	__muldi3,@function
__muldi3:
.LFB1:
	pushl	%ebp
.LCFI0:
	movl	%esp, %ebp
.LCFI1:
	subl	$16, %esp
.LCFI2:
	movl	%esi, -8(%ebp)
.LCFI3:
.LBB2:
.LBB3:
	movl	8(%ebp), %eax
	movl	16(%ebp), %esi
#APP
	mull %esi
#NO_APP
	movl	%edi, -4(%ebp)
.LCFI4:
.LBE3:
	movl	8(%ebp), %ecx
	movl	20(%ebp), %edi
	movl	$0, -12(%ebp)
.LBB4:
	movl	%edx, -12(%ebp)
.LBE4:
	movl	12(%ebp), %edx
	imull	%edi, %ecx
	movl	$0, -16(%ebp)
.LBE2:
	movl	-4(%ebp), %edi
.LBB5:
	imull	%edx, %esi
.LBB6:
	movl	%eax, -16(%ebp)
.LBE6:
	movl	-16(%ebp), %eax
	addl	%esi, %ecx
	movl	-12(%ebp), %esi
	leal	(%esi,%ecx), %edx
.LBE5:
	movl	-8(%ebp), %esi
	movl	%ebp, %esp
	popl	%ebp
	ret
.LFE1:
.Lfe1:
	.size	__muldi3,.Lfe1-__muldi3
	.section	.debug_frame,"",@progbits
.Lframe0:
	.long	.LECIE0-.LSCIE0
.LSCIE0:
	.long	0xffffffff
	.byte	0x1
	.string	""
	.uleb128 0x1
	.sleb128 -4
	.byte	0x8
	.byte	0xc
	.uleb128 0x4
	.uleb128 0x4
	.byte	0x88
	.uleb128 0x1
	.align 4
.LECIE0:
.LSFDE0:
	.long	.LEFDE0-.LASFDE0
.LASFDE0:
	.long	.Lframe0
	.long	.LFB1
	.long	.LFE1-.LFB1
	.byte	0x4
	.long	.LCFI0-.LFB1
	.byte	0xe
	.uleb128 0x8
	.byte	0x85
	.uleb128 0x2
	.byte	0x4
	.long	.LCFI1-.LCFI0
	.byte	0xd
	.uleb128 0x5
	.byte	0x4
	.long	.LCFI3-.LCFI1
	.byte	0x86
	.uleb128 0x4
	.byte	0x4
	.long	.LCFI4-.LCFI3
	.byte	0x87
	.uleb128 0x3
	.align 4
.LEFDE0:
	.text
.Letext0:
	.section	.debug_info
	.long	0x6e
	.value	0x2
	.long	.Ldebug_abbrev0
	.byte	0x4
	.uleb128 0x1
	.long	.Letext0
	.long	.Ltext0
	.string	"/home/gdr/work/egcs/gcc/libgcc2.c"
	.string	"GNU C 3.1 20020217 (experimental)"
	.byte	0x1
	.uleb128 0x2
	.byte	0x1
	.string	"__muldi3"
	.byte	0x1
	.value	0x163
	.long	.LFB1
	.long	.LFE1
	.byte	0x1
	.byte	0x55
	.byte	0x0
	.section	.debug_abbrev
	.uleb128 0x1
	.uleb128 0x11
	.byte	0x1
	.uleb128 0x12
	.uleb128 0x1
	.uleb128 0x11
	.uleb128 0x1
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x25
	.uleb128 0x8
	.uleb128 0x13
	.uleb128 0xb
	.byte	0x0
	.byte	0x0
	.uleb128 0x2
	.uleb128 0x2e
	.byte	0x0
	.uleb128 0x3f
	.uleb128 0xc
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0x5
	.uleb128 0x11
	.uleb128 0x1
	.uleb128 0x12
	.uleb128 0x1
	.uleb128 0x40
	.uleb128 0xa
	.byte	0x0
	.byte	0x0
	.byte	0x0
	.section	.debug_pubnames,"",@progbits
	.long	0x1b
	.value	0x2
	.long	.Ldebug_info0
	.long	0x72
	.long	0x59
	.string	"__muldi3"
	.long	0x0
	.section	.debug_aranges,"",@progbits
	.long	0x1c
	.value	0x2
	.long	.Ldebug_info0
	.byte	0x4
	.byte	0x0
	.value	0x0
	.value	0x0
	.long	.Ltext0
	.long	.Letext0-.Ltext0
	.long	0x0
	.long	0x0
	.ident	"GCC: (GNU) 3.1 20020217 (experimental)"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]