[Bug c/70749] error: storage size of ‘a’ isn’t known goes away with -Os

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70749

Andrew Pinski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
   Target Milestone|--- |6.0
 Resolution|--- |DUPLICATE

--- Comment #4 from Andrew Pinski  ---
Dup of bug 24293.

*** This bug has been marked as a duplicate of bug 24293 ***

[Bug c/70749] error: storage size of ‘a’ isn’t known goes away with -Os

2016-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70749

Richard Biener  changed:

   What|Removed |Added

 CC||gerhard.steinmetz.fortran@t
   ||-online.de

--- Comment #3 from Richard Biener  ---
*** Bug 70950 has been marked as a duplicate of this bug. ***

[Bug c/70749] error: storage size of ‘a’ isn’t known goes away with -Os

2016-04-21 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70749

--- Comment #2 from ktkachov at gcc dot gnu.org ---
Trunk errors with or without optimisation.
GCC 5 and earlier don't error with optimisation.

If this behaviour is expected (and the bug is in the kernel sources) feel free
to close the report. I just thought it curious that the error depends on
optimisation level.

[Bug c/70749] error: storage size of ‘a’ isn’t known goes away with -Os

2016-04-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70749

Richard Biener  changed:

   What|Removed |Added

Summary|[4.9/5 Regression] error:   |error: storage size of ‘a’
   |storage size of ‘a’ isn’t   |isn’t known goes away with
   |known goes away with -Os|-Os
  Known to fail||4.3.5

--- Comment #1 from Richard Biener  ---
What version works for you?  Even 4.3 doesn't error at -O.  I suspect older
compiler eliminate a before diagnosing it.