[Bug c++/22129] Optimization stomps const, initialized local array

2005-06-20 Thread cnewbold at mathworks dot com
--- Additional Comments From cnewbold at mathworks dot com 2005-06-20 20:36 --- I should add that this initialization problem also occurs for one other local arrays in the example in addition to the one already noted: the array "plain" on line 611. The problem still manifests at -O2 in

[Bug c++/22129] Optimization stomps const, initialized local array

2005-06-20 Thread cnewbold at mathworks dot com
--- Additional Comments From cnewbold at mathworks dot com 2005-06-20 20:26 --- Created an attachment (id=9119) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9119&action=view) pre-processed source which illustrates the bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22129