[Bug tree-optimization/18842] Weak optimization on global references

2006-07-16 Thread felix dot nawothnig at t-online dot de
--- Comment #8 from felix dot nawothnig at t-online dot de 2006-07-16 14:23 --- Don't know much about GCC internals but shouldn't this be a very trivial enhancement? I know that this is FOSS so not to annoy anyone, just wondering why it's still open after 1 year. (In case someone

[Bug c++/18842] New: Weak optimization on global references

2004-12-05 Thread felix dot nawothnig at t-online dot de
on global references Product: gcc Version: 3.4.3 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: felix dot nawothnig at t-online dot de

[Bug c++/18842] Weak optimization on global references

2004-12-05 Thread felix dot nawothnig at t-online dot de
--- Additional Comments From felix dot nawothnig at t-online dot de 2004-12-05 08:58 --- Since a non-arg reference is always (?) constant it would be safe to omit Err... safe to emit. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18842

[Bug tree-optimization/18842] Weak optimization on global references

2004-12-05 Thread felix dot nawothnig at t-online dot de
--- Additional Comments From felix dot nawothnig at t-online dot de 2004-12-05 19:10 --- Diagnostics? Both files are 100% valid C++ - but since the C++ standard doesn't enforce implementation of references as pointers they cause ABI-defined (?) behaviour at/after linkage, just