public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/98298] New: [11 regression] g++.dg/pch/system-1.C assembly comparison fails after r11-6072
@ 2020-12-15 17:47 seurer at gcc dot gnu.org
  2020-12-15 18:47 ` [Bug libstdc++/98298] " redi at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: seurer at gcc dot gnu.org @ 2020-12-15 17:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98298

            Bug ID: 98298
           Summary: [11 regression] g++.dg/pch/system-1.C assembly
                    comparison fails after r11-6072
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:cf4ed3b41594b6935a337fe0aaf8149eadf88751, r11-6072

make  -k check-gcc RUNTESTFLAGS="pch.exp=g++.dg/pch/system-1.C"

FAIL: g++.dg/pch/system-1.C  -g assembly comparison
FAIL: g++.dg/pch/system-1.C  -O2 -g assembly comparison
FAIL: g++.dg/pch/system-1.C  -O2 assembly comparison
# of expected passes            9
# of unexpected failures        3

spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../xg++
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/pch/system-1.C
-fdiagnostics-plain-output -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0
-g -I. -Dwithout_PCH -S -o system-1.s
PASS: g++.dg/pch/system-1.C  -g -I. -Dwithout_PCH (test for excess errors)
line #101
<       lwz 9,184(31)
> 	lwz 10,184(31)
line #102
<       cmpwi 0,9,90
> 	li 9,0
line #103
<       bne 0,.L5
> 	ori 9,9,0xffff
line #104
<       .file 2
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/iostream"
> 	cmpw 0,10,9
line #105
<       .loc 2 80 34 is_stmt 1
> 	bne 0,.L5
line #106
<       addis 3,2,_ZStL8__ioinit@toc@ha
> 	.file 2 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/iostream"
line #107
<       addi 3,3,_ZStL8__ioinit@toc@l
> 	.loc 2 80 34 is_stmt 1
line #108
<       bl _ZNSt8ios_base4InitC1Ev
> 	addis 3,2,_ZStL8__ioinit@toc@ha
line #109
<       nop
> 	addi 3,3,_ZStL8__ioinit@toc@l
line #110
<       .loc 2 80 25
> 	bl _ZNSt8ios_base4InitC1Ev
line #111
<       addis 5,2,__dso_handle@toc@ha
> 	nop
line #112
<       addi 5,5,__dso_handle@toc@l
> 	.loc 2 80 25
line #113
<       addis 4,2,_ZStL8__ioinit@toc@ha
> 	addis 5,2,__dso_handle@toc@ha
line #114
<       addi 4,4,_ZStL8__ioinit@toc@l
> 	addi 5,5,__dso_handle@toc@l
line #115
<       addis 9,2,.LC2@toc@ha
> 	addis 4,2,_ZStL8__ioinit@toc@ha
line #116
<       ld 3,.LC2@toc@l(9)
> 	addi 4,4,_ZStL8__ioinit@toc@l
line #117
<       bl __cxa_atexit
> 	addis 9,2,.LC2@toc@ha
line #118
<       nop
> 	ld 3,.LC2@toc@l(9)
line #119
< .L5:
> 	bl __cxa_atexit
line #120
<       .loc 1 7 1
> 	nop
line #121
<       nop
> .L5:
line #122
<       addi 1,31,128
> 	.loc 1 7 1
line #123
<       .cfi_def_cfa 1, 0
> 	nop
line #124
<       ld 0,16(1)
> 	addi 1,31,128
line #125
<       mtlr 0
> 	.cfi_def_cfa 1, 0
line #126
<       ld 31,-8(1)
> 	ld 0,16(1)
line #127
<       blr
> 	mtlr 0
line #128
<       .long 0
> 	ld 31,-8(1)
line #129
<       .byte 0,9,0,1,128,1,0,1
> 	blr
line #130
<       .cfi_endproc
> 	.long 0
line #131
< .LFE2228:
> 	.byte 0,9,0,1,128,1,0,1
line #132
<       .size  
_Z41__static_initialization_and_destruction_0ii,.-.L._Z41__static_initialization_and_destruction_0ii
> 	.cfi_endproc
line #133
<       .align 2
> .LFE2228:
line #134
<       .section        ".opd","aw"
> 	.size	_Z41__static_initialization_and_destruction_0ii,.-.L._Z41__static_initialization_and_destruction_0ii
line #135
<       .align 3
> 	.align 2
line #136
< _GLOBAL__sub_I.00090_main:
> 	.section	".opd","aw"
line #137
<       .quad   .L._GLOBAL__sub_I.00090_main,.TOC.@tocbase,0
> 	.align 3
line #138
<       .previous
> _GLOBAL__sub_I_main:
line #139
<       .type   _GLOBAL__sub_I.00090_main, @function
> 	.quad	.L._GLOBAL__sub_I_main,.TOC.@tocbase,0
line #140
< .L._GLOBAL__sub_I.00090_main:
> 	.previous
line #141
< .LFB2229:
> 	.type	_GLOBAL__sub_I_main, @function
line #142
<       .loc 1 7 1
> .L._GLOBAL__sub_I_main:
line #143
<       .cfi_startproc
> .LFB2229:
line #144
<       mflr 0
> 	.loc 1 7 1
line #145
<       std 0,16(1)
> 	.cfi_startproc
line #146
<       std 31,-8(1)
> 	mflr 0
line #147
<       stdu 1,-128(1)
> 	std 0,16(1)
line #148
<       .cfi_def_cfa_offset 128
> 	std 31,-8(1)
line #149
<       .cfi_offset 65, 16
> 	stdu 1,-128(1)
line #150
<       .cfi_offset 31, -8
> 	.cfi_def_cfa_offset 128
line #151
<       mr 31,1
> 	.cfi_offset 65, 16
line #152
<       .cfi_def_cfa_register 31
> 	.cfi_offset 31, -8
line #153
<       .loc 1 7 1
> 	mr 31,1
line #154
<       li 4,90
> 	.cfi_def_cfa_register 31
line #155
<       li 3,1
> 	.loc 1 7 1
line #156
<       bl _Z41__static_initialization_and_destruction_0ii
> 	li 4,-1
line #157
<       addi 1,31,128
> 	rldicl 4,4,0,48
line #158
<       .cfi_def_cfa 1, 0
> 	li 3,1
line #159
<       ld 0,16(1)
> 	bl _Z41__static_initialization_and_destruction_0ii
line #160
<       mtlr 0
> 	addi 1,31,128
line #161
<       ld 31,-8(1)
> 	.cfi_def_cfa 1, 0
line #162
<       blr
> 	ld 0,16(1)
line #163
<       .long 0
> 	mtlr 0
line #164
<       .byte 0,9,0,1,128,1,0,1
> 	ld 31,-8(1)
line #165
<       .cfi_endproc
> 	blr
line #166
< .LFE2229:
> 	.long 0
line #167
<       .size   _GLOBAL__sub_I.00090_main,.-.L._GLOBAL__sub_I.00090_main
> 	.byte 0,9,0,1,128,1,0,1
line #168
<       .section        .init_array.00090,"aw"
> 	.cfi_endproc
line #169
<       .align 3
> .LFE2229:
line #170
<       .quad   _GLOBAL__sub_I.00090_main
> 	.size	_GLOBAL__sub_I_main,.-.L._GLOBAL__sub_I_main
line #171
<       .section        ".text"
> 	.section	.init_array,"aw"
line #172
< .Letext0:
> 	.align 3
line #173
<       .file 3
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu/bits/c++config.h"
> 	.quad	_GLOBAL__sub_I_main
line #174
<       .file 4
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/cwchar"
> 	.section	".text"
line #175
<       .file 5
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/bits/exception_ptr.h"
> .Letext0:
line #176
<       .file 6
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/type_traits"
> 	.file 3 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu/bits/c++config.h"
line #177
<       .file 7
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/debug/debug.h"
> 	.file 4 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/cwchar"
line #178
<       .file 8
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/bits/char_traits.h"
> 	.file 5 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/bits/exception_ptr.h"
line #179
<       .file 9
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/cstdint"
> 	.file 6 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/type_traits"
line #180
<       .file 10
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/clocale"
> 	.file 7 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/debug/debug.h"
line #181
<       .file 11
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/string_view"
> 	.file 8 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/bits/char_traits.h"
line #182
<       .file 12
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/bits/basic_string.h"
> 	.file 9 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/cstdint"
line #183
<       .file 13
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/cstdlib"
> 	.file 10 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/clocale"
line #184
<       .file 14
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/cstdio"
> 	.file 11 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/string_view"
line #185
<       .file 15
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/system_error"
> 	.file 12 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/bits/basic_string.h"
line #186
<       .file 16
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/bits/ios_base.h"
> 	.file 13 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/cstdlib"
line #187
<       .file 17
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/cwctype"
> 	.file 14 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/cstdio"
line #188
<       .file 18
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/iosfwd"
> 	.file 15 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/system_error"
line #189
<       .file 19
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/ostream"
> 	.file 16 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/bits/ios_base.h"
line #190
<       .file 20
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/bits/predefined_ops.h"
> 	.file 17 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/cwctype"
line #191
<       .file 21 "/usr/include/stdio.h"
> 	.file 18 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/iosfwd"
line #192
<       .file 22 "/usr/include/libio.h"
> 	.file 19 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/ostream"
line #193
<       .file 23 "/home/seurer/gcc/git/build/gcc-test/gcc/include/stdarg.h"
> 	.file 20 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/bits/predefined_ops.h"
line #194
<       .file 24 "/home/seurer/gcc/git/build/gcc-test/gcc/include/stddef.h"
> 	.file 21 "/usr/include/stdio.h"
line #195
<       .file 25 "/usr/include/wchar.h"
> 	.file 22 "/usr/include/libio.h"
line #196
<       .file 26 "/usr/include/time.h"
> 	.file 23 "/home/seurer/gcc/git/build/gcc-test/gcc/include/stdarg.h"
line #197
<       .file 27 "/usr/include/stdint.h"
> 	.file 24 "/home/seurer/gcc/git/build/gcc-test/gcc/include/stddef.h"
line #198
<       .file 28 "/usr/include/locale.h"
> 	.file 25 "/usr/include/wchar.h"
line #199
<       .file 29 "/usr/include/bits/types.h"
> 	.file 26 "/usr/include/time.h"
line #200
<       .file 30
"/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu/bits/atomic_word.h"
> 	.file 27 "/usr/include/stdint.h"
line #201
<       .file 31 "/usr/include/stdlib.h"
> 	.file 28 "/usr/include/locale.h"
line #202
<       .file 32 "/usr/include/_G_config.h"
> 	.file 29 "/usr/include/bits/types.h"
line #203
<       .file 33 "/usr/include/wctype.h"
> 	.file 30 "/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu/bits/atomic_word.h"
line #204
<       .section        .debug_info,"",@progbits
> 	.file 31 "/usr/include/stdlib.h"
line #205
< .Ldebug_info0:
> 	.file 32 "/usr/include/_G_config.h"
line #206
<       .4byte  0x23aa
> 	.file 33 "/usr/include/wctype.h"
line #207
<       .2byte  0x4
> 	.section	.debug_info,"",@progbits
line #208
<       .4byte  .Ldebug_abbrev0
> .Ldebug_info0:
line #209
<       .byte   0x8
> 	.4byte	0x23aa
line #210
<       .uleb128 0x1
> 	.2byte	0x4
line #211
<       .4byte  .LASF349
> 	.4byte	.Ldebug_abbrev0
line #212
<       .byte   0x4
> 	.byte	0x8
line #213
<       .4byte  .LASF350
> 	.uleb128 0x1
line #214
<       .4byte  .LASF351
> 	.4byte	.LASF349
line #215
<       .8byte  .Ltext0
> 	.byte	0x4
line #216
<       .8byte  .Letext0-.Ltext0
> 	.4byte	.LASF350
line #217
<       .4byte  .Ldebug_line0
> 	.4byte	.LASF351
line #218
<       .uleb128 0x2
> 	.8byte	.Ltext0
line #219
<       .string "std"
> 	.8byte	.Letext0-.Ltext0
line #220
<       .byte   0x3
> 	.4byte	.Ldebug_line0
line #221
<       .2byte  0x116
> 	.uleb128 0x2
line #222
<       .byte   0xb
> 	.string	"std"
line #223
<       .4byte  0xb81
> 	.byte	0x3
line #224
<       .uleb128 0x3
> 	.2byte	0x116
line #225
<       .4byte  .LASF0
> 	.byte	0xb
line #226
<       .byte   0x3
> 	.4byte	0xb81
line #227
<       .2byte  0x12e
> 	.uleb128 0x3
line #228
<       .byte   0x41
> 	.4byte	.LASF0
line #229
<       .uleb128 0x4
> 	.byte	0x3
line #230
<       .byte   0x3
> 	.2byte	0x12e
line #231
<       .2byte  0x12e
> 	.byte	0x41

(and lots, lots more)

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

* [Bug libstdc++/98298] [11 regression] g++.dg/pch/system-1.C assembly comparison fails after r11-6072
  2020-12-15 17:47 [Bug libstdc++/98298] New: [11 regression] g++.dg/pch/system-1.C assembly comparison fails after r11-6072 seurer at gcc dot gnu.org
@ 2020-12-15 18:47 ` redi at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: redi at gcc dot gnu.org @ 2020-12-15 18:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98298

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Reverted in r11-6091

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

end of thread, other threads:[~2020-12-15 18:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15 17:47 [Bug libstdc++/98298] New: [11 regression] g++.dg/pch/system-1.C assembly comparison fails after r11-6072 seurer at gcc dot gnu.org
2020-12-15 18:47 ` [Bug libstdc++/98298] " redi at gcc dot gnu.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).