This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18216] Different results when an array is statically/dynamically allocated
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Oct 2004 13:27:34 -0000
- Subject: [Bug target/18216] Different results when an array is statically/dynamically allocated
- References: <20041029102303.18216.dkouroun@mailbox.gr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-10-29 13:27 -------
I can't compile your code, due to this:
g/x> /home/bangerth/bin/gcc-3.4.3-pre/bin/c++ main1.cc
main1.cc:3:20: timing.h: No such file or directory
main1.cc:9: error: `R' does not name a type
main1.cc: In function `int main(int, char**)':
main1.cc:20: error: `indexType' does not name a type
main1.cc:21: error: `indexType' undeclared (first use this function)
main1.cc:21: error: (Each undeclared identifier is reported only once for each
function it appears in.)
main1.cc:21: error: expected `;' before "i"
[...]
The file timing.h isn't in your tarball.
But besides that, can you try to come up with a smaller and more obvious
testcase? You may be able to merge everything into one file which would
make things more obvious.
Thanks
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18216