View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0037779 | FPC | Compiler | public | 2020-09-20 10:28 | 2020-09-21 22:49 |
Reporter | C Western | Assigned To | Sven Barth | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x86_64 | OS | linux | ||
Product Version | 3.3.1 | ||||
Fixed in Version | 3.3.1 | ||||
Summary | 0037779: Attached code generates invalid assembly | ||||
Description | With current trunk: fpc uref.pas Free Pascal Compiler version 3.3.1 [2020/09/20] for x86_64 Copyright (c) 1993-2020 by Florian Klaempfl and others Target OS: Linux for x86-64 Compiling uref.pas Linking uref /usr/bin/ld: uref.o: in function `main': uref.pas:(.text.n_main+0x71): undefined reference to `RTTI_$P$PROGRAM_$$_def00000007' Error: Error while linking Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted Error: /home/ctcmw/usr64/bin/ppcx64 returned an error exitcode | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 46915 | ||||
FPCOldBugId | |||||
FPCTarget | - | ||||
Attached Files |
|
|
|
|
Nice one. However do you come up with such code? (This is meant as a compliment) |
|
It is part of code for handling groups, starting from a pascal translation of http://www.ccl.net/cca/software/MATLAB/Irreducible_representatives |
|
Cryptic looking code and the use of MC := Copy(MC) is a little strange and senseless, But , I can say this, it compiles fine with 3.0.4. Not sure about 3.2.x |
|
Note the bug report specifically mentions trunk; it compiled OK until recently. This is a stripped down example; the original copied to a different place. |
|
yes. I was just making comments about the twisted looking code and yes I does compile with other versions, can't say if it executes properly, that is another mystery. |
|
Please test and close if okay. |
|
Now works for me - thanks |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-09-20 10:28 | C Western | New Issue | |
2020-09-20 10:28 | C Western | File Added: uref.pas | |
2020-09-20 11:54 | Bart Broersma | Note Added: 0125654 | |
2020-09-20 12:15 | C Western | Note Added: 0125657 | |
2020-09-20 12:30 | jamie philbrook | Note Added: 0125660 | |
2020-09-20 14:02 | C Western | Note Added: 0125663 | |
2020-09-20 15:30 | jamie philbrook | Note Added: 0125671 | |
2020-09-21 21:35 | Sven Barth | Assigned To | => Sven Barth |
2020-09-21 21:35 | Sven Barth | Status | new => assigned |
2020-09-21 22:19 | Sven Barth | Status | assigned => resolved |
2020-09-21 22:19 | Sven Barth | Resolution | open => fixed |
2020-09-21 22:19 | Sven Barth | Fixed in Version | => 3.3.1 |
2020-09-21 22:19 | Sven Barth | Fixed in Revision | => 46915 |
2020-09-21 22:19 | Sven Barth | FPCTarget | => - |
2020-09-21 22:19 | Sven Barth | Note Added: 0125741 | |
2020-09-21 22:49 | C Western | Status | resolved => closed |
2020-09-21 22:49 | C Western | Note Added: 0125742 |