--- Comment #3 from jakub at gcc dot gnu dot org 2007-11-08 20:09 ---
Testing a patch.
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|una
--- Comment #2 from jakub at gcc dot gnu dot org 2007-11-08 20:27 ---
Slightly reduced:
static const char s[] = "ab.cd.efghijk";
int
foo (const char *x)
{
const char *a;
int b = 0;
a = __builtin_strchr (s, '.');
if (a == 0)
b = 1;
else if ((a = __builtin_strchr (a + 1, '.
--- Comment #8 from pinskia at gcc dot gnu dot org 2007-11-08 20:31 ---
I am going to work on this one.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-11-08 21:45 ---
Confirmed.
Also, on 64bit x86_64 we don't see that this computes the modulus, but do
foobar:
.LFB2:
movl$10, %esi
movq%rdi, %rax
xorl%edx, %edx
divq%rsi
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
CC||pinskia at gcc dot gnu dot
|
With -g -O0 -dA
void bar (char *, char *, char *, int size);
void foo (int size)
{
char temp[size];
char temp3[48];
temp[size-1] = '\0';
{
char temp2[size];
bar (temp, temp2, temp3, size);
}
};
in 3.4.x we got:
...
.uleb128 0x4# (DIE (0x74) DW_TAG_variable)
.b
--
pcarlini at suse dot de changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de
|dot org |
--- Comment #4 from manu at gcc dot gnu dot org 2007-11-09 02:09 ---
(In reply to comment #3)
> Anyone know where in the preprocessor this should be done? I.e. which
> function
> in libcpp?
>
> If someone would let me know, I'll write a patch.
>
This is the patch I was playing with
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirm
101 - 110 of 110 matches
Mail list logo