[Bug c/28306] const / pure call with ignored argument emitted.

2019-03-05 Thread steven at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28306 Steven Bosscher changed: What|Removed |Added Last reconfirmed|2006-07-07 17:30:13 |2019-3-5 Host|i686-pc-li

[Bug c/28306] const / pure call with ignored argument emitted.

2008-01-13 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-01-13 18:22 --- This works for 'const' functions because they stick on the function type as well. The attributes are only on the DECL and do not get merged and transfered to the resulting function type of the COND_EXPR. So this aga

[Bug c/28306] const / pure call with ignored argument emitted.

2006-07-07 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-07-07 17:30 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug c/28306] const / pure call with ignored argument emitted.

2006-07-07 Thread amylaar at gcc dot gnu dot org
--- Comment #1 from amylaar at gcc dot gnu dot org 2006-07-07 16:54 --- Created an attachment (id=11850) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11850&action=view) test case The available source code for the functions allows the compiler to see that the called functions are