[Bug c/18740] Execution-time sizeof drops side effects

2006-06-04 Thread jsm28 at gcc dot gnu dot org
--- Comment #8 from jsm28 at gcc dot gnu dot org 2006-06-04 17:01 --- Fixed for 4.2. -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c/18740] Execution-time sizeof drops side effects

2006-05-18 Thread mrs at gcc dot gnu dot org
--- Comment #7 from mrs at gcc dot gnu dot org 2006-05-18 18:22 --- Subject: Bug 18740 Author: mrs Date: Thu May 18 18:22:12 2006 New Revision: 113888 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113888 Log: Fix up vla, vm and [*] sematics. PR c/18740

[Bug c/18740] Execution-time sizeof drops side effects

2006-05-08 Thread mrs at apple dot com
--- Comment #6 from mrs at apple dot com 2006-05-09 00:47 --- I have a fix for this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18740

[Bug c/18740] Execution-time sizeof drops side effects

2005-02-12 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Status|REOPENED|NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18740

[Bug c/18740] Execution-time sizeof drops side effects

2004-12-21 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2004-12-21 13:43 --- I'm wrong. What a stupid thing to do to the C language. Someone should be smacked. -- What|Removed |Added ---

[Bug c/18740] Execution-time sizeof drops side effects

2004-12-21 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2004-12-21 13:39 --- Not a bug. Sizeof *never* has side effects. -- What|Removed |Added Status|NEW

[Bug c/18740] Execution-time sizeof drops side effects

2004-12-21 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-12-21 11:15 --- Reproducible on x86 and x86-64. -- What|Removed |Added GCC build triplet|sparc-sun-solar

[Bug c/18740] Execution-time sizeof drops side effects

2004-11-30 Thread jsm28 at gcc dot gnu dot org
-- What|Removed |Added CC||jsm28 at gcc dot gnu dot org OtherBugsDependingO||16989 nThis|

[Bug c/18740] Execution-time sizeof drops side effects

2004-11-30 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2004-11-30 22:48 --- Actually, this requires more thought. I quoted from the C++ standard, but the bug is for C, and the problem lies here: the code is - size_t fsize3 (int n) { int i = 0; char b[1][n+3];

[Bug c/18740] Execution-time sizeof drops side effects

2004-11-30 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2004-11-30 22:24 --- That's not a bug. The standard says this: 5.3.3 Sizeof[expr.sizeof] 1 The sizeof operator yields the number of bytes in the object representation

[Bug c/18740] Execution-time sizeof drops side effects

2004-11-30 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||wrong-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18740