------- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-04-13 11:10 ------- (In reply to comment #2) > The modified test works at least with -O0, both 32bit and 64bit.
Thanks for reporting and testing, Andreas! Tobias, your patch is OK, you can go ahead and commit it. PS: a grep indicates that gfortran.dg/f2c_4.c is the only other test that might have the same problem, but I've never seen it fail. I wonder if complex should be passed as struct with f2c calling conventions, or if the f2c calling convention simply hides the bug. Tobias Schlüter probably knows that, adding him to CC list... -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tobi at gcc dot gnu dot org, | |burnus at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords|wrong-code |patch Last reconfirmed|0000-00-00 00:00:00 |2007-04-13 11:10:56 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31562