[Bug middle-end/41475] common variables cannot be expected to be aligned

2018-05-17 Thread atarasevich at comcast dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41475 Andrey Tarasevich changed: What|Removed |Added CC||atarasevich at comcast dot net ---

[Bug middle-end/41475] common variables cannot be expected to be aligned

2009-09-27 Thread mikulas at artax dot karlin dot mff dot cuni dot cz
--- Comment #9 from mikulas at artax dot karlin dot mff dot cuni dot cz 2009-09-27 09:51 --- The common linker definitions were made to exactly to make code like this work and share the array between two object. So if you think it is undefined, don't support it (make -fno-common

[Bug middle-end/41475] common variables cannot be expected to be aligned

2009-09-26 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-09-26 14:37 --- The bug is about common symbols. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41475

[Bug middle-end/41475] common variables cannot be expected to be aligned

2009-09-26 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2009-09-26 14:14 --- (In reply to comment #4) Isn't this a linker issue in that it doesn't use the biggest alignment? Linker can't change alignment on non-common symbols. I think it is wrong to give a different alignment for the

[Bug middle-end/41475] common variables cannot be expected to be aligned

2009-09-26 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-09-26 11:23 --- Isn't this a linker issue in that it doesn't use the biggest alignment? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41475

[Bug middle-end/41475] common variables cannot be expected to be aligned

2009-09-26 Thread mikulas at artax dot karlin dot mff dot cuni dot cz
--- Comment #7 from mikulas at artax dot karlin dot mff dot cuni dot cz 2009-09-26 15:27 --- Richard Guenther: the bug caused by common symbol (in file commonalign1.o) with the same name as data section symbol (in file commonalign2.o). In this case, the linker redirects the common

[Bug middle-end/41475] common variables cannot be expected to be aligned

2009-09-26 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2009-09-26 19:29 --- This code is undefined I think (and really it is not valid C90/C99 code). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41475

[Bug middle-end/41475] common variables cannot be expected to be aligned

2009-09-25 Thread mikulas at artax dot karlin dot mff dot cuni dot cz
--- Comment #1 from mikulas at artax dot karlin dot mff dot cuni dot cz 2009-09-26 04:05 --- Created an attachment (id=18653) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18653action=view) the first file The first file of a two-file program. Compile with gcc -c -O3

[Bug middle-end/41475] common variables cannot be expected to be aligned

2009-09-25 Thread mikulas at artax dot karlin dot mff dot cuni dot cz
--- Comment #2 from mikulas at artax dot karlin dot mff dot cuni dot cz 2009-09-26 04:06 --- Created an attachment (id=18654) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18654action=view) the second file The second file. Compile with gcc -c -Os. Then, link both object files