Re: [patch] ARM: Fix miscompilation in arm.md:*minmax_arithsi. (PR target/51408)

2011-12-08 Thread Kazu Hirata
Hi Richard, BTW, I would expect this to also exist in all the release branches. Could you back-port it where needed please. I just backported to 4.4, 4.5, and 4.6 branches. Kazu Hirata

XFAILing gcc.c-torture/execute/mayalias-2.c -O3 -g (PR 28834)

2007-03-13 Thread Kazu Hirata
/mayalias-2.c compilation, -O3 -g (internal compiler error) That is, I am getting an unintended XPASS for -O3 fomit-frame-pointer. Also, the -O3 -g one doesn't show XFAIL even though the options do contain -O3. How do I make gcc.c-torture/execute/mayalias-2.c XFAIL on -O3 -g? Thanks, Kazu

Re: Re; Maintaining, was: Re: Reduce Dwarf Debug Size

2007-03-01 Thread Kazu Hirata
urgent is this? FWIW, I've reproduced the ICE that Zack mentioned, but I haven't investigated it. Kazu Hirata

Re: GCC 4.3 project to merge representation changes

2006-09-28 Thread Kazu Hirata
to fix this in future.) So, Sandra's CALL_EXPEs stuff may be ready for merge, but my TYPE_ARG_TYPE stuff has a somewhat long way to go. Thanks, Kazu Hirata

A question about cp/pt.c:type_unification_real

2006-08-08 Thread Kazu Hirata
. Even more confusing is: arg = TREE_VALUE (args); : : if (!TYPE_P (arg)) Can a function argument be a type? Clarification would be greatly apprecaited. Thanks, Kazu Hirata

A question about ARG_FINAL_P in the Java frontend.

2006-07-31 Thread Kazu Hirata
this bit elsewhere. The TREE_VEC node doesn't really have space for per-parameter data other than the vector proper. I could use TREE_TYPE of TREE_VEC to keep an array of boolean values to represent ARG_FINAL_P for each parameter, but I am not sure if that is a clean solution. Thoughts? Kazu Hirata

Re: A question about ARG_FINAL_P in the Java frontend.

2006-07-31 Thread Kazu Hirata
is actually no longer used. It hasn't been deleted yet but it won't ever run. I'm hoping to merge this to trunk after 4.2 branches ... will that help? Yes, that definitely helps. Thanks, Kazu Hirata

Re: A question about ARG_FINAL_P in the Java frontend.

2006-07-31 Thread Kazu Hirata
to regroup after ECJ goes in. OK. Kazu Hirata

Re: A question about TYPE_ARG_TYPES

2006-07-05 Thread Kazu Hirata
(...)) is NULL. I'll keep putting gcc_assert to see what happens. Kazu Hirata

A question about your patch for PR c++/26534

2006-05-11 Thread Kazu Hirata
in standard_conversion meant to be an optimization or something that's required for language conformance? If the latter is the case, can we somehow force a conversion? Thanks, Kazu Hirata

CC0 questions

2006-05-09 Thread Kazu Hirata
there be two consecutive insns that use cc0 after cc0 is set? (I don't think so. I think there should be one-to-one correspondence between cc0 setters and cc0 users, but I've never seen a rule written somewhere.) Thanks, Kazu Hirata

A question about tree-ssa-structalias.h.

2006-04-13 Thread Kazu Hirata
remove the line or convert it to VEC somehow. Thanks, Kazu Hirata

Use of VARRAY in alias analysis

2006-04-10 Thread Kazu Hirata
Hi Daniel and Diego, Several months ago, you mentioned that the alias analysis in gcc would be overhauled. Has this happened yet? If not, I am thinking about working on alias.c and tree-ssa-alias.c as there are only a handful of VARRAY uses left. Thanks, Kazu Hirata

Re: Use of VARRAY in alias analysis

2006-04-10 Thread Kazu Hirata
from VARRAY to VEC will probably not affect my work, so go ahead. I guess that's what you have in mind? Switching VARRAY to VEC? Yes, thanks! Kazu Hirata

What shall we do with gcc.dg/vect/vect-11.c?

2006-01-16 Thread Kazu Hirata
, but that means we are changing the test case. Shall we add something like gcc.dg/vect/fwrapv-vect-11.c, remove vect-11.c, and file a missed optimization PR for vect-11.c? Any thoughts? Kazu Hirata

Re: What shall we do with gcc.dg/vect/vect-11.c?

2006-01-16 Thread Kazu Hirata
you don't see the failure there. Oops, I now see what's going on. In this case, I think we can just XFAIL gcc.dg/tree-ssa/gen-vect-11.c. Kazu Hirata

Re: bootstrap broken

2006-01-11 Thread Kazu Hirata
/gcc-svn/trunk/gcc/df-core.c:833: error: invalid lvalue in assignment I just fixed these. Kazu Hirata

A questionable predicate in sh/predicates.md

2006-01-08 Thread Kazu Hirata
this might have gone unnoticed. Kazu Hirata

A question about having multiple insns for one operation

2005-11-20 Thread Kazu Hirata
change within one run of cc1.) FWIW, the second define_insn above could have plus in operands[1], in which case it overlaps with other insns with plus. Thanks in advance, Kazu Hirata

A trouble with libssp in one-tree builds

2005-07-04 Thread Kazu Hirata
yet (assuming targets like h8300-elf, arm-none-eabi, etc). Is there anyway we could stop configuring libssp in this kind of case? Or somehow work around the link test? FWIW, I am sitting on the attached patch to disable libssp for now. Kazu Hirata Index: configure.in

A question about tree-if-conv.c:tree_if_convert_stmt.

2005-05-10 Thread Kazu Hirata
are are implicitly represented by the CFG. I don't think the if-conv is trying to handle computed gotos here. By the way, this problem has been filed as PR 18472. Kazu Hirata

Re: A question about tree-if-conv.c:tree_if_convert_stmt.

2005-05-10 Thread Kazu Hirata
Hi Devang, Just remove handling of GOTO_EXPR here and in if_convertible_stmt_p(). OK. Will submit a patch. Kazu Hirata

Re: Questions about a constant array reference in the C++ front end

2005-05-09 Thread Kazu Hirata
. It turned out to be a regression from 3.x. Kazu Hirata

Re: Questions about a constant array reference in the C++ front end

2005-05-08 Thread Kazu Hirata
during processing of an array's initializer -- very early on in the C++ FE. Do you know how to trigger a RANGE_EXPR? I see that in build_zero_init, so I tried a big array with only zeros in it, but that didn't help. Kazu Hirata

Questions about a constant array reference in the C++ front end

2005-05-07 Thread Kazu Hirata
created an array with more than one thousand elements. I still did not see a RANGE_EXPR in the array's CONSTRUCTOR. How do I get a RANGE_EXPR in a CONSTRUCTOR? Kazu Hirata

Re: Struggle with FOR_EACH_EDGE

2005-05-01 Thread Kazu Hirata
with a low hanging fruit. Kazu Hirata

Re: Struggle with FOR_EACH_EDGE

2005-04-29 Thread Kazu Hirata
also want to use VEC_iterate. Note that the second case above speeds up GCC by 0.5% or so. Kazu Hirata

Re: Merging stmt_ann_d into tree_statement_list_node

2005-04-25 Thread Kazu Hirata
are using stmt_ann while a statement is not linked to a basic block. Kazu Hirata

Re: Merging stmt_ann_d into tree_statement_list_node

2005-04-25 Thread Kazu Hirata
from applications (or optimizers if you like) of the infrastructure. If this standalone stmt_ann does end up in the instruction stream, we could structure-copy stmt_ann for the time being (yuck!). Kazu Hirata

Re: Merging stmt_ann_d into tree_statement_list_node

2005-04-25 Thread Kazu Hirata
). Then the actual work of embedding stmt_ann into tree_statement_list_node shouldn't be difficult. Kazu Hirata

Re: Merging stmt_ann_d into tree_statement_list_node

2005-04-25 Thread Kazu Hirata
. Meanwhile I'll sit here quietly, collecting information like which places do weird things with stmt_ann and thinking about how to go about the transition. Kazu Hirata

Re: Merging stmt_ann_d into tree_statement_list_node

2005-04-25 Thread Kazu Hirata
you stmt_ann given bsi. 3. Let everybody use stmt_ann_from_bsi(), replace stmt_ann(), and remove the stmt_ann_t pointer from the stmt node (if these are possible at all). 4. Hand off to Zdenek for his flat statement project. I hope this message clarifies things. Kazu Hirata

Re: Merging stmt_ann_d into tree_statement_list_node

2005-04-25 Thread Kazu Hirata
that an annotation node can identify itself? (Since all these tree annotations already have a field for annotation type, it's more like appending tree_statement_list_node to stmt_ann_d.) Kazu Hirata

Re: Merging stmt_ann_d into tree_statement_list_node

2005-04-25 Thread Kazu Hirata
. */ } Err, I don't see how to tell the garbage collector about this without a type field. We cannot rely on TREE_CODE (stmt) because CALL_EXPR may appear by itself or as an rhs of MODIFY_EXPR. Kazu Hirata

Merging stmt_ann_d into tree_statement_list_node

2005-04-24 Thread Kazu Hirata
structure. o We can probably remove get_stmt_ann and replace all uses of stmt_ann. No more lazy stmt_ann allocation. Thoughts? Kazu Hirata

Re: Regression on mainline in tree-vrp.c

2005-04-22 Thread Kazu Hirata
to this ICE. set_value_range is used in many places in tree-vrp.c. I'll try to take a look at these in the next few days. Kazu Hirata

What's the fate of VARRAY_*?

2005-04-21 Thread Kazu Hirata
Hi Nathan, Now that you've checked in your new VEC API, I think that's strictly more powerful than VARRAY. Should we start converting uses of VARRAY to VEC? I'd be happy to help out here. Kazu Hirata

Bootstrap failure on i686-pc-linux-gnu since 2005-04-09 20:41UTC

2005-04-11 Thread Kazu Hirata
of the patch? Is there more work or refinement needed? Kazu Hirata

Status of conversions to predicates.md

2005-04-07 Thread Kazu Hirata
off. sparc Eric Botcazou says he is working on predicates.md himself. http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01694.html Kazu Hirata

Obsoleting c4x last minute for 4.0

2005-04-05 Thread Kazu Hirata
for 4.1 (if every port builds at least). Mark, it's still April 5, so we could wait for a week and add a couple of lines to config.gcc in time for 4.0, but if you think this is too pushy or could distract the 4.0 effort, I am happy to postpone this until 4.0.1 or 4.1. Kazu Hirata

Re: Merging CCP and VRP?

2005-03-30 Thread Kazu Hirata
, and D.18001_198 itself may also be used later. Kazu Hirata

Re: Merging CCP and VRP?

2005-03-27 Thread Kazu Hirata
of these days. Kazu Hirata

Re: Merging CCP and VRP?

2005-03-27 Thread Kazu Hirata
version? Yes, they are blocked by may_propagate_copy. Seems to be const v.s. non-const pointer issue. I haven't come up with a brakedown of reasons why copies are blocked. Kazu Hirata

Merging CCP and VRP?

2005-03-26 Thread Kazu Hirata
is to process the CFG worklist in the DFS order of a dominator tree. I haven't looked closely at this, but if the speed of propagation is a concern, we should come back to this. Kazu Hirata

Re: Do we still need get_callee_fndecl?

2005-03-22 Thread Kazu Hirata
it during inlining? Kazu Hirata

A question about java/lang.c:java_get_callee_fndecl.

2005-03-21 Thread Kazu Hirata
/gcc-patches/2005-03/msg02038.html Roger Sayle requested to keep the call to get_callee_fndecl so that we can fold the first operand of a CALL_EXPR to a FUNCTION_DECL. FYI, the above FIXME comes from http://gcc.gnu.org/ml/java-patches/2004-q2/msg00083.html Kazu Hirata

For those who want to automatically generate predicates.md...

2005-03-17 Thread Kazu Hirata
replace h8300 with any port with PREDICATE_CODES. My scripts are not robust, so don't blame me if they eat your files. I might actually start posting patches to convert to predicate.md. Kazu Hirata conv_predicate_codes.tar.gz Description: Binary data

Shall we take a short break from my fold changes?

2005-03-08 Thread Kazu Hirata
to revert any of parts 1 through 15. On the other hand, after applying parts 16 and 17, it's trivial to make fold_build[12] available although fold_build3 will take some time, and it would be a bit awkward to provide fold_build[12] but not fold_build3. Thoughts? Kazu Hirata

A preliminary result of fold_buildN (memory usage included)

2005-03-06 Thread Kazu Hirata
of the handling of CALL_EXPR in fold_ternary. Since ternary expressions are not as common as binary expressions, I don't except much difference even after we start using fold_build3. Kazu Hirata

Things blocking fold_ARITY and fold_buildN

2005-03-05 Thread Kazu Hirata
is what I would do would be fine, too. Kazu Hirata diff -u fold-const.c fold-const.c --- fold-const.c6 Mar 2005 00:44:01 - +++ fold-const.c6 Mar 2005 00:45:38 - @@ -6802,6 +6802,7 @@ { /* Don't leave an assignment inside a conversion unless

Re: Things blocking fold_ARITY and fold_buildN

2005-03-05 Thread Kazu Hirata
Hi, I might need help on others. I'll try to go through these KAZU one by one, but if you could volunteer to fix one, you are more than welcome. Suggestions like Here is what I would do would be fine, too. Roger kindly suggested what to do for each of these on IRC. Kazu Hirata

Re: RFC: Plan for cleaning up the Addressing Modes macros

2005-02-28 Thread Kazu Hirata
that argument to the last argument of legitimate_address_p. Kazu Hirata

Re: RFC: Plan for cleaning up the Addressing Modes macros

2005-02-28 Thread Kazu Hirata
have already started doing this like so: #ifdef REG_OK_STRICT #define REG_OK_STRICT_P 1 #else #define REG_OK_STRICT_P 0 #endif Kazu Hirata

Re: RFC -- CSE compile-time stupidity

2005-02-21 Thread Kazu Hirata
, a good optimizer should be able to eliminate most of these bit sets, but a non-pure/const function call will block the cleanup opportunities. Of course, this bitmap walk is far more expensive than cse_reg_info_timestamp++. Kazu Hirata

Re: RFC -- CSE compile-time stupidity

2005-02-21 Thread Kazu Hirata
cse_reg_info_timestamp++. I just tried this. It comes very close to the current timestamp approach but loses by 0.3% or so in compile time. I'm attaching a patch for completeness. Kazu Hirata Index: cse.c === RCS file: /cvs/gcc/gcc/gcc