[Bug modula2/108147] Bootstrap failure on powerpc64le-linux with m2

2022-12-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/108147] Bootstrap failure on powerpc64le-linux with m2

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147 --- Comment #15 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:158b18ffa510105b239bd2f4a253ed33e21fcebc commit r13-4781-g158b18ffa510105b239bd2f4a253ed33e21fcebc Author: Jakub Jelinek Date:

[Bug modula2/108147] Bootstrap failure on powerpc64le-linux with m2

2022-12-19 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #14 fr

[Bug modula2/108147] Bootstrap failure on powerpc64le-linux with m2

2022-12-18 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147 --- Comment #13 from Segher Boessenkool --- (In reply to Gaius Mulley from comment #11) > Yes is looks as if '%' could be propagated though into the first parameter. > Changes could be made to m2linemap.cc to bump the parameters as you say with

[Bug modula2/108147] Bootstrap failure on powerpc64le-linux with m2

2022-12-16 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147 --- Comment #12 from Gaius Mulley --- The patch LGTM.

[Bug modula2/108147] Bootstrap failure on powerpc64le-linux with m2

2022-12-16 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147 Gaius Mulley changed: What|Removed |Added CC||gaius at gcc dot gnu.org --- Comment #11

[Bug modula2/108147] Bootstrap failure on powerpc64le-linux with m2

2022-12-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147 --- Comment #10 from Jakub Jelinek --- (In reply to Segher Boessenkool from comment #9) > This is because of crtl->outgoing_args_size for varargs functions. It is not > specific to ELFv2 afaics? Not sure why it seems to be easier to hit proble

[Bug modula2/108147] Bootstrap failure on powerpc64le-linux with m2

2022-12-16 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147 --- Comment #9 from Segher Boessenkool --- (In reply to Jakub Jelinek from comment #8) > Short test that shows that on powerpc64le-linux: > void foo (int, ...); > void bar (int); > int baz (void) { foo (1); return 0; } > int qux (void) { bar (1)

[Bug modula2/108147] Bootstrap failure on powerpc64le-linux with m2

2022-12-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147 --- Comment #8 from Jakub Jelinek --- Short test that shows that on powerpc64le-linux: void foo (int, ...); void bar (int); int baz (void) { foo (1); return 0; } int qux (void) { bar (1); return 0; } one gets at -O2 96 byte sized frame in baz ca

[Bug modula2/108147] Bootstrap failure on powerpc64le-linux with m2

2022-12-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Assignee|gaius at gcc dot g

[Bug modula2/108147] Bootstrap failure on powerpc64le-linux with m2

2022-12-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147 --- Comment #6 from Jakub Jelinek --- Actually, I see: grep WarningAtf /tmp/*.ii /tmp/M2Emit.ii:extern void m2linemap_WarningAtf (m2linemap_location_t location, void * message); /tmp/M2Emit.ii: m2linemap_WarningAtf (M2LexBuf_TokenToLocation

[Bug modula2/108147] Bootstrap failure on powerpc64le-linux with m2

2022-12-16 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147 Segher Boessenkool changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug modula2/108147] Bootstrap failure on powerpc64le-linux with m2

2022-12-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147 --- Comment #4 from Jakub Jelinek --- => 0xbac0 : std r0,16(r1) (gdb) p/x $r0 $46 = 0x1102fb0c (gdb) p/x $r1 $47 = 0x7fffe600 so lr stored to 0x7fffe610, then 0xbac4 : stdur1,-48(r1) On entry to m2l

[Bug modula2/108147] Bootstrap failure on powerpc64le-linux with m2

2022-12-16 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147 --- Comment #3 from Segher Boessenkool --- >0x10ffc2e0 <+0>: lis r2,4563 >0x10ffc2e4 <+4>: addir2,r2,29696 >0x10ffc2e8 <+8>: mflrr0 >0x10ffc2ec <+12>: std r30,-16(r1) >0x

[Bug modula2/108147] Bootstrap failure on powerpc64le-linux with m2

2022-12-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147 --- Comment #2 from Jakub Jelinek --- M2Emit_EmitError is: 71 extern "C" void M2Emit_EmitError (unsigned int error, unsigned int note, unsigned int token, DynamicStrings_String message) 72 { 73if (error) 74 { 75

[Bug modula2/108147] Bootstrap failure on powerpc64le-linux with m2

2022-12-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147 --- Comment #1 from Jakub Jelinek --- The ICE seems to be during #0 0x10ffc2e8 in m2linemap_WarningAtf (location=456515, message=0x11f57210 "In procedure 'RegisterModule': unused parameter 'name' in procedure 'RegisterModule'") at .