[Bug c/71422] Total size of static objects is not limited

2018-10-30 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71422

Eric Gallager  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |INVALID

--- Comment #4 from Eric Gallager  ---
(In reply to Eric Gallager from comment #3)
> (In reply to Eric Gallager from comment #2)
> > (In reply to Jakub Jelinek from comment #1)
> > > IMNSHO gcc shouldn't, after all, if you just put each into a separate CU,
> > > gcc won't even see them together.  It should be linker's responsibility to
> > > complain.
> > 
> > What if you use LTO?
> 
> WAITING on a reply to this

No reply; assuming that LTO can't actually do anything and that this is
actually a linker issue as Jakub suggested.

[Bug c/71422] Total size of static objects is not limited

2018-07-28 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71422

Eric Gallager  changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2018-07-29
 Ever confirmed|0   |1

--- Comment #3 from Eric Gallager  ---
(In reply to Eric Gallager from comment #2)
> (In reply to Jakub Jelinek from comment #1)
> > IMNSHO gcc shouldn't, after all, if you just put each into a separate CU,
> > gcc won't even see them together.  It should be linker's responsibility to
> > complain.
> 
> What if you use LTO?

WAITING on a reply to this

[Bug c/71422] Total size of static objects is not limited

2017-07-29 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71422

Eric Gallager  changed:

   What|Removed |Added

 CC||egallager at gcc dot gnu.org

--- Comment #2 from Eric Gallager  ---
(In reply to Jakub Jelinek from comment #1)
> IMNSHO gcc shouldn't, after all, if you just put each into a separate CU,
> gcc won't even see them together.  It should be linker's responsibility to
> complain.

What if you use LTO?

[Bug c/71422] Total size of static objects is not limited

2016-06-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71422

Jakub Jelinek  changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek  ---
IMNSHO gcc shouldn't, after all, if you just put each into a separate CU, gcc
won't even see them together.  It should be linker's responsibility to
complain.