gure error printed is a bit misleading. It used to
make sense when it was first written, but a lot of stuff has changed
since then, and the error message never got updated.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
escribed? What is the
linker error message there?
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
the shell test
-x command does not work with that.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
l there on mainline. gcc-4.1.2 may have a different problem. I'll
have to try to reproduce it again with the right tree.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
anything further here without more info.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
he use of -V probably fails which is OK as this is only for information
purposes, but the next one is the GCC_NO_EXECUTABLES test, and that one
should have worked.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
x OS on it.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
application by
changing gcc versions is to try it yourself and see what happens.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
ucture type and also defines a pointer to that type, and
then step through gcc to see what it does. Try putting breakpoints in
finish_struct and build_pointer_type.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
call clobbered register. There are
quite a few of them.
Another solution is to add the instrumentation earlier, and use expand_call.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
ternals to get this
working. It is probably simpler to just write your instrumentation
function in assembly code. Or maybe compile it to assembly, and then
fix it by hand.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
dump_node directly.
There are also functions in print-tree.c which produce a different style
of output. The entry point here is debug_tree.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
at I have 80 of them, it is very rare to run out. Also, since
input/output registers can be used for other stuff besides input/output
arguments, it is even rarer to run out of locals and still have unused
input/output regs left. So I don't worry about it.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
viewing the output on our web site
than via the info program.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
r, at present, it is not possible to add such a backend
into the FSF GCC sources, because this would allow people to subvert the
GPL, and FSF policy does not allow this. The Sun backend was already
submitted once and rejected for that reason.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
RISC like port in gcc-3.3.x. So start building other random ports, and
feeding in your testcase, and look at the RTL that they generate, and
figure out why yours is different.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
Dave Korn wrote:
Was this description perhaps written in pre-RISC days?
Yes. You can find identical text in the gcc-1.42 documentation, when
almost every port was a CISC.
The docs in rtl.texi for the call expression is a bit clearer about the
intent here for FUNCTION_MODE.
--
Jim
o note that the directory
has files bitfield_main.C, bitfield_x.C, and bitfield_y.C.
So it looks like there is a tcl script somewhere to replace "main" with
"x", which fails if the directory path contains "main" anywhere in it
other than in the filename at the
of them. You might need other changes to make this
work.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
know, for each basic block
and RTL command, what is the virtual address this command will be at
in the binary..
You can already find much of this info in the gcov profiling files. See
profile.c and gcov.c and other related files.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
. You can't have separate define_insns for
movsf and movsf_store.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
ed reloads.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
, S, T and the usual operand combinations.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
use two separate patterns like this.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
nce, you need a
single move insn pattern that accepts all of the usual operand combinations.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
d multiple times for the same insn, as we
have to iterate until all insns are fixed.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
). I seem to be getting inconsistent information here.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
gcc-2.95.3. It looks like things have changed in
this area since then.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
g?
Adding the union classes would certainly help. The mips port for
instance has union classes for hi, lo, the general regs, along with some
others.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
when
we expect that this will result in an insn that won't require any
further reloading.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
even though there is no actual address involved here. That gets the
reloads emitted in the right place.
As usual, I'm over simplifying.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
Eric Lemings wrote:
test.cpp: In function 'int main()':
test02.cpp:6: error: could not convert 's.S::v' to 'bool'
test02.cpp:6: error: in arguument to unary !
As per my gcc-bugs message. I suggest this untested patch.
--
Jim W
emulated FP for folding operations, even when
native, so we no longer have to worry about getting FP signals here, and
the setjmp calls are gone.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
stem.
If you want to learn how mcount works, just pick any existing target
with mcount support, and study it.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
Also, in order to see the warning, you have to use a type that the enum
does not easily convert to. Something like
return (1 ? BAR : 1L);
works.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
compare the dwarf2out.c files. You could
check the ChangeLog, svn log, and gcc-patches mailing list to see
individual patches. You could compile with -S -dA and look at the
assembly language output. You could dump the debug info from object
files with readelf and compare them. Etc.
--
Jim
o create a( because a( is two
tokens. See the ISO C standard.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
ttern, you should get the
dependency you want.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
Mohamed Shafi wrote:
even i wrote define_peephole2 which is similar to the above.
But the above patterns are not matched at all. But i can find these
patterns in the rtl dumps.
Run cc1 under gdb. Put a breakpoint in the peephole function. Step
through the code to see what is wrong.
--
Jim
output)?
The claim is that SPEC CPU2006 has source code bugs that cause it to
fail when compiled by gcc. We weren't given a specific list of problem.
There are known problems with older SPEC benchmarks though. For
instance, vortex fails on some targets unless compiled with
-fno-stri
4.1.2
mkdir obj
cd obj
../gcc/configure
which will fail. You should instead do
mkdir obj
cd obj
../gcc-4.1.2/configure
which will work.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
e temp, and then use the temp as the output/input argument.
There are probably lots of existing examples in the i386 *.md files to
look at. See for instance the reduc_splus_v4sf pattern in the sse.md file.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
. This gets pretty complicated for IA-64 because of the
bundling issues, but it is doable.
Otherwise, no, there is no simple way to do this other than what you are
already doing.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
e via
make -k check RUNTESTFLAGS="--target_board=score-sim.exp"
and hopefully it should work. You can add -v options to RNUTESTFLAGS to
help debug testsuite issues. The more -v options you add, the more
debugging output you get.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
, the i686-pc-mingw32-gcc must be built
from the same gcc-4.0-branch sources you are using for the canadian
cross build.
You should consider using --prefix options so that each gcc version gets
installed in a different place. This will help avoid confusion about
gcc versions.
--
Jim Wilson, GNU
-lynxos*): Rename it to powerpc-*-lynxos*. Update
to LynxOS 4.0.
These patches are in the gcc-4.0.x series. So if you have LynxOS 4.0,
then gcc-4.0.2 should work for you.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
oblem, for instance by using different optimization
options.
By the way, gcc bugs should be reported into bugzilla, rather than
mailed to this list.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
month ago. It just occured to me today that it is a bit
odd that I can do --enable-languages=fortran, but I can't do -x fortran.
The -x option only accepts f77 and f95. Shouldn't -x fortran work also?
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
stop working in a couple of weeks. It is probably pointless
to start using it now.
I don't recall how to use uberbaum, though I do recall that the
instructions are buried in one of the gcc mailing list archives. If you
search, you should be able to find them.
--
Jim Wilson, GNU
agmas. This is probably more directed at
multiprocessor machines than threads, but it is a start in the right
direction. See
http://gcc.gnu.org/projects/gomp/
This is still in early stages of implementation. Don't expect anything
to work yet.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
ow to submit bug reports.
My first guess would be a linker script or binutils problem.
This testcase works as expected on x86 Fedora Core 4 by the way.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
case, and
RTL dumps. But it is probably better if you look at this yourself.
Generate debugging dumps, -da -fdump-tree-all, and then start looking.
Presumably an XOR was generated at first, and then got optimized to an
scond at some point.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
ould cause
the failure that you are seeing.
Or maybe there is just a bug in the mips uclib tls support.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
to find an example where the missing unwind
info is a problem.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
and gcc-4.0 and later do not, so I'd guess this transition happened when
tree-ssa got merged in. Or maybe it was enabled by the tree-ssa work.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
;t assume that the analyze_expr hook
is defined. We must check first.
This is an analysis from just looking at the code. I haven't tried to
debug it and see what is really going on.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
hich will work on the
simulator. If you are running on a bare board, then you will need
syscall stubs that call monitor routines. Some of these may not be
supported on the board, in which case you can return an error, and just
avoid calling them.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
, access to
systems is available if one has sufficient motivation. The real problem
here is lack of motivation. If I don't know anyone using alpha-vma for
instance, then I'm unlikely to volunteer to fix alpha-vms bugs.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
st on sourceware.org.
Or try building a default powerpc toolchain, figuring out how it works,
and then figure out how to modify it to do what you want. The simplest
default is using the simulator. For powerpc, that means compiling with
-msim.
--
Jim Wilson, GNU Tools Support,
install to fail, even though it is wrong. I haven't seen install
failures because of this problem.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
ization", which seems a
bit confusing(considering that callgraph can be used as inlining etc.)
Looks like a typo. English isn't the author's first language.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
before you started the install.
In this case, you might want to do a rm -rf $destdir to get a clean install.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
-lunwind. There are one too many braces here.
I don't see this problem in the FSF gcc tree. I'm guessing this is a
mistake in the HP gcc sources that you are using.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
Pierre-Matthieu anglade wrote:
I'd like to contribute to the development of gfortran and for that, it
appears that filling a copyright assignment form is mandatory. Can
someone tell me where to get this?
You can start with the form in
http://gcc.gnu.org/ml/gcc/2003-06/msg02298.html
-
evel details of the unwinder, and how it
interacts with signal stack frames, so I'm not sure how much help I can
be here.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
but not a copy
of HPUX, so my machine is only running linux.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
in a depot file. Can I do anything with a depot file even
though I don't have HPUX? I haven't tried downloading the file to check.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
Lars Callenbach wrote:
v = new double **[100];
operator new[]() -> operator new() -> malloc () -> _int_malloc()
Without a testcase we can compile, we probably can't do anything except
point out that a malloc failure is probably not due to a gcc problem.
--
Jim Wilson, GNU
for a very long time. We
could perhaps drop the comment about 0 values, or maybe expand it to say
that the DECL_RTL of the RESULT_DECL is 0 for functions that return no
value. aggregate_value_p doesn't look at DECL_RTL (DECL_RESULT (...))
so there is no problem there.
--
Jim Wilson,
on in the specs.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
ntion that this is a
regression from f77. This list is primarily for developers, not for
users, and hence isn't always "user friendly". You won't always get an
answer to questions posted here. Also, check out the fortran mailing
list mentioned on the gcc.gnu.org web s
Joel Sherrill <[EMAIL PROTECTED]> wrote:
s-auxdec.ads:286:13: alignment for "Aligned_Word" must be at least 4
Any ideas?
I'm guessing this is because ARM sets STRUCTURE_SIZE_BOUNDARY to 32
instead of 8, and this confuses the Ada front end.
--
Jim Wilson, GN
might work fine on a signed-char
system, but fail on an unsigned-char system.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
ement in fixincl.c to emit the missing trailing
newline after the fputs.
I think the next step is to try to figure out if an autogen change broke
this, or if a fixincludes change broke this. I'd suggest opening a PR
to track this unless you want to volunteer to do this work.
--
BLOCK set in this case.
Using -p would make the diff more readable.
We get complaints every time the debug info size increases. Since this
is apparently only helpful to an optional utility, this extra debug info
should not be emitted by default. There should be an option to emit it.
--
Jim W
us it sounds like you have made gcc changes
that weren't included in your message. So there isn't much we can do
here except ask for more details. Try debugging the problem. If you
can identify a specific problem here, and give us details about it, we
can probably help.
--
Jim Wi
need to check out a new
tree from scratch at this point.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
patch working reliably.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
ml
and try looking at the up-link to global itself also. I found this by
searching on the GNU web site. I've never used global myself.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
Rafael Ávila de Espíndola wrote:
Thank you very much for showing that the problem was in the comment.
I've checked in a patch to fix the comment typo.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
he subject line.
Anyways, the overseers aren't sure what the problem is, but they are
testing a newer version of the mailer software in the hope that it will
fix the problem.
You aren't the only person seeing this problem.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
Jim Wilson wrote:
Gabriel Dos Reis wrote:
This is the fifth or so message from me, within the last few days,
that gets rejected. What is up?
Hmm, I don't see this in the overseers archive.
Because it is sourceware.org not sourceware.com. I should have noticed
that before I made the
There should be useful info in
the $target/libstdc++/testsuite/libstdc++.log file. You probably got a
linker error. One obvious question is to check to see whether you have
the optional 32-bit libraries installed.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
run time checks to read system
registers that contain info about what hardware features are present.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
curious and looks wrong. Maybe it will never match anymore?
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
.
Bugs should be filed into our bugzilla database, if you want action
taken on them.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
t Red Hat gcc releases here, only FSF ones.
As for the underlying bug, the ICE, I can reproduce this with FSF
gcc-3.4.x sources. It would be OK to report that bug into the FSF gcc
bugzilla database.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
approach also generally requires some C
library support, which is present in glibc, but may not be present in
newlib. You can find info on this approach here
http://gcc.gnu.org/ml/gcc/2004-03/msg01779.html
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
Gabriel Dos Reis wrote:
At the moment, we have only one bug I consider release critical for 3.4.5.
middle-end/24804 Produces wrong code
I put an analysis in the PR. It is a gcse store motion problem.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
nal on the insn uid if the problem
appears to be there. Also, check find_regs and figure out why it failed.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
ed until just before the gcc-4.0 release.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
Since this occured long ago, it
would be difficult to determine exactly why it was done this way. It
was perhaps just done that way because it looked obviously correct.
Yes, it looks like fixing the combiner problem would make it possible to
remove the mistaken mode checks.
--
Jim Wilson, GNU
l give no warning, and
-Wstrict-aliasing=2 will give a warning.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
a gcc bug, but we need the
same kind of info to help with user errors.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
Eric Weddington wrote:
I have a problem with making an email change for my bugzilla account.
sysadmin requests can be sent to [EMAIL PROTECTED]
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
r #31
orr r1, r1, #34603008
@ lr needed for prologue
bx lr
Disabling this pattern may result in worse code for other testcases
though. It was presumably added for a reason.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
bit.c. This is another option worth investigating. I don't know
how it compares to the glibc code or Torbjorn's code.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
I'm one of the old timers that likes our current work flow, but even I
think that we are risking our future by staying with antiquated tools.
One of the first things I need to teach new people is now to use email
"properly". It is a barrier to entry for new contributors, since our
requirements are
On Sat, Apr 11, 2020 at 4:28 PM Sasha Krassovsky via Gcc
wrote:
> I’m currently modifying the RISC-V backend for a manycore processor where
> each core is connected over a network. Each core has a local scratchpad
> memory, but can also read and write other cores’ scratchpads. I’d like to add
>
On Thu, Apr 16, 2020 at 7:28 PM Sasha Krassovsky wrote:
> @Jim I saw you were from SiFive - I noticed that modifying the costs for
> integer multiplies in the riscv_tune_info structs didn’t affect the generated
> code. Could this be why?
rtx_costs is used for instruction selection. For instanc
1 - 100 of 344 matches
Mail list logo