[Bug middle-end/29299] [4.2 Regresion] gcc "used" attribute has no effect on local-scope static variables

2006-10-15 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|REOPENED|ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29299

[Bug middle-end/29299] [4.2 Regresion] gcc "used" attribute has no effect on local-scope static variables

2006-10-15 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2006-10-15 17:03 --- Not yet for -fno-unit-at-a-time. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29299

[Bug middle-end/29299] [4.2 Regresion] gcc "used" attribute has no effect on local-scope static variables

2006-10-15 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-10-15 16:33 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/29299] [4.2 Regresion] gcc "used" attribute has no effect on local-scope static variables

2006-10-09 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2006-10-09 13:04 --- We have bool decide_is_variable_needed (struct cgraph_varpool_node *node, tree decl) { /* If the user told us it is used, then it must be so. */ if (node->externally_visible || node->force_output) return tr

[Bug middle-end/29299] [4.2 Regresion] gcc "used" attribute has no effect on local-scope static variables

2006-10-01 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29299

[Bug middle-end/29299] [4.2 Regresion] gcc "used" attribute has no effect on local-scope static variables

2006-09-30 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-30 19:40 --- 4.1.2 works: .local bar.1279 .comm bar.1279,4,4 .local bof .comm bof,4,4 while 4.2.0 does not: .local bof .comm bof,4,4 -- pinskia at gcc dot gnu dot org