[Bug lto/61192] Conflict between register and function name for lto on sparc

2014-10-20 Thread i.palachev at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61192

Ilya Palachev i.palachev at samsung dot com changed:

   What|Removed |Added

 CC||i.palachev at samsung dot com

--- Comment #2 from Ilya Palachev i.palachev at samsung dot com ---
(In reply to Daniel Cederman from comment #0)
 when using lto on sparc.

Daniel, can you also provide original source code (not preprocessed)? It's
interesting whether this error can be reproduced on other arhictectures.


[Bug lto/61192] Conflict between register and function name for lto on sparc

2014-10-20 Thread cederman at gaisler dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61192

--- Comment #3 from Daniel Cederman cederman at gaisler dot com ---
(In reply to Ilya Palachev from comment #2)
 (In reply to Daniel Cederman from comment #0)
  when using lto on sparc.
 
 Daniel, can you also provide original source code (not preprocessed)? It's
 interesting whether this error can be reproduced on other arhictectures.

I used creduce on the source code and this code triggers the error:

register int _SPARC_Per_CPU_current __asm__(g6);
int __getreent___trans_tmp_1;

__getreent() {
  int cpu_self = _SPARC_Per_CPU_current;
  __getreent___trans_tmp_1 = cpu_self;
}

g6() {}

I compiled with the same compiler as before, I have not tried with a newer
version of gcc.


[Bug lto/61192] Conflict between register and function name for lto on sparc

2014-05-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61192

Richard Biener rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 CC||hubicka at gcc dot gnu.org,
   ||rguenth at gcc dot gnu.org

--- Comment #1 from Richard Biener rguenth at gcc dot gnu.org ---
This looks like a symtab issue to me.  Honza?