[Bug target/92030] New: Wrong asm code for aliases on MIPS.

2019-10-08 Thread anikulin at dlink dot ru
Assignee: unassigned at gcc dot gnu.org Reporter: anikulin at dlink dot ru Target Milestone: --- Created attachment 47006 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47006&action=edit preprocessed file for the tested source GCC 8.2.0 and 5.5.0 were tried. The

[Bug target/92030] Wrong asm code for aliases on MIPS.

2019-10-09 Thread anikulin at dlink dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92030 --- Comment #2 from Alexander Nikulin --- (In reply to Richard Biener from comment #1) > You're doing it behind the back of the compiler - maybe use > __attribute__((alias("abc1"))) instead? Hi Richard, yes, I did. It declares global symbol 'a

[Bug target/92030] Wrong asm code for aliases on MIPS.

2019-10-09 Thread anikulin at dlink dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92030 --- Comment #4 from Alexander Nikulin --- (In reply to Alexander Monakov from comment #3) > The alias attribute usually works fine with declarations of static variables. > > So, have you tried > > static struct memtype MTYPE_##name[1] __attribu

[Bug target/92030] Wrong asm code for aliases on MIPS.

2019-10-09 Thread anikulin at dlink dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92030 Alexander Nikulin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---