ld error on Mac Monterey 1.2 gcc version 11.2.0

2022-02-06 Thread Zhang Mian
found for -lSystem collect2: error: ld returned 1 exit status on iMac Pro Monterey 1.2, gcc version 11.2.0(Homebrew GCC 11.2.0_3) . Any idea? Thanks~ Mian Zhang

[Bug c++/99162] New: problem when compile with O2 or O3

2021-02-19 Thread haibin-zhang at 263 dot net via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: haibin-zhang at 263 dot net Target Milestone: --- $ g++ --version g++ (GCC) 4.9.2 Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for

Re: internal compiler error

2009-01-22 Thread Jason Zhang
G'Day Prof. Peter Morgan This is Jason Zhang from RSES ANU. While I was recompiling the GAMIT due to change of my laptop (x-86-64), I encounterred an internal compiling bug which occurs when doing gfortran -O3 -Wuninitialized -fno-f2c -ffast-math -fno-automatic -fno-backslash ts

bugreport: implicitly converting (const char*) to (char*)

2007-07-25 Thread Zhang
Dear working group, Although it looks quite simple, I found the code which implicitly converts a const char* to char*: char* str = "Helloworld"; *str = 'a'; It can be legally compiled, and certainly produces an error when running. I'm not certain whether it's actually a bug or not.

Bug in strtof

2005-11-16 Thread Qianli Zhang
-3.3.6 and gcc-3.3.5 always output -10 transform to -1054867456.00 which is obviously wrong. I am not sure where is the problem, gcc or glibc, thus I send the mail to you. Please forgive me if I have made any mistake. Best regards, Qianli Zhang